T-CAN485 icon indicating copy to clipboard operation
T-CAN485 copied to clipboard

CAN bus continuously publishes and blocks the programme

Open raul-riera-imatia opened this issue 2 years ago • 3 comments

Hello, good morning!

I have a problem with the CAN bus. I'm trying the example code found in example/Arduino/CAN Although the bus should publish at 1000ms intervals, the bus publishes continuously and blocks the program. It never reaches line 89. Can you help me? Do you know what is wrong?

Thank you very much for your help.

raul-riera-imatia avatar May 10 '22 08:05 raul-riera-imatia

There may be failures caused by unsuccessful sending. It is recommended that you try connecting the cable before powering on.

LilyGO avatar Sep 05 '22 09:09 LilyGO

You may want to check here: https://github.com/miwagner/ESP32-Arduino-CAN/issues/27

tecoop avatar Sep 05 '22 17:09 tecoop

For anyone still having issues with CAN, I have a repository set up here that uses both CAN and Modbus RTU at the same time on the LilyGo Hardware: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24

dalathegreat avatar Apr 02 '23 21:04 dalathegreat