PDA

View Full Version : external clock / internal clock



grounded
- 31st May 2008, 13:07
I'm trying to go from using the internal clock to using a external clock
on a 16f676 using MCS/PBP /MPASM not sure what all I need to do

thinking I replace _INTRC_OSC_NOCLKOUT with this _XT_OSC
and do I still need to DEFINE OSC 4
thanks

mackrackit
- 31st May 2008, 13:16
Yep, DEFINE what ever speed the external is running at.

Could be XT or HS.

What are you going to use for the external?

grounded
- 31st May 2008, 14:32
thanks
I'm adding a 4 mhz crystal
I'm trying to do some PIC to PC comm. using DEBUG.
Melanie's Communications Example : PC to PIC bi-directional dialogue
and with the internal I was having the problem she talked about hoping the external will solve it

mackrackit
- 31st May 2008, 15:28
If you are using one with built in capacitors use HS.

grounded
- 31st May 2008, 17:44
thanks again
I used ext caps so I guess that would be XT