eXoCAN icon indicating copy to clipboard operation
eXoCAN copied to clipboard

Not working with STM32F103RB

Open rn-ksheer opened this issue 1 year ago • 1 comments

Hi, Was able to get the lib working with STM32F103Cx (blue pill), But no luck with STM32F103RB. Library compiles and uploads without any errors but doesn't send or receive CAN frames. Please point out the changes required to get lib working with STM32F103RB.

rn-ksheer avatar Jan 02 '25 13:01 rn-ksheer

是否使用了stmduino中的generic 配置?stmduino的generic配置使用内部8Mhz晶振/2*16=64Mhz,可能会导致库不起作用。据nopnop2023的Arduino-STM32-CAN库所说“Arduino core support for STM32 based boards uses different clock frequencies depending on the Board Part Number. BlackPill & BluePill use 72Mhz. Generic board use 64Mhz instead of 72Mhz. So the original doesn't work properly on the Generic board.”

minashinne avatar Feb 19 '25 10:02 minashinne