Page 1 of 1

ESP32 cannot read 1000k CANbus

Posted: Sun Sep 24, 2023 7:09 pm
by themagicm
Running an ESP32-WROOM32D..

using the ESP32CAN lib :

https://github.com/miwagner/ESP32-Arduino-CAN

When I set to 1000K its actually 500k.

Is this the correct brp_div to clear? or how to I make this thing work?

MODULE_CAN->IER.U &= ~(1 << 5); // Clear the BRP_DIV bit

Re: ESP32 cannot read 1000k CANbus

Posted: Thu Oct 19, 2023 8:05 am
by DrMickeyLauer
You might try asking on their Github. Alternatively, I'd check first whether you can read 1000MBit/sec using ESP-IDF. If that works, the problem is the Arduino wrapper. If not, you might need to check your wiring.