Agreed that is a good idea. can you post your code example when tested.
I'll do the same If i get round to it first
OK so assuming i set up HSERIN/OUT for 9 bit even parity
I do my 9 bit recieve then just before I want to do my 8bit transmit i clear the TXSTA TX9 flag
Just a thought though if we clear the TXSTA TX9 flag just before we do the HSEROUt won't it just overwrite it immediately?
Is the TXSTA only loaded once during program execution when the define is executed? I appreciate the parity bit is changed to suit.
Or am I confused.
Bookmarks