| Swordfish Code Snippet - Internal Oscillator and PLL |
|
|
| Saturday, 04 April 2009 10:13 | |
![]() Using the internal oscillator that is available on many PIC's decreases the external component count by 3 (removing the crystal and two capacitors). Most 18F PIC's that end with 0 have an internal oscillator, such as the 18F4520, or the 18F2520.
Config OSC setting can vary from PIC to PIC)
Device = 18F4520
Note - You must define the Clock speed to be 32 not 8! This will ensure the compiler generates the right delays for other functions/procedures
|
|
| Last Updated ( Tuesday, 14 April 2009 10:50 ) |
Whos Online
- andyo
- MrDEB
Forum Activity
LCD / 18F1320 - mrdeb Saturday, 20 March 2010 06:21 - [3 replies]
A 'throw-away" PIC board - mrdeb Thursday, 18 March 2010 06:19 - [32 replies]
Credit Where Credit's Due - jon chandler Tuesday, 16 March 2010 12:01 - [9 replies]
Marching LEDs - mrdeb Saturday, 13 March 2010 22:54 - [7 replies]
USB 8 Channel Servo Controller - andyo Saturday, 13 March 2010 01:19 - [2 replies]
Dedicated Servo Controller - graham Friday, 12 March 2010 17:58 - [0 replies]
Must have....delta temperature glowies! - graham Friday, 12 March 2010 17:31 - [3 replies]




Nice. The TAP-28 boards are looking good. When I've had a buzzi...
The author (Hop) suggests to "set the target PIC's configuratio...
Graham, Thanks for fixing the spacing on the array. This is how i...
Thanks Graham, It is a problem with Flowcode because the demo wa...
Looks like you've pretty much solved every minor issue that was enc...
The low-cost servo does have one other feature. The origina...
I am not familiar with flowcode, though did you try powering the bo...
Hello there, I am still trying to get the LCD to work but I am pro...