SLAU723A October 2017 – October 2018 MSP432E401Y , MSP432E411Y
In this example, the frequency of CAN clock is 25 MHz, and the bit rate is 1 Mbps.
where
\\fixed at 1 time quanta
\\400 is next integer multiple of tq
\\tPhase2 = tPhase1
where
where
\\Assumes IPT = 0
\\Least of 4, Phase1 and Phase2
In the previous examples, the bit field values for the CANBIT register are as follows (see Table 11-4):
Bit | Value |
---|---|
TSEG2 | = TSeg2 – 1
= 1 – 1 = 0 |
TSEG1 | = TSeg1 – 1
= 3 – 1 = 2 |
SJW | = SJW – 1
= 1 – 1 = 0 |
BRP | = Baud rate prescaler – 1
= 5 – 1 = 4 |
The final value programmed into the CANBIT register = 0x0204.