Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1306 of 1852
Nov 30, 2020
RX23W Group 36. CAN Module (RSCAN)
36.12 Test Settings
36.12.1 Self-Test Mode Setting Procedure
Self-test mode allows communication test on a channel basis by receiving messages transmitted from the own node.
Figure 36.33 shows the self-test mode setting procedure.
Figure 36.33 Self-Test Mode Setting Procedure
Yes
No
Is the STSL.CHLTSTS flag 1
(in channel halt mode)?
Channel halt mode
Start
End
Set the CTRL.CHMDC[1:0] bit to 10b.
Set the CTRH.CTME bit to 1.
Set the CTMS[1:0] bits to 10b or 11b.
Set the CTRL.CHMDC[1:0] bits to 00b.
Are all STSL.CSLPSTS, CHLTSTS, and
CRSTSTS flags 0?
Perform self-test in channel 0.
Set the CTRL.CHMDC[1:0] to 10b.
Is the STSL.CHLTSTS flag 1
(channel halt mode)?
Set the CTRH.CTME bit to 0.
Set the CTMS[1:0] bits to 00b.
Communication test mode is enabled.
Self-test mode 0 (10b) or 1 (11b).
Channel communication mode
Channel halt mode
Communication test mode is disabled.
Standard test mode
Yes
No
Yes
No