1.2.1 Transmitted Data May Become Corrupted in Synchronous Transmit Mode
In Synchronous Transmit mode, data may be corrupted if using the TXxIF bit to determine when to load the TXREGx register. One or more of the intended transmit messages may be incorrect.
Work around
A fixed delay added before loading TXREGx may not be a reliable work around. When
loading TXREGx, check that the TRMT bit in the TXSTAx register is set instead of
checking the TXxIF bit. The following code can be
used:
while(!TXSTAxbits.TRMT); // wait to load TXREGx until TRMT is set
Affected Silicon Revisions
| A2 | A3 | A4 | A6 | A7 | |||
| X |
