can someone help me please, i am wanting to setup a pic16f88 to use the internal clock but not sure on what settings to use.
#### i am working away from home next week so won't be able to replay/ try until next weekend ####
Steve
advise re config setting please
Moderator: Benj
-
- 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: advise re config setting please
Hi Steve,
Internal oscillator has 8 user selectable frequencies: 31 kHz,
125 kHz, 250 kHz, 500 kHz, 1 MHz, 2 MHz,
4 MHz, 8 MHz
Which one would you like to use, then we can help you further.
Martin
Internal oscillator has 8 user selectable frequencies: 31 kHz,
125 kHz, 250 kHz, 500 kHz, 1 MHz, 2 MHz,
4 MHz, 8 MHz
Which one would you like to use, then we can help you further.
Martin
Martin
- Steve001
- Valued Contributor
- Posts: 1189
- Joined: Wed Dec 31, 2008 3:37 pm
- Has thanked: 460 times
- Been thanked: 523 times
- Contact:
Re: advise re config setting please
i am looking into making a volt / ammeter project with a lcd dispaly so maybe looking at a clock speed of 2MHz maybe 4Mhz
steve
steve
- Attachments
-
- Capture2.JPG (102.69 KiB) Viewed 3943 times
Success always occurs in private and failure in full view.
-
- 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: advise re config setting please
Hi Steve,
I have set attached flowchart to run with internal osc at 4MHz.
Its easy to change to 2MHz sice you un-comment osccon=0x50;//2MHz setting
So for 2MHZ:
osccon=0x50;
For 4MHz:
osccon=0x60;
Martin
I have set attached flowchart to run with internal osc at 4MHz.
Its easy to change to 2MHz sice you un-comment osccon=0x50;//2MHz setting
So for 2MHZ:
osccon=0x50;
For 4MHz:
osccon=0x60;
Martin
- Attachments
-
- Flowcode 4MHz setting .fcf
- (3.5 KiB) Downloaded 260 times
Martin
- Steve001
- Valued Contributor
- Posts: 1189
- Joined: Wed Dec 31, 2008 3:37 pm
- Has thanked: 460 times
- Been thanked: 523 times
- Contact:
Re: advise re config setting please
Thanks for that will have a go and see how i get on
steve
steve
Success always occurs in private and failure in full view.