66.6.3 MCAN Test Register

To enable write access to the Test register, set bit MCAN_CCCR.TEST to 1.

All MCAN Test Register functions are set to their reset values when bit MCAN_CCCR.TEST is cleared.

Loop Back mode and software control of pin CANTX are hardware test modes. Programming of TX ≠ 0 disturbs the message transfer on the CAN bus.

The reset value for bit 7, MCAN_TEST.RX, is undefined. Bits 4 to 6 read 0. Bit 7 reads 1 when operating in CAN environments.

Name: MCAN_TEST
Offset: 0x10
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
 RXTX[1:0]LBCK     
Access RR/WR/WR/W 
Reset x000 

Bit 7 – RX Receive Pin

Monitors the actual value of pin CANRX.

The reset value for this bit is undefined. The bit reads 1 when operating in CAN environments.

ValueDescription
0 The CAN bus is dominant (CANRX = ‘0’).
1 The CAN bus is recessive (CANRX = ‘1’).

Bits 6:5 – TX[1:0] Control of Transmit Pin

ValueNameDescription
0 RESET Reset value, CANTX controlled by the CAN Core, updated at the end of the CAN bit time.
1 SAMPLE_POINT_MONITORING Sample Point can be monitored at pin CANTX.
2 DOMINANT Dominant (‘0’) level at pin CANTX.
3 RECESSIVE Recessive (‘1’) at pin CANTX.

Bit 4 – LBCK Loop Back Mode

0 (DISABLED): Reset value. Loop Back mode is disabled.

1 (ENABLED): Loop Back mode is enabled (see Test Modes).