48.6.5 MCAN Test Register

Write access to the Test Register has to be enabled by setting 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 MCAN_TEST.RX is undefined.

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 (read-only)

Monitors the actual value of pin CANRX.

The reset value for this bit is undefined.

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 (read/write)

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 (read/write)

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

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