Description
Bug
Target
NUCLEO_F103RB
Toolchain:
ALL
Expected behavior
CAN is working when PB_8/PB_9 pins are used.
Actual behavior
PB_8/PB_9 pins are not connected to the CAN peripheral.
Enhancement
Change the AF number to 10 instead of 1 on PB_8/PB_9 pins in PinMap_CAN_RD/TD tables in PeripheralPins.c file.
Add "case 10" in pin_function() in pinmap.c
See Bill's answer in
https://developer.mbed.org/questions/76094/how-to-use-STM32F103RB-CAN/