15.08.2013 Views

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

e received may be lost. To reduce the requirements on the CPU, two receive buffers<br />

(RBF0 and RBF1) are implemented. While one receive buffer is allocated to the CPU,<br />

the BSP may write to the other buffer. RBF0 and RBF1 are each 10 bytes long and hold<br />

the Identifier (1 byte), the Control Field (1 byte) and the Data Field (maximum length of<br />

8 bytes). The BSP only writes into a receive buffer when the message being received or<br />

transmitted has an Identifier which passes the Acceptance Filter.<br />

BSP – This is a sequencer controlling the data stream between the Transmit and Receive<br />

Buffers (parallel data) and the CAN (serial data). The BSP also controls the<br />

Transceive Logic (TCL) and the Error Management Logic (EML) such that the processes<br />

of reception, arbitration, transmission and error signaling are performed according to the<br />

protocol and the bus rules. The BSP also provides signals to the IML indicating when a<br />

Receive Buffer contains a valid message and when the Transmit Buffer is no longer<br />

required after a successful transmission. The automatic retransmission of messages,<br />

which have been corrupted by noise or other external conditions on the bus line, is<br />

effectively handled by the BSP.<br />

BTL – The Bit Timing Logic block monitors the CAN bus line using an input<br />

comparator and handles the CAN bus line related bit timing. The BTL synchronizes<br />

on a recessive-to-dominant bus line transition at the Start of Frame (hard<br />

synchronization), and resynchronizes on further transitions during reception of a frame<br />

(soft synchronization). A programmable control bit in the CPU determines which edges<br />

are used for resynchronization. The BTL also provides programmable time segments to<br />

141

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!