Search found 13 matches
- Mon Feb 12, 2024 1:21 pm
- Forum: Bug Reports
- Topic: Timer problems PIC18LF14K50
- Replies: 11
- Views: 563
Re: Timer problems PIC18LF14K50
Hi. I have also used the T0CKI feature on other chips Both using C code and FC interrupt with success. This chip doesn´t seem to be as easy as the other though and perhaps it has something to do with its limited program memory and RAM? Because as soon as I add USB serial component to the chart all t...
- Fri Feb 09, 2024 8:39 am
- Forum: Bug Reports
- Topic: Timer problems PIC18LF14K50
- Replies: 11
- Views: 563
Re: Timer problems PIC18LF14K50
Hi again.
Thank you so very much for getting involved
I´ll try to get this tried during today, but probably in the weekend cause time´s a bit short today.
Regards
Nick
Thank you so very much for getting involved
I´ll try to get this tried during today, but probably in the weekend cause time´s a bit short today.
Regards
Nick
- Fri Feb 09, 2024 7:39 am
- Forum: Bug Reports
- Topic: Timer problems PIC18LF14K50
- Replies: 11
- Views: 563
Re: Timer problems PIC18LF14K50
Hi chipfryer27. There are no such thing as a bad question I believe :-) Unfortunately I need to use the prescaler in Timer0, as the freq of the input signal otherwise most likely will overflow the MCU or at least make all other operations stall. As for using a different pin, it would mean ripping up...
- Thu Feb 08, 2024 4:34 pm
- Forum: Bug Reports
- Topic: Timer problems PIC18LF14K50
- Replies: 11
- Views: 563
Re: Timer problems PIC18LF14K50
Hi Steve.
Hardware is working when I set RC5 as an input, as for the other suggestions, no luck unfortunately.
Hardware is working when I set RC5 as an input, as for the other suggestions, no luck unfortunately.
- Thu Feb 08, 2024 3:50 pm
- Forum: Bug Reports
- Topic: Timer problems PIC18LF14K50
- Replies: 11
- Views: 563
Re: Timer problems PIC18LF14K50
Hi Steve.
Thanks for the quick reply.
Here is an example were timer0 is set up as a timer and working perfectly.
If I instead set it as counter(signal from RC5) nothing happens.
I will try to replicate the other timer issues later on, when this counter issue is solved.
Best regards.
Nick
Thanks for the quick reply.
Here is an example were timer0 is set up as a timer and working perfectly.
If I instead set it as counter(signal from RC5) nothing happens.
I will try to replicate the other timer issues later on, when this counter issue is solved.
Best regards.
Nick
- Thu Feb 08, 2024 11:44 am
- Forum: Bug Reports
- Topic: Timer problems PIC18LF14K50
- Replies: 11
- Views: 563
Timer problems PIC18LF14K50
Hi all. Chip: PIC18LF14K50 I have confirmed the chip speed settings and I/O functions, and they work OK. USB serial also works after putting an external pull up on D+ pin. So my problems with this chip continues with its timers. This chip has 4 timers(0-3) and if I start a new project and test these...
- Thu Jan 25, 2024 12:28 pm
- Forum: Bug Reports
- Topic: USB serial(PIC18LF14K50) not working.
- Replies: 11
- Views: 1589
Re: USB serial(PIC18LF14K50) not working.
Hi Steve. The info about the high speed USB did the trick, but I had to put an external 1k5(as mentioned in the datasheet) pullup on D+ to make it work properly and for the MCU to be identified as an high speed device. As for the osccon settings, there are still one choice, bit 8-11 that has a choic...
- Wed Jan 24, 2024 2:14 pm
- Forum: Bug Reports
- Topic: USB serial(PIC18LF14K50) not working.
- Replies: 11
- Views: 1589
Re: USB serial(PIC18LF14K50) not working.
Hi Steve.
Thanks a lot for looking into this.
MCU running @48MHz
12Mhz crystal on PCB.
Attached the file.
Regards
Nick
Thanks a lot for looking into this.
MCU running @48MHz
12Mhz crystal on PCB.
Attached the file.
Regards
Nick
- Wed Jan 24, 2024 12:33 pm
- Forum: Bug Reports
- Topic: USB serial(PIC18LF14K50) not working.
- Replies: 11
- Views: 1589
Re: USB serial(PIC18LF14K50) not working.
Hi steve.
Yes I have, with a period time of 100ms(2x 50ms) I get a freq of 9.9785Hz(measure by oscilloscope) but I´m not sure about the accuracy of rest of the configuration settings regarding the oscillator and so on.
Yes I have, with a period time of 100ms(2x 50ms) I get a freq of 9.9785Hz(measure by oscilloscope) but I´m not sure about the accuracy of rest of the configuration settings regarding the oscillator and so on.
- Wed Jan 24, 2024 11:07 am
- Forum: Bug Reports
- Topic: USB serial(PIC18LF14K50) not working.
- Replies: 11
- Views: 1589
Re: USB serial(PIC18LF14K50) not working.
Hi again. After som more testing and reading the datasheet I can tell that the configuration setting for PIC18LF14K50 are being set improperly by FC10. For example: Line 3 in the configure screen says: HS-PLL enabled freq=4XFosc1 That is not correct, as it results in: External RC oscillator, CLKOUT ...