Search found 288 matches

by Lord Grezington
Wed Jun 10, 2020 8:55 am
Forum: Flowcode V8
Topic: PIC18F47Q10 ADC not working
Replies: 43
Views: 24511

Re: PIC18F47Q10 ADC not working

Hi Ben

If you send a program I will be happy to test and report my results.

The program I am using to test is attached.

Graham
by Lord Grezington
Tue Jun 09, 2020 4:20 pm
Forum: Flowcode V8
Topic: PIC18F47Q10 ADC not working
Replies: 43
Views: 24511

Re: PIC18F47Q10 ADC not working

Hi Ben

I have just ran this on hardware, I have tried using multiple PWM channels and timers. Unfortunatly it still does not seem to work.

I ran the updates and restarted.
The PWM works in simulation

Thanks
by Lord Grezington
Mon Jun 08, 2020 2:27 pm
Forum: Flowcode V8
Topic: PIC18F47Q10 ADC not working
Replies: 43
Views: 24511

Re: PIC18F47Q10 ADC not working

Hi ben

Sorry to bump, but I have new hardware coming in this week for this and I really need the PWM and ADC's working. Have you managed to find time to make any progress?

Thanks
Graham
by Lord Grezington
Tue Jun 02, 2020 5:11 pm
Forum: General Programming
Topic: SSD1322
Replies: 15
Views: 7166

Re: SSD1322

Hi Leigh

The datasheet does say to take it low, however taking it high did work :idea: perhaps I am just miss reading it... But it does now work
OLED Schematic.png
(283.94 KiB) Downloaded 57 times
Thanks
by Lord Grezington
Tue Jun 02, 2020 5:04 pm
Forum: Flowcode V8
Topic: PIC18F47Q10 ADC not working
Replies: 43
Views: 24511

Re: PIC18F47Q10 ADC not working

Hi Ben OK, so if I have a basic program and test with a blinker program (just for sanity check): If I had a PWM macro on channel 1, enable it then add a loop with setting the duty cycle to 100 - Nothing happens If I add a timer interrupt on timer 2 with the HFINTOSC source, 1/128 prescaler, 1-16 pos...
by Lord Grezington
Tue Jun 02, 2020 3:34 pm
Forum: General Programming
Topic: SSD1322
Replies: 15
Views: 7166

Re: SSD1322

Hi Ben The PIC no longer locks up :D However Im not getting anything on the display. I have simplified the program to just have the OLED and attached it. The blinker on there is just a verification that the program is running. I have tried swapping the address. I have also attached the schematic for...
by Lord Grezington
Tue Jun 02, 2020 11:20 am
Forum: General Programming
Topic: Gyro_L3GD20
Replies: 11
Views: 7192

Re: Gyro_L3GD20

Thanks Ben, again I will update and give it a go
by Lord Grezington
Tue Jun 02, 2020 11:19 am
Forum: Flowcode V8
Topic: PIC18F47Q10 ADC not working
Replies: 43
Views: 24511

Re: PIC18F47Q10 ADC not working

Thanks Ben, I will update and give it a go
by Lord Grezington
Tue Jun 02, 2020 10:13 am
Forum: Flowcode V8
Topic: PIC18F47Q10 ADC not working
Replies: 43
Views: 24511

Re: PIC18F47Q10 ADC not working

Thanks Steve
by Lord Grezington
Mon Jun 01, 2020 9:41 am
Forum: Freelance Embedded Engineers
Topic: SST39SF010A programming
Replies: 2
Views: 6322

SST39SF010A programming

Hello I need someone who can write the flowcode program to write and read variables into the SST39SF010A. It needs to be proven to work on hardware, I am happy to send some devices to you if you cant sourse them. Project is urgent, so a fast turn around time would be required. Please send me a PM wi...
by Lord Grezington
Thu May 28, 2020 4:19 pm
Forum: General Programming
Topic: Gyro_L3GD20
Replies: 11
Views: 7192

Gyro_L3GD20

Hi Everyone I am trying to use the Gyro L3GD20 in SPI mode, but it seems I cant re-map the pins even if I try software channel. If I use a standard SPI master it allows me to re-map the pins. I am using the 18F24Q10 Thanks Note - I also seem to be having problems compiling when the gyro is added to ...
by Lord Grezington
Thu May 28, 2020 4:01 pm
Forum: General Programming
Topic: SSD1322
Replies: 15
Views: 7166

Re: SSD1322

Thanks Martin

I will check this when my correct cables come in.
by Lord Grezington
Thu May 28, 2020 2:10 pm
Forum: Flowcode V8
Topic: PIC18F47Q10 ADC not working
Replies: 43
Views: 24511

Re: PIC18F47Q10 ADC not working

Hi Ben I have the same problem with the 18F24Q10. I have got 5 ADC's (AN0,4,5,7 & 18) that dont seem to be working (but work fine in simulation). Is it possible for you to send an update for the Q10 parts so all the additional C-code is not needed? Thanks EDIT - additional note. When testing the PWM...
by Lord Grezington
Thu May 28, 2020 12:53 pm
Forum: General Programming
Topic: SSD1322
Replies: 15
Views: 7166

Re: SSD1322

Hi Martin With the SSD1306, it compiles fine with no warnings. However, when I put it into hardware I start getting issues... As soon as I initialise the SSD1306, the program no longer works. I have just used a simple blinker program to test, I am running on the HFINTOSC HFFRQ = 64Mhz. I have attach...
by Lord Grezington
Tue May 12, 2020 3:11 pm
Forum: General Programming
Topic: SSD1322
Replies: 15
Views: 7166

Re: SSD1322

No need, thank you very much Martin!!!

I made an amature mistake by having a I2C component as well as the LCD, and now compiles.
by Lord Grezington
Tue May 12, 2020 12:58 pm
Forum: General Programming
Topic: SSD1322
Replies: 15
Views: 7166

Re: SSD1322

Hi Martin Thanks for this. Yes, it compiles fine with the 27K40. I will need to do some mods to the hardware as I had a pcb made... I have a similar problem on another project where I am looking to use the SSD1306 i2c component with the 18F24Q10. When I use the 25Q10 or even the 26Q10 I still get co...
by Lord Grezington
Tue May 05, 2020 4:42 pm
Forum: General Programming
Topic: SSD1322
Replies: 15
Views: 7166

Re: SSD1322

Hi Ben I went with the EA DOGM128B-6 using the ST7565R, however I am getting compiler errors when I attempt tp initialise. using updated 32-bit floating-point libraries; improved accuracy might increase code size Panel Test.c: 835: (1250) could not find space (128 bytes) for variable _FCV_0b3a1_gLCD...
by Lord Grezington
Tue Apr 21, 2020 11:12 am
Forum: General Programming
Topic: SSD1322
Replies: 15
Views: 7166

Re: SSD1322

Thanks Ben

But I dont really like the idea of using up the RAM and parallel consumes all my pins. I have decided to go with the EA DOGM128B-6 using the ST7565R with th SPI.

Thanks
by Lord Grezington
Tue Apr 21, 2020 9:24 am
Forum: General Programming
Topic: SSD1322
Replies: 15
Views: 7166

SSD1322

I apologise if this is a repeated post, however I was sure I posted it yesterday but it seems to have disappeared... ( :? perhaps forgot to press the button?) Anyway, I have attached a datasheet for a display I am looking to use in a project. Thing is using parallel is pin hungry. Can this one be us...
by Lord Grezington
Mon Mar 23, 2020 4:33 pm
Forum: General Programming
Topic: Parallel Flash
Replies: 5
Views: 3459

Re: Parallel Flash

No success so far... I have ordered BL0032 and along with the Test and debug licence.
by Lord Grezington
Thu Mar 19, 2020 6:31 pm
Forum: General Programming
Topic: Parallel Flash
Replies: 5
Views: 3459

Re: Parallel Flash

Hi Ben Done some quiick test, I have got the sector erase to work OK, but I am not sure Programming is working as it needs to as I am just getting a voltage spike up to 5V every 10ms (from the read loop) with no data. I will see if I can slow the program down and perhaps go through it step by step i...
by Lord Grezington
Thu Mar 19, 2020 3:08 pm
Forum: General Programming
Topic: Parallel Flash
Replies: 5
Views: 3459

Re: Parallel Flash

Hi Ben Thanks for this, so far it looks good. But I have not had the chance to test it on hardware yet. I should be able to get onto it this afternoon. Yes, this whole project is extremly pin hungry. I have 4 of these memory IC's on my testboard (I am hoping to drop down to a smaller version later o...
by Lord Grezington
Wed Mar 18, 2020 5:52 pm
Forum: General Programming
Topic: Parallel Flash
Replies: 5
Views: 3459

Parallel Flash

Hi Guys I am having some problems with trying to program parallel flash, I have attached my program I essintailly pulled from the microchip websiste for a very similair IC http://ww1.microchip.com/downloads/en/DeviceDoc/SST39VF010.cpp )/ I have noted that this code though does not mention anything d...
by Lord Grezington
Mon Mar 09, 2020 6:36 pm
Forum: General Programming
Topic: High resolution encoder and UART
Replies: 3
Views: 2826

Re: High resolution encoder and UART

Hi Ben Thanks for this I have briefly read the details on the cirular buffer tha was recently posted. This all seems OK. But my worry is with regards to receiving and sending the UART data. Will the encoder interepts not cause the timing to be out on the UART? Will both the recieve and send data not...
by Lord Grezington
Mon Mar 09, 2020 2:49 pm
Forum: General Programming
Topic: High resolution encoder and UART
Replies: 3
Views: 2826

High resolution encoder and UART

Quick Questions If I am looking to use a high speed/high resolution dual channel quadrature encoder, (say 1024ppr), this will give me 1024x2x2 = 4096cpr. I am looking to run say a max speed of 10K RPM so I will be getting an interupt every 1.5us (approx). I will be looking to run the interput to tri...