Test Settings - Renesas RZ/A Series User Manual

Hide thumbs Also See for RZ/A Series:
Table of Contents

Advertisement

RZ/A1L Group, RZ/A1LU Group, RZ/A1LC Group
21.10.4

Test Settings

21.10.4.1 Self-Test Mode Setting Procedure
Self-test mode allows communication test on a channel basis by enabling a CAN node to receive its
own transmitted messages.
Figure 21.34 shows the self-test mode setting procedure.
m = 0 or 1
Figure 21.34
R01UH0437EJ0600 Rev.6.00
Jan 29, 2021
Start
Set the CHMDC[1:0] bits
in the RSCAN0CmCTR register to 10
Is CHLTSTS flag in the RSCAN0CmSTS register 1
(in channel halt mode)?
Yes
Set CTME bit in the RSCAN0CmCTR register to 1.
Set the CTMS[1:0] bits to 10
Set the CHMDC[1:0] bits
in the RSCAN0CmCTR register to 00
Are all CSLPSTS, CHLTSTS, and CRSTSTS
flags in the RSCAN0CmSTS register 0?
Yes
Perform self-test in channel m.
Set the CHMDC[1:0] bits
in the RSCAN0CmCTR register to 10
Is CHLTSTS flag in the RSCAN0CmSTS register 1
(in channel halt mode)?
Yes
Set CTME bit in the RSCAN0CmCTR register to 0.
Set the CTMS[1:0] bits to 00
End
Self-Test Mode Setting Procedure
Channel halt mode
.
B
No
Communication test mode is enabled.
or 11
.
Self-test mode 0 (10
B
B
Channel communication mode
.
B
No
Channel halt mode
.
B
No
Communication test mode disabled.
.
Standard test mode
B
21. CAN Interface
) or 1 (11
) is selected.
B
B
21-162

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rz/a1 seriesRz/a1lu seriesRz/a1lc series

Table of Contents