SPRUHM8K December 2013 – May 2024 TMS320F28374D , TMS320F28375D , TMS320F28376D , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28378D , TMS320F28379D , TMS320F28379D-Q1
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.