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 />

t q 100 ns = t <strong>CAN</strong>_CLK<br />

delay of bus driver 60 ns =<br />

delay of receiver circuit 40 ns =<br />

delay of bus line (40 m) 220 ns =<br />

t Prop 700 ns = INT (2*delays + 1) = 7 • t q<br />

t SJW 100 ns = 1 • t q<br />

t TSeg1 800 ns = t Prop + t SJW<br />

t TSeg2 100 ns = Information Processing Time + 1 • t q<br />

t Sync-Seg 100 ns = 1 • t q<br />

bit time 1000 ns = t Sync-Seg + t TSeg1 + t TSeg2<br />

tolerance for <strong>CAN</strong>_CLK 0.43 % =<br />

min TSeg1, TSeg2<br />

<br />

2x 13x bit _ time TSeg2<br />

0.1 s<br />

2x 13x 1 s 0.1 s<br />

<br />

In this example, the concatenated bit time parameters are (1-1) 3&(8-1) 4&(1-1) 2&(1-1) 6, so the bit timing<br />

register is programmed to = 00000700.<br />

<strong>23</strong>.3.16.2.3 Example for Bit Timing at Low Baud Rate<br />

In this example, the frequency of <strong>CAN</strong>_CLK is 2 MHz, BRP is 1, the bit rate is 100 KBit/s.<br />

t q 1 µs = t <strong>CAN</strong>_CLK<br />

Delay of bus driver 200 ns =<br />

Delay of receiver circuit 80 ns =<br />

Delay of bus line (40 m) 220 ns =<br />

t Prop 1 µs = 1 • t q<br />

t SJW 4 µs = 4 • t q<br />

t TSeg1 5 µs = t Prop + t SJW<br />

t TSeg2 3 µs = Information Processing Time + 3 • t q<br />

t Sync-Seg 1 µs = 1 • t q<br />

Bit time 9 µs = t Sync-Seg + t TSeg1 + t TSeg2<br />

Tolerance for <strong>CAN</strong>_CLK =<br />

=<br />

=<br />

min TSeg1, TSeg2<br />

<br />

2x 13x bit _ time TSeg2<br />

0.1 s<br />

2x 13x 1 s 0.1 s<br />

<br />

In this example, the concatenated bit time parameters are (3-1) 3&(5-1) 4&(4-1) 2&(2-1) 6, so the bit timing<br />

register is programmed to = 0x000024C1.<br />

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