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

How does software Uart work?

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



Joined: 03 Dec 2008
Posts: 45

View user's profile Send private message

How does software Uart work?
PostPosted: Wed Feb 10, 2010 11:41 am     Reply with quote

I use pic16f876 for Uart communication

#use rs232(baud=9600, xmit=PIN_X, rcv=PIN_Y,stream1)

we can put any pin_# there if i didn't misunderstand. such as pin_b1 and pin_b2 ext.. other than the pin_c7 and pin_c6 as software uart tx and rx. am i right?

My question is who knows how does it work?

1. Does the compiler have to configured related registers like TXSTA and RCSTA and SPBRG? or it just made some code simulate the hardware actions.

2. I have a software uart. it works not properly when I enabled any interrupt serve program.

any response i am appreciate here in advance.

Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Feb 10, 2010 12:16 pm     Reply with quote

See this post about the CCS software UART:
http://www.ccsinfo.com/forum/viewtopic.php?t=34680&start=1
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