SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-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.