SPRUIX1B October 2022 – April 2024 TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137
In this example, the frequency of CAN_CLK is 2MHz, BRP is 1, the bit rate is 100KBit/s.
tq | 1μs | = | 2 • tCAN_CLK |
delay of bus driver | 200ns | = | |
delay of receiver circuit | 80ns | = | |
delay of bus line (40m) | 220ns | = | |
tProp | 1μs | = | 1 • tq |
tSJW | 4μs | = | 4 • tq |
tTSeg1 | 5μs | = | tProp + tSJW |
tTSeg2 | 4μs | = | Information Processing Time + 4 • tq |
tSync-Seg | 1μs | = | 1 • tq |
bit time | 10μs | = | tSync-Seg + tTSeg1 + tTSeg2 |
tolerance for CAN_CLK | 1.58% | = |
In this example, the concatenated bit time parameters are (4-1)3&(5-1)4&(4-1)2&(2-1)6, so the Bit Timing register is programmed to = 0x0000 34C1.