issues
search
pazi88
/
STM32_CAN
CAN bus Library for Arduino STM32
GNU General Public License v3.0
67
stars
28
forks
source link
CAN fixes tested on STM32F412RET6
#7
Closed
jmailloux
closed
1 year ago
jmailloux
commented
1 year ago
For CAN1, ALT (PB8/9), the alternate pin setting is actually GPIO_AF8_CAN1. I tested this on a custom board with a STM32F412RET6.
Updated baud rate calculator to be able to use a table if it is there. Also cleaned up the code.
Disabled all interrupts instead of certain ones to ensure no race conditions
Fixed compiler warnings.