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.

compensate for the propagation delay times and phase shifts and to define the sampling<br />

time and the number of samples (1 or 3) within the bus time slot.<br />

TCL – The Transceive Logic unit is a generic term for a group of logic elements<br />

consisting of a programmable output driver, bit stuff logic, CRC logic and the transmit<br />

shift register. The coordination of these components is controlled by the BSP.<br />

EML – The Error Management Logic unit is responsible for the error confinement of the<br />

CAN module. It receives notification of errors from the BSP and then informs the<br />

BSP, TCL, and IML about error statistics [98].<br />

Up to the message level, the CAN module presented here is totally compatible with<br />

CAN Specification 2.0 Part A. The functional differences are related to the object layer only.<br />

Whereas a full CAN Controller provides dedicated hardware for handling a set of messages,<br />

the implementation presented here is restricted to receiving and/or transmitting messages on a<br />

message by message basis. Also, the controller presented here will never initiate an Overload<br />

Frame. If the module starts to receive a valid message (i.e., one that passes the Acceptance<br />

Filter) and there is no receive buffer available for it, then the Overrun Flag in the CPU Status<br />

Register will be set. The module, will however, respond to Overload Frames generated by other<br />

CAN nodes, as required by the CAN protocol specifications.<br />

To be able to function as a serial communication interface, the CAN Controller<br />

Module, shown in Figure 5.13, itself has to be supplemented by an additional module, the<br />

Controller Interface Logic Unit (CIL). The CIL is an integral part of any CAN system or<br />

stand-alone CAN Controller. The CIL, shown in Figure 5.14, links the CAN Module to the<br />

142

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

Saved successfully!

Ooh no, something went wrong!