Question
STM32CubeMX Bug Report - CAN bus configurator
Posted on March 05, 2015 at 22:55

CAN
controller
has
inaccuracy
in
calculating
of time for one bit
.If I set
the values for
CAN
speed 500
kbit
/s
(
bittime
2000
ns
)then
configurator
show 2004
ns.
If
you calculate
the bit
time
from
BS1=8
,BS2=3,
prescaler
=8 and APB=48 Mhz, the bit time is2000
ns
.
I also recommend
to add to CAN configurator
the calculated
samplepoint
.It's a very
important value
. stm32cubemx-bug-can-bus-bit-time