01.08.2013 Views

Chapter 23 Controller Area Network (CAN).pdf

Chapter 23 Controller Area Network (CAN).pdf

Chapter 23 Controller Area Network (CAN).pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Functional Description www.ti.com<br />

<strong>23</strong>.3.2 Message Handler<br />

The message handler is a state machine that controls the data transfer between the single-ported<br />

message RAM and the <strong>CAN</strong> core’s Rx/Tx shift register. It also handles acceptance filtering and the<br />

interrupt/DMA request generation as programmed in the control registers.<br />

<strong>23</strong>.3.3 Message RAM<br />

The D<strong>CAN</strong>0 and D<strong>CAN</strong>1 enables a storage of 64 <strong>CAN</strong> messages.<br />

<strong>23</strong>.3.4 Message RAM Interface<br />

Three interface register sets control the CPU read and write accesses to the message RAM. There are<br />

two interface registers sets for read and write access, IF1 and IF2, and one interface register set for read<br />

access only, IF3. Additional information can be found in Section <strong>23</strong>.3.15.12.<br />

The interface registers have the same word-length as the message RAM.<br />

<strong>23</strong>.3.5 Registers and Message Object Access<br />

Data consistency is ensured by indirect accesses to the message objects. During normal operation, all<br />

CPU and DMA accesses to the message RAM are done through interface registers. In a dedicated test<br />

mode, the message RAM is memory mapped and can be directly accessed by either CPU or DMA.<br />

<strong>23</strong>.3.6 Module Interface<br />

The D<strong>CAN</strong> module registers are accessed by the CPU or user software through a 32-bit peripheral bus<br />

interface.<br />

<strong>23</strong>.3.7 Dual Clock Source<br />

Two clock domains are provided to the D<strong>CAN</strong> module: the peripheral synchronous clock domain<br />

(L3_SLOW_GCLK) and the peripheral asynchronous clock source domain (OSC0) for <strong>CAN</strong>_CLK.<br />

4042 <strong>Controller</strong> <strong>Area</strong> <strong>Network</strong> (<strong>CAN</strong>) SPRUH73E–October 2011–Revised May 2012<br />

Submit Documentation Feedback<br />

Copyright © 2011–2012, Texas Instruments Incorporated

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

Saved successfully!

Ooh no, something went wrong!