Page 1 of 1

Problem with CAN on STM32F103RET6

Posted: Fri Jul 28, 2023 7:54 am
by zlomennypez
Hi,

I have problem with STM32F103RET6. If I compile a simple CAN communication program in Arduino IDE, Bluepill F103CB board, the communication works. If I compile it for Generic F103RetX board, the communication does not work. I also had to change the // Default pin used for generic 'Serial' instance in the settings of variant_generic.h
// Mandatory for Firmata
#ifndef PIN_SERIAL_RX
#define PIN_SERIAL_RX PA10
#endif
#ifndef PIN_SERIAL_TX
#define PIN_SERIAL_TX PA9
#endif to make the serial communication display work in the Arduino IDE.

What needs to be reconfigured to make CAN communication work. Thanks a lot for your help.