ESP32-Arduino-CAN
ESP32-Arduino-CAN copied to clipboard
Not Working with ESP wroom 32E
Hi had wroom32D module with me and the library works like a charm... But I got new wroom32E module board but this can library is not working. I tested the IDF TWAI example which works fine also I can able to transmit frames. But I used arduino framework for my project so far so what Can I do..
hello, did you find a solution ? I plan to migrate to 32E. thanks
I have found that all my bit rates are half of what I set them to, ie using CAN_SPEED_500KBPS
gets me 250kbps.
This seems to be related to issue #23 and changing the following line in CAN.c
solved the issue:
// enable all interrupts
MODULE_CAN->IER.U = 0xef; // this was 0xff but did not respect reserved bit4.
thanks for the feedback !