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.

D<strong>CAN</strong> Registers www.ti.com<br />

Table <strong>23</strong>-13. D<strong>CAN</strong> Control Register Summary Table (continued)<br />

Offset Acronym Description Section<br />

0x1E0 D<strong>CAN</strong> TIOC <strong>CAN</strong> TX IO Control Register Section <strong>23</strong>.4.1.29<br />

0x1E4 D<strong>CAN</strong> RIOC <strong>CAN</strong> RX IO Control Register Section <strong>23</strong>.4.1.30<br />

<strong>23</strong>.4.1.1 <strong>CAN</strong> Control Register (D<strong>CAN</strong> CTL)<br />

The <strong>CAN</strong> control register (D<strong>CAN</strong> CTL) is shown in Figure <strong>23</strong>-19 and described in Table <strong>23</strong>-14.<br />

Figure <strong>23</strong>-19. <strong>CAN</strong> Control Register (D<strong>CAN</strong> CTL)<br />

31 26 25 24 <strong>23</strong> 21 20 19 18 17 16<br />

Reserved WUBA PDR Reserved DE3 DE2 DE1 IE1 InitDbg<br />

R-0 R/W-0 R/W-0 R-0 R/W-0 R/W-0 R/W-0 R/W-0 R-0<br />

15 14 13 10 9 8 7 6 5 4 3 2 1 0<br />

SWR Reserv PMD ABO IDS Test CCE DAR Reserv EIE SIE IE0 Init<br />

ed ed<br />

R/WP- R-0 R/W-0x5 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R-0 R/W-0 R/W-0 R/W-0 R/W-1<br />

0<br />

LEGEND: R/W = Read/Write; R = Read only; WP = Write protected by init bit; -n = value after reset<br />

Bit Field Value Description<br />

Table <strong>23</strong>-14. <strong>CAN</strong> Control Register (D<strong>CAN</strong> CTL) Field Descriptions<br />

31-26 Reserved 0 These bits are always read as 0. Writes have no effect.<br />

26 WUBA Automatic wake up on bus activity when in local power-down mode<br />

0 No detection of a dominant <strong>CAN</strong> bus level while in local power-down mode.<br />

1 Detection of a dominant <strong>CAN</strong> bus level while in local power-down mode is enabled. On occurrence<br />

of a dominant <strong>CAN</strong> bus level, the wake up sequence is started (Additional information can be found<br />

in Local Power-Down Mode).<br />

Note: The <strong>CAN</strong> message, which initiates the bus activity, cannot be received. This means that the<br />

first message received in power down and automatic wake-up mode, will be lost.<br />

24 PDR Request for local low power-down mode<br />

0 No application request for local low power-down mode. If the application has cleared this bit while<br />

D<strong>CAN</strong> in local power-down mode, also the Init bit has to be cleared.<br />

1 Local power-down mode has been requested by application. The D<strong>CAN</strong> will acknowledge the local<br />

power-down mode by setting bit PDA in the error and status register. The local clocks will be turned<br />

off by D<strong>CAN</strong> internal logic (Additional information can be found in Local Power-Down Mode).<br />

<strong>23</strong>-21 Reserved 0 These bits are always read as 0. Writes have no effect.<br />

20 DE3 Enable DMA request line for IF3<br />

0 Disabled<br />

1 Enabled<br />

19 DE2 Enable DMA request line for IF2<br />

Note: A pending DMA request for IF3 remains active until first access to one of the IF3 registers.<br />

0 Disabled<br />

1 Enabled<br />

18 DE1 Enable DMA request line for IF1<br />

Note: A pending DMA request for IF2 remains active until first access to one of the IF2 registers.<br />

0 Disabled<br />

1 Enabled<br />

Note: A pending DMA request for IF1 remains active until first access to one of the IF1 registers.<br />

4080 <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!