ESP32 cannot read 1000k CANbus

themagicm
Posts: 10
Joined: Tue Mar 28, 2023 2:27 am

ESP32 cannot read 1000k CANbus

Postby themagicm » Sun Sep 24, 2023 7:09 pm

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

DrMickeyLauer
Posts: 168
Joined: Sun May 22, 2022 2:42 pm

Re: ESP32 cannot read 1000k CANbus

Postby DrMickeyLauer » Thu Oct 19, 2023 8:05 am

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.

Who is online

Users browsing this forum: No registered users and 68 guests