SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
In this example, the frequency of FCLK is 20 MHz, BRP is 2, the bit rate is 500 KBit/s.
Parameter | Formula | Value | tq |
---|---|---|---|
bit time (500 KBit/s) | 1/bit rate, consists of tSync-Seg + tTSeg1 + tTSeg2 | 2000 ns | 20 |
delay of bus driver | 280 ns | - | |
delay of receiver circuit | 29 ns | - | |
delay of bus line (16 m) | 16 × 5.5 ns/m | 88 ns | - |
tq | BRP/FCLK | 100 ns | 1 |
tSync_Seg | 1 × tq (fixed) | 100 ns | 1 |
tProp_Seg | INT (2×delays + 1) = 8 × tq | 800 ns | 8 |
tSeg1 | tProp_Seg + tPhase_Seg1 | 1400 ns | 14 |
tSeg2 | bit time - (Sync_Seg + tSeg1) | 500 ns | 5 |
tSJWmax | MIN (4 × tq, tPhase_Seg1) | 400 ns | 4 |
In this example, the bit timing register DCAN_BTR is programmed to: