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 CCS Technical Support

RS-232 Baud Rate + 32 MHz Frequency Issue

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



Joined: 26 Jun 2007
Posts: 1

View user's profile Send private message Send e-mail

RS-232 Baud Rate + 32 MHz Frequency Issue
PostPosted: Tue Jun 26, 2007 11:21 am     Reply with quote

I'm trying to run a PIC 18F2480 at 32 MHz (8MHz * 4x Multiplier) with a baud rate of 10400. When I try this, I receive only garbage. Is there a certain limitation in the baud rate values I can use when running the PIC at a high frequency?

When I run the PIC at 16 MHz (4MHz * 4X Multiplier), the 10400 baud rate works just fine.

Thanks for the help.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jun 26, 2007 1:23 pm     Reply with quote

The data sheet says the internal oscillator isn't very accurate.
Also, the PLL has a lot of jitter.

Look in Tables 27-7 and 27-8.
Internal oscillator accuracy is +/- 2% at 25 deg. C.
It's +/- 5% over a wider temperature range.
The PLL has +/- 2% jitter.

Do a test. Use the H4 fuse with an 8 MHz crystal (instead of the
internal oscillator). See if your problems go away.
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