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

Effect on Baud with clock speeds

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







Effect on Baud with clock speeds
PostPosted: Wed Oct 22, 2008 10:02 am     Reply with quote

hi,

I am trying to connect two processors via hardware UART, but they are working at different clock speeds, one is a DSP controller working at 150Mhz and the other is 18F pic working at 40Mhz. But both of them have their baud rates set to 9600 baud.

Will this work?

Thanks

Dave
Rohit de Sa



Joined: 09 Nov 2007
Posts: 282
Location: India

View user's profile Send private message Visit poster's website

PostPosted: Wed Oct 22, 2008 10:49 am     Reply with quote

Yes it will work. As long as your DSP allows you to set the baud rate to 9600bps (which in all likelihood, it will), it should work without problems.

If you use UART hardware, a certain clock speed can support a minimum and a maximum baud rate. Going below or above these limits is not possible. Using software you can go below the minimum specified (typically using software delays).

Rohit
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