jiauka / STM32F1_CAN

3 stars 1 forks source link

Messages sent twice #2

Open Suprazz opened 6 years ago

Suprazz commented 6 years ago

I'm using this library. It's working well except that every can bus message I send is sent twice, with few ms delay when using the NEWLIB

STM32F1_CAN::getInstance().write(mess,false);

jiauka commented 6 years ago

Do you have an example? I can debug it.

I no longer use the arduino stuff, but I keep using both the N2K lib and the STm32F1_CAN

Suprazz commented 6 years ago

I realized that the issue happens when I use SPI1 with your library and the NEW_LIB option. Here is an example SPI_Test_Bluepill.zip libraries.zip