Hi Richard,
I hope this approach works for you.
Best of the Day,
Hi Richard,
I hope this approach works for you.
Best of the Day,
Last edited by paul borgmeier; - 12th February 2008 at 17:50. Reason: grammar
Paul Borgmeier
Salt Lake City, UT
USA
__________________
I ended up using SER2 for the 7,N,1 Stuff then
using HSER for the 8,N,1 Stuff.
Check the Dip switch, Configure TXSTA, RCSTA, SPBRG to the values needed or Zero if not needed. This worked great and allowed me to still use the modifiers like in SER2.
Thanks for the ideas.
Richard
Would it be possible to use the pic's hardware USART set at 9600,8,N,1 and receive and transmit data to the 7,N,1 device by simply massaging the bits some.
When I receive the bytes, I would shift them to the left once and store just the 7 bit value as a byte.
Before sending the bytes from the array, then make sure the 8th bit is a 1. Wouldn't the 7,N,1 system see this as 7 data bits and two stop bits?
Bookmarks