RL78/F13, F14 CHAPTER 17 LIN/UART MODULE (RLIN3)
R01UH0368EJ0210 Rev.2.10 1250
Dec 10, 2015
17.6.6 Terminating LIN Self-Test Mode
To terminate LIN self-test mode, perform the procedure below:
ï‚·ï€ Write 0 (LIN reset mode) to the OM0 bit in the LCUCn register.
If the OMM1 and OMM0 bits in the LMSTn register are not 11b, write 11b to the OM1 and OM0 bits in the LCUCn
register. After confirming that the OMM1 and OMM0 bits in the LMSTn register have turned 11b, change to LIN reset
mode.
ï‚·ï€ Verify the cancellation of LIN self-test mode.
Read the LSTM bit in the LSTCn register; confirm that it is not 0 (not in LIN self-test)
ï‚·ï€ Verify the transition to LIN reset mode.
Read the OMM0 bit in the LMSTn register; verify that it is 0 (LIN reset mode).