US_LONMR

USART LON Mode Register

This register is relevant only if USART_MODE = 0x9 in the USART Mode Register.

This register can only be written if the WPEN bit is cleared in the USART Write Protection Mode Register.

  0x0060 32 Read/Write 0x0  

USART LON Mode Register

Bit  31 30 29 28 27 26 25 24  
                   
Access                   
Reset                   
Bit  23 22 21 20 19 18 17 16  
  EOFS[7:0]  
Access                   
Reset  0 0 0 0 0 0 0 0  
Bit  15 14 13 12 11 10 9 8  
                   
Access                   
Reset                   
Bit  7 6 5 4 3 2 1 0  
      LCDS DMAM CDTAIL TCOL COLDET COMMT  
Access                   
Reset      0 0 0 0 0 0  

Bit 0 – COMMT: LON comm_type Parameter Value

LON comm_type Parameter Value

ValueDescription
0

LON comm_type = 1 mode.

1

LON comm_type = 2 mode.

Bit 1 – COLDET: LON Collision Detection Feature

LON Collision Detection Feature

ValueDescription
0

LON collision detection feature disabled.

1

LON collision detection feature enabled.

Bit 2 – TCOL: Terminate Frame upon Collision Notification

Terminate Frame upon Collision Notification

ValueDescription
0

Do not terminate the frame in LON comm_type = 1 mode upon collision detection.

1

Terminate the frame in LON comm_type = 1 mode upon collision detection if possible.

Bit 3 – CDTAIL: LON Collision Detection on Frame Tail

LON Collision Detection on Frame Tail

ValueDescription
0

Detect collisions after CRC has been sent but prior end of transmission in LON comm_type = 1 mode.

1

Ignore collisions after CRC has been sent but prior end of transmission in LON comm_type = 1 mode.

Bit 4 – DMAM: LON DMA Mode

LON DMA Mode

ValueDescription
0

The LON data length register US_LONDL is not written by the DMA.

1

The LON data length register US_LONDL is written by the DMA.

Bit 5 – LCDS: LON Collision Detection Source

LON Collision Detection Source

ValueDescription
0

LON collision detection source is external.

1

LON collision detection source is internal.

Bits 23:16 – EOFS[7:0]: End of Frame Condition Size

End of Frame Condition Size

ValueDescription
0–255

Define the minimum transitionless time for the IP to detect a LON end of frame condition. teof = (EOFS + 1) × tclock × 8 × (2 - OVER)