thanks for your response. I have read the manual but there is no reference to what I do, instruction or DEFINE DEFINE HSER_EVEN HSER_ODD affect HSERIN, HSEROUT, I do not use these instructions.
I thought that if I make the following I can use another type of parity:
1 .- TXTSTA Registry abilità bit TX9,
2 .- To determine the parity of the character.
3 .- I keep the result in the register TX9D
4 .- I save the data to send in the registration TXREG.
5 .- transfer the information.
for the reception:
1. I read the record RX9D
2 .- log read RXREG
3 .- parity calculation
4 .- compared with the value of RX9D.
5 .- take action.
do you think, is that correct?
Bookmarks