Hi All
1. PIC16LF1902 and PIC16LF1903 Mcu's have a config Internal OSC 16Mhz configuration problem.
When it is set internal OSC and OSC frequency 16 Mhz configuration, MCU' is working very slowy.
2. PIC16LF1902 and PIC16LF1903 Mcu's have TMR Interrupt Problem:
Doesn't worked.
When I writing following to C codes in the program, has worked MCU's.
Could you please fix bugs.
Thank you.
PIC16LF1902 Configuration and TMR Interrupt Problem
Moderator: Benj
- celebriums
- Posts: 125
- Joined: Sun Sep 25, 2016 3:50 pm
- Has thanked: 71 times
- Been thanked: 33 times
- Contact:
PIC16LF1902 Configuration and TMR Interrupt Problem
- Attachments
-
- PIC16LF1902 (has working version).fcfx
- (31.68 KiB) Downloaded 213 times
-
- PIC16LF1902 (has not working version).fcfx
- (30.86 KiB) Downloaded 180 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: PIC16LF1902 Configuration and TMR Interrupt Problem
Hi celebriums ,
The non working version won't run at the correct speed using internal oscillator because you are not using a Ccode block at the very start with
I can see a bug with fcdx file as when using Osccon helper there are no values to select.
Martin
The non working version won't run at the correct speed using internal oscillator because you are not using a Ccode block at the very start with
Code: Select all
OSCCON=0X78;
Martin
Martin
- celebriums
- Posts: 125
- Joined: Sun Sep 25, 2016 3:50 pm
- Has thanked: 71 times
- Been thanked: 33 times
- Contact: