English
Language : 

SH7137 Datasheet, PDF (792/1160 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 19 Controller Area Network (RCAN-ET)
19.4 Application Note
19.4.1 Test Mode Settings
The RCAN-ET has various test modes. The register TST[2:0] (MCR[10:8]) is used to select the
RCAN-ET test mode. The default (initialised) settings allow RCAN-ET 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
0
0
0
0
1
1
1
1
Bit9:
TST1
0
0
1
1
0
0
1
1
Bit8:
TST0
0
1
0
1
0
1
0
1
Description
Normal Mode (initial value)
Listen-Only Mode (Receive-Only Mode)
Self Test Mode 1 (External)
Self Test Mode 2 (Internal)
Write Error Counter
Error Passive Mode
setting prohibited
setting prohibited
Normal Mode:
RCAN-ET 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 Tx Output is disabled so that RCAN-ET does not
generate error frames or acknowledgment bits. IRR13 is set when a
message error occurs.
Self Test Mode 1:
RCAN-ET generates its own Acknowledge bit, and can store its own
messages into a reception mailbox (if required). The Rx/Tx pins must be
connected to the CAN bus.
Self Test Mode 2:
RCAN-ET generates its own Acknowledge bit, and can store its own
messages into a reception mailbox (if required). The Rx/Tx pins do not
need to be connected to the CAN bus or any external devices, as the
internal Tx is looped back to the internal Rx. Tx pin outputs only
recessive bits and Rx pin is disabled.
Rev. 2.00 Sep. 10, 2008 Page 766 of 1130
REJ09B0402-0200