68. Design a CAN Arbitration-Loss Controller

Loading simulator…

1. Arbitration Detector

The inverter converts the observed recessive value into a dominant detector. The three-input AND enables the required mismatch only.

ARB_LOST_Detect = Arbitration_Enable·TX_BIT·BUS_BIT'

TX_BIT = 0 can never set ARB_LOST_Detect. Disabling arbitration also blocks detection.

2. Sticky Loss Register

The OR gate holds a captured loss. The D flip-flop stores ARB_LOST. New_Attempt clears it on the next rising Clock edge.

Sticky_Set = ARB_LOST + ARB_LOST_Detect
ARB_LOST_Next = New_Attempt'·Sticky_Set

Later matching bits cannot clear ARB_LOST.

3. Reset and Transmit Enable

nRESET connects to the active-LOW asynchronous clear input. It clears ARB_LOST immediately when LOW.

nRESET = 0  -> ARB_LOST = 0
TX_Enable = ARB_LOST'

The output inverter generates TX_Enable. TX_Enable stays independent of Arbitration_Enable. Arbitration loss remains separate from frame errors.