Datasheet

Section 15 Controller Area Network for Tiny (TinyCAN)
Rev. 4.00 Mar. 15, 2006 Page 345 of 556
REJ09B0026-0400
15.7 Test Mode Settings
The TinyCAN has various test modes. TCR is used to select each test modes. In the initial
configuration, the TinyCAN performs a normal operation. Table 15.5 lists examples of setting the
test mode.
Table 15.5 Test Mode Settings
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
TSTMD WREC FERPS ATACK DEC DRXIN DTXOT INTLE Description
0 0 0 0 0 0 0 0 Normal mode
(Initial value)
1 0 0 0 1 0 1 0 Receive-only
mode
1 0 0 1 0 0 0 External self-test
mode
1 0 0 1 1 1 1 Internal self-test
mode
1 1 0 Counter write
error-passive
1 0 1 Force to error-
passive
Normal Mode: The TinyCAN operates in normal mode.
Receive-Only Mode: This mode is used for running tests required by the ISO-11898 standard,
such as baud rate detection. Counting by the error counter is disabled and the TEC and REC value
is not incremented. To prevent the TinyCAN from generating an error frame, transmission of the
HTXD output is disabled.
External Self-Test Mode: The TinyCAN generates its own acknowledge bit. The HRXD and
HTXD pins must be connected to the CAN bus.
Internal Self-Test Mode: The TinyCAN generates its own acknowledge bit. Since the internal Tx
is loop back to the internal Rx, the HRXD and HTXD pins need not be connected to the CAN bus
or another external device.