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

12c509 uart baudrate 115k...need some magic :)

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







12c509 uart baudrate 115k...need some magic :)
PostPosted: Mon Jan 05, 2004 6:52 am     Reply with quote

hi,

I know with 12c509 @4Mhz not possible but I had
seen 12c509 working at that speed.
There is some trick to push 12c509 to 115 baudrate?

thanks in advance
Invisible
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Jan 05, 2004 12:40 pm     Reply with quote

That chip has no UART. It has to be done in software.
The built-in CCS libraries don't support such a high baudrate.

See this Piclist page, which has links to sample code
for doing high baudrates with a 4 MHz crystal.
The code is in assembly language.
http://www.piclist.com/techref/microchip/rs232.htm
Invisible
Guest







re
PostPosted: Wed Jan 07, 2004 5:26 am     Reply with quote

hi,

thanks for reply, yes, I know software usart is used,
I preffer faster chips but "someone" decided 12c50x without asking R&D.
Thanks for the link, I think I have there the info I needed,

best regards
Invisible
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