Search found 75 matches
- Wed Apr 20, 2022 4:07 pm
- Forum: Bug reports
- Topic: I2C PIC18F47K40
- Replies: 2
- Views: 6564
Re: I2C PIC18F47K40
Many thanks Martin I will give it a try.
- Sat Apr 16, 2022 8:13 am
- Forum: Bug reports
- Topic: I2C PIC18F47K40
- Replies: 2
- Views: 6564
I2C PIC18F47K40
Morning all Needing a larger memory, I have upgraded to a PIC18F47K40 device and found that the I2C is not working as it had done before. The program stops when it encounters a I2C command when using hardware channel 2 (SCL at D:0 and SDA at D:1). The device works correctly when using the software c...
- Mon Jun 01, 2020 4:47 pm
- Forum: Bug reports
- Topic: PWM PIC18F47K40
- Replies: 21
- Views: 9504
Re: PWM PIC18F47K40
Hi Brian
I have no idea if this is relevant but I noticed that the watchdog is on. Also could you try TMR2 and TMR4 with the PWM disabled. Set each timer to interrupt at a defined frequency and test on a pin that the frequency is correct.
Howard
I have no idea if this is relevant but I noticed that the watchdog is on. Also could you try TMR2 and TMR4 with the PWM disabled. Set each timer to interrupt at a defined frequency and test on a pin that the frequency is correct.
Howard
- Sun May 03, 2020 2:29 pm
- Forum: Bug reports
- Topic: Timer setting issue
- Replies: 0
- Views: 6263
Timer setting issue
Hello On my hardware PIC18F46K22, timer 1 and timer 3 do not produce the same results when clocked from the internal clock source. Timer one makes identical frequencies for both the Fosc and the Fosc/4 settings. Timer 3 however correctly makes different frequencies for these two settings. I have not...
- Mon Apr 06, 2020 3:45 pm
- Forum: Flowcode V7
- Topic: Counter not working in 16 bit
- Replies: 6
- Views: 3499
Re: Counter not working in 16 bit
Hmmm yes X<<8 worked and X*256 does not work.
Thanks a lot Martin I would have never got this on my own.
Thanks a lot Martin I would have never got this on my own.
- Mon Apr 06, 2020 9:19 am
- Forum: Flowcode V7
- Topic: Counter not working in 16 bit
- Replies: 6
- Views: 3499
Re: Counter not working in 16 bit
Thank you very much Ben and Martin
I will give this a go and let you know.
cheers Howard
I will give this a go and let you know.
cheers Howard
- Sun Apr 05, 2020 10:16 am
- Forum: Flowcode V7
- Topic: Counter not working in 16 bit
- Replies: 6
- Views: 3499
Counter not working in 16 bit
Hello all I am not able to get my T0 counter to work in 16 bit mode, using an external pin. It does count 8 bit values without a problem but for anything higher it returns unexpected numbers. At times it seems as if TMR0H=0; is being ignored in the PulseCounter macro. I have implemented the TMR0L an...
- Tue Mar 31, 2020 11:51 am
- Forum: Flowcode V7
- Topic: ASCII parse problem
- Replies: 2
- Views: 2000
Re: ASCII parse problem
Thanks Leigh that has worked.
Best health wishes to you all.
Best health wishes to you all.
- Mon Mar 30, 2020 12:04 pm
- Forum: Flowcode V7
- Topic: ASCII parse problem
- Replies: 2
- Views: 2000
ASCII parse problem
Hello all, I am trying to parse a certain range of ASCII values bounded at decimals 48 and 122. The input is “+++abcde}}}” and I would expect to get “abcde” but I instead get “abcde67891234567..”. Notice that StringCellNumber=”” is after StringCellNumber=123456789123456789. Notice also that the numb...
- Wed Apr 25, 2018 4:42 pm
- Forum: Bug reports
- Topic: PIC18F26K80 I2C read problem
- Replies: 4
- Views: 7647
Re: PIC18F26K80 I2C read problem
Hi
I believe you have to have a delay between writing to the ADC and reading from it.
Not positive on that exact chip, but the delay will be related to the resolution you require.
Howard
I believe you have to have a delay between writing to the ADC and reading from it.
Not positive on that exact chip, but the delay will be related to the resolution you require.
Howard
- Sat Mar 31, 2018 1:01 pm
- Forum: Bug reports
- Topic: UART not working after latest patch
- Replies: 2
- Views: 2929
Re: UART not working after latest patch
Hi Ben Thanks I have followed your instructions and it has worked. On both projects UART1 and UART2 are being used and as best I can tell,on both, UART1 had been assigned to UART 2 and UART2 was not working. On the Properties I swopped channel number 1&2 and then swopped them back again and it subse...
- Sat Mar 24, 2018 2:01 pm
- Forum: Bug reports
- Topic: UART not working after latest patch
- Replies: 2
- Views: 2929
UART not working after latest patch
Hello I have just installed the patch dated January 2018 and am now having problems with the RS232 UART not working at all. This has happened on two non-identical boards, one with a 18F45K22 and the other with a 18F46K22. These had both worked before I installed the patch. Unfortunately I have not k...
- Sat Jan 20, 2018 9:46 am
- Forum: Feature requests
- Topic: User interface ideas
- Replies: 6
- Views: 7804
Re: User interface ideas
Hi. Reporting of bugs and status thereof. Bug reporting from the help tab is a useful idea for a fast entry but there is no feedback to the user on the status. How about all bug reports, including those entered on the forum, be given a ticket number. In the case of those entered from the help tab, a...
- Fri Jan 19, 2018 11:01 am
- Forum: Bug reports
- Topic: Erratic timer operation
- Replies: 3
- Views: 3212
Re: Erratic timer operation
Hi Ben The code in main is mostly illustrative and not necessarily needed. I have subsequently made a main loop counter to derive time for this application and that is working fine so timers are no longer required. On my hardware, the output within the IRS (B2) is erratic and is related in some way ...
- Mon Jan 15, 2018 11:32 am
- Forum: Bug reports
- Topic: Erratic timer operation
- Replies: 3
- Views: 3212
Erratic timer operation
Hello all I am having a problem with the timers on a PIC16F18854 in that there is an irregular behavior in the servicing of the associated ISR. This manifests as the ISR running sometimes as normal, sometimes as irregular and sometimes as not running at all. When it does run, the ISR is at the corre...
- Fri Jan 12, 2018 2:04 pm
- Forum: Bug reports
- Topic: Timer not working
- Replies: 4
- Views: 3384
Re: Timer not working
Hi Ben It may be of use to you to know that I have duplicated this problem on a different chip type from the same family. In this example I have enabled each timer, TMR1 TMR3 TMR5, one at a time to deliver about 30Hz. These are the results.. TMR1 correctly flashes the attached LED at 1Hz TMR3 does n...
- Sat Jan 06, 2018 4:27 pm
- Forum: Bug reports
- Topic: FAT component timing
- Replies: 1
- Views: 1639
Re: FAT component timing
Hi
I have changed the SD card to a 80Mb/s type and all is now ok. Changing the frequency now changes the write speed, which gets down to an acceptable 15mS period.
Howard
I have changed the SD card to a 80Mb/s type and all is now ok. Changing the frequency now changes the write speed, which gets down to an acceptable 15mS period.
Howard
- Wed Jan 03, 2018 5:57 pm
- Forum: Bug reports
- Topic: Timer not working
- Replies: 4
- Views: 3384
Re: Timer not working
Hi Ben
Here is that code
thanks
Howard
Here is that code
thanks
Howard
- Sun Dec 31, 2017 1:13 pm
- Forum: Bug reports
- Topic: Timer not working
- Replies: 4
- Views: 3384
Timer not working
Hello all
The TMR3 on my PIC device does not work when used as a timer. Reassigning to identical TMR1 or TMR5 does however work.
Great new year everyone.
Howard
PIC18F45K22
FC 7.3.0.5
The TMR3 on my PIC device does not work when used as a timer. Reassigning to identical TMR1 or TMR5 does however work.
Great new year everyone.
Howard
PIC18F45K22
FC 7.3.0.5
- Fri Dec 22, 2017 12:42 pm
- Forum: Bug reports
- Topic: FAT component timing
- Replies: 1
- Views: 1639
FAT component timing
Hello all I have noticed on my hardware that changing the SD card HighSpeed Pre-scale value has little effect on the time it takes the thing to execute. Measurements that I have obtained are Fosc/4 : 305mS, Fosc/16 : 304mS, Fosc/64 : 306mS. My Oscillator is running at 32MHz and the string I am sendi...
- Sun Dec 17, 2017 8:10 am
- Forum: Feature requests
- Topic: User interface ideas
- Replies: 6
- Views: 7804
Re: User interface ideas
Hi
Variable case sensitivity for instance finds. A variable is case insensitive whereas an instance find is case sensitive. A variable defined as TestOne is allowed to be written as Testone however the instance find only then finds TestOne occurrences.
Variable case sensitivity for instance finds. A variable is case insensitive whereas an instance find is case sensitive. A variable defined as TestOne is allowed to be written as Testone however the instance find only then finds TestOne occurrences.
- Wed Nov 22, 2017 9:10 am
- Forum: Bug reports
- Topic: UART receive problem
- Replies: 3
- Views: 3282
Re: UART receive problem
Turns out this was a bad solder joint on the SMD receive pin of my device. Sometimes when it made a contact it would work well and when open would cause a timeout (255)
Sorry if I misled anyone
Howard
Sorry if I misled anyone
Howard
- Sat Nov 18, 2017 1:33 pm
- Forum: Bug reports
- Topic: UART receive problem
- Replies: 3
- Views: 3282
Re: UART receive problem
Hi Thank you for your interest in this. I have attached a reduced but still UART 2 RS232 dis-functioning version of the project. I have made a Labview simulation of the instrument and so the timing is not as previously described. To compensate, I have set the UART timeout to 50ms for this test. The ...
- Fri Nov 17, 2017 1:06 pm
- Forum: Bug reports
- Topic: UART receive problem
- Replies: 3
- Views: 3282
UART receive problem
Hello all I am having a problem with a serial receive that I hope you could help me with. I send a number to an instrument and receive data from it using channel 2 UART on a 18F46K22 using 9600 baud. One character is sent and one is received. Most often the return character is incorrect with a value...
- Sat Oct 28, 2017 12:23 pm
- Forum: 8-Bit PIC
- Topic: PLL not working
- Replies: 2
- Views: 2990
Re: PLL not working
Hi
This has worked perfectly.
Thank you for your kindness.
regards
Howard
This has worked perfectly.
Thank you for your kindness.
regards
Howard