PIC16LF1902 Configuration and TMR Interrupt Problem

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
User avatar
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

Post by celebriums »

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.
Attachments
PIC16LF1902 (has working version).fcfx
(31.68 KiB) Downloaded 213 times
PIC16LF1902 (has not working version).fcfx
(30.86 KiB) Downloaded 180 times
Sincerely Regards
Sadık SUME

www.kaandesign.com.tr

medelec35
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

Post by medelec35 »

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

Code: Select all

OSCCON=0X78; 
I can see a bug with fcdx file as when using Osccon helper there are no values to select.

Martin
Martin

User avatar
celebriums
Posts: 125
Joined: Sun Sep 25, 2016 3:50 pm
Has thanked: 71 times
Been thanked: 33 times
Contact:

Re: PIC16LF1902 Configuration and TMR Interrupt Problem

Post by celebriums »

Thank you for reply Medelec.
Sincerely Regards
Sadık SUME

www.kaandesign.com.tr

Post Reply