Renesas R5S72621 User Manual

Page of 2152
 
Section 20   Controller Area Network 
Page 1052 of 2108 
 
R01UH0134EJ0400  Rev. 4.00 
 
 Sep 
24, 
2014 
SH7262 Group, SH7264 Group
20.4
 
Application Note 
20.4.1
 
Test Mode Settings 
This module has various test modes. The register TST[2:0] (MCR[10:8]) is used to select this 
module test mode. The default (initialised) settings allow this module to operate in Normal mode. 
The following table is examples for test modes. 
Test Mode can be selected only while in configuration mode. The user must then exit the 
configuration mode (ensuring BCR0/BCR1 is set) in order to run the selected test mode. 
Bit10: 
TST2 
Bit9: 
TST1 
Bit8: 
TST0 Description 
0 0 0 Normal 
Mode 
(initial 
value) 
0 0 1 Listen-Only 
Mode 
(Receive-Only 
Mode) 
Self Test Mode 1 (External) 
Self Test Mode 2 (Internal) 
1 0 0 Write Error Counter 
1 0 1 Error 
Passive 
Mode 
1 1 0 Setting 
prohibited 
1 1 1 Setting 
prohibited 
 
Normal Mode: 
This module operates in the normal mode. 
Listen-Only Mode: 
ISO-11898 requires this mode for baud rate detection. The Error Counters 
are cleared and disabled so that the TEC/REC does not increase the values, 
and the CTxn (n = 0, 1) Output is disabled so that this module does not 
generate error frames or acknowledgment bits. IRR13 is set when a 
message error occurs. 
Self Test Mode 1: 
This module generates its own Acknowledge bit, and can store its own 
messages into a reception mailbox (if required). The CRxn/CTxn (n = 0, 1) 
pins must be connected to the CAN bus.