SPRUHX5I August 2014 – May 2024 TMS320F28374S , TMS320F28375S , TMS320F28375S-Q1 , TMS320F28376S , TMS320F28377S , TMS320F28377S-Q1 , TMS320F28378S , TMS320F28379S
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.