My application requires use of the hardware usart ports for background serial comms.
Problem is I need 9600,8,N,1 for Tx and 9600,8,E,1 for Rx
So need 9 bit mode for RX and 8 bit mode for TX.
I was going to use Hserout but note the defines affect both Hserin & Hserout
Any ideas?
Can I poke the RCSTA & TXSTA registers just before I use Hserin or Hserout to change
from 8bit to 9 bit mode etc without corrupting anything Hserin/Hserout wants to do?
I can't use Serin2 as i have some interupts going on which interfere with the Serin2 operation.
Bookmarks