Why CAN communication rate is only half of the original when using esp32 CAN communication
Why CAN communication rate is only half of the original when using esp32 CAN communication
I had a problem when using the esp32can to communicate with half the speed. The esp32 needs 1M to communicate with the stm32 at 500k. I don't know if this has anything to do with the can transceiver issue. I use can transceiver of waveshare sn6hd230, and the library I use is ardunio library of esp32can in platformio. Both of them encounter the problem of communication rate halved, and try to modify the underlying can communication still and other ways, but it is not possible, may I ask if anyone has encountered this problem, how to solve it
Re: Why CAN communication rate is only half of the original when using esp32 CAN communication
This is an arduino library that located in
https://github.com/miwagner/ESP32-Arduino-CAN.git
https://github.com/miwagner/ESP32-Arduino-CAN.git
Re: Why CAN communication rate is only half of the original when using esp32 CAN communication
Are you suggesting that library works properly and can communicate at 1K?
-
- Posts: 168
- Joined: Sun May 22, 2022 2:42 pm
Re: Why CAN communication rate is only half of the original when using esp32 CAN communication
I don't know anything about Arduino, but using the native TWAI layer there doesn't seem to be any problems with bitrates up to 1M. I suggest you try using an example program w/ ESP-IDF first before taking a look at the Arduino abstraction.
Who is online
Users browsing this forum: No registered users and 90 guests