PIC OSCILLATOR EXAMPLES PLEASE

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
boa279
Posts: 38
Joined: Mon Sep 15, 2008 11:47 pm

PIC OSCILLATOR EXAMPLES PLEASE

Post by boa279 »

I know this is probably the basic of the basics but I think this would help out more than just myself. Ive attached a simple flashing led flowcode. Can someone please edit the oscillator for RC, XTAL and internal AND post a schematic of the connections required to get it to work in all configurations? I basically want to see what the settings for each look like for this flowcode file and exactly how they are connected on a PCB...that way when I etch a board out I'm not disappointed when they don't work. THANKS!!
Attachments
testled.fcf
(3.5 KiB) Downloaded 340 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: PIC OSCILLATOR EXAMPLES PLEASE

Post by Benj »

Hello

If you look in the PICmicro device datasheet then you will find the explaination of the oscillator settings and also the associated circuitry. In the 16F88 datasheet this is labelled as Section 4 - Oscillator Configurations and starts at page 37.

When using the internal oscillator you do not need to connect any thing to the OSC pins.

Post Reply