Problem with CAN on STM32F103RET6

If you made your own board, post here, unless you built a Maple or Maple mini clone etc
Post Reply
zlomennypez
Posts: 1
Joined: Fri Jul 28, 2023 7:38 am

Problem with CAN on STM32F103RET6

Post 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.
Post Reply

Return to “Custom design boards”