CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Crystal series resistor value when using PLL

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
newguy



Joined: 24 Jun 2004
Posts: 1903

View user's profile Send private message

Crystal series resistor value when using PLL
PostPosted: Wed Aug 30, 2006 9:01 am     Reply with quote

A question to those of you who have used the PLL on the 18F PICs. I've never used the PLL before, but I'm pretty much being forced to because of a very "tempermental" peripheral. The PIC communicates with this peripheral via standard serial link @ 115.2 kpbs. The peripheral can't handle any baud error at all from the nominal 115.2 kbps. It looks like I'm going to use a 7.3728 MHz ECS crystal with a 18F2680, and use the x4 PLL to bump the frequency up to 29.4912 MHz. This frequency is exactly 256 x 115.2 kbps, which means that it's as accurate as I can get it.

The PIC's datasheet suggests that I'll need a resistor in series with the crystal, and that a good starting point is 330 ohms. For those of you that have used the PLL, is this resistance value okay? I'd like something a little more concrete than "a good starting point." The issue for me is that I won't be able to breadboard this - it's straight to a PCB, and I won't be able to easily swap out surface mount resistors. I'd like to have something that works from the outset.
Ttelmah
Guest







PostPosted: Wed Aug 30, 2006 9:43 am     Reply with quote

The 'answer', is totally dependant on your crystal. The PLL, is not as fussy as it originally was. On early chips, it was very prone to problems if overdriven, while latter chips have tended to be much better in this regard. You need to get an specfication for the crystal you intend to use. Microchip, have a Spice model for the internal oscillator, which they will send you if asked, and you can then model the oscillator system, and have a good chance of getting it right.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group