Application Note
14 of 19
002-27376 Rev. *A
2021-06-15
Getting Started with CXPI Transceiver S6BT112A
Software configuration
On the other hand, the MCU side compares the transmission byte (TXD) and the reception byte (RXD). If they do
not match, it means that the node lost the arbitration, and the MCU stops transmission of the remaining frame
data. The next PID transmission is delayed until IFS is detected. (Refer to JASO D015-3 for detail)
shows an example of MCU arbitration function processing.
As described in the S6BT112A datasheet, S6BT112A has transmission / reception delay. To implement the
arbitration function correctly, ensure that you implement the following two functions on the MCU side:
1.
Check whether UART reception is in progress before transmission.
2.
Verify the transmitted data and received data after the transmission.
There are two ways to check whether UART reception is in progress.
1.
Use the MCU
’
s UART peripheral status function.
2.
Use the MCU
’
s GPIO interrupt function.
Select the method according to the MCU to be used. When using Method 2, ensure that the MCU is fully meets
the requirements, taking the noise into account.
Figure 12
MCU arbitration function processing example