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

Pic16F688 HW UART bit=7 question

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



Joined: 07 Nov 2003
Posts: 5

View user's profile Send private message

Pic16F688 HW UART bit=7 question
PostPosted: Wed Sep 12, 2007 3:26 pm     Reply with quote

WHen i use the following directive, rs232 reads work fine:
#use rs232(baud=1200,parity=O,xmit=PIN_C4,rcv=PIN_C5,bits=7,stream=RT,FORCE_SW,ERRORS)

When i remove the FORCE_SW,
#use rs232(baud=1200,parity=O,xmit=PIN_C4,rcv=PIN_C5,bits=7,stream=RT,ERRORS)
or
#use rs232(baud=1200,parity=O,xmit=PIN_C4,rcv=PIN_C5,bits=7,stream=RT,DISABLE_INTS)
or
#use rs232(baud=1200,parity=O,xmit=PIN_C4,rcv=PIN_C5,bits=7,stream=RT,DISABLE_INTS,ERRORS)


trying to use the HW uart, no interrupts, it no longer works. The only thing i could think of was the HW uart does not support the bits=7. Any thoughts?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Sep 12, 2007 3:47 pm     Reply with quote

See Ttelmah's post in the middle of this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=31506
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