Hello! I used an existing circuit design and software code but swapped from an older module to the new V3 core 32E module. All was well until I realized all my CAN timing was creating bus speeds half of the other module. If I input the settings for 500kbps working on the older modules I end up with 250kbps on the 32E
Is this by design, or a bug? I noticed a note in the ECO v3 release docs about a new canbus speed, but I didn’t see any mention of changes in timings for previously supported speeds. Before I make a workaround, I wanted to see if this was expected behavior or a bug?
Thanks!
ESP32-WROOM32E - V3 - Canbus speeds halved?
Re: ESP32-WROOM32E - V3 - Canbus speeds halved?
Not a bug but a feature. ESP32 ECO3 added a configurable bit that will cause CAN bus speeds to be halved (i.e thus allows for lower bit rates).
However, by default this feature should be disabled by the driver (see this commit). Which version of ESP-IDF are you using? Do you have a copy of your sdkconfig?
However, by default this feature should be disabled by the driver (see this commit). Which version of ESP-IDF are you using? Do you have a copy of your sdkconfig?
Re: ESP32-WROOM32E - V3 - Canbus speeds halved?
Thank you, that solved it for me. I had attempted to enable the wake-up interrupt in my code even though it was not supported... now that ECO V3 uses that bit for the divider, it was doing its job.
Lesson learned—respect the reserved bits.
Thanks!
Lesson learned—respect the reserved bits.
Thanks!
Who is online
Users browsing this forum: No registered users and 11 guests