I worry that it may bump back to software handled uart when it sees the invert.
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
Using INVERT on hardware UART
Posted: Sat Jul 03, 2004 12:25 pm
You cannot use INVERT with the hardware. You must use external inversion of some sort . If you reverse the normal XMIT and RECV pin designations I think it will generate a SW UART and not enable the HW one.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sat Jul 03, 2004 12:37 pm
Quote:
If you reverse the normal XMIT and RECV pin designations I think
it will generate a SW UART and not enable the HW one.
Another way to get a soft USART on the hardware pins is to break
up the #use rs232() declaration into two statements. Then you don't
have to reverse the pins. See this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=17803
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