Search found 1 match
- Mon Jul 31, 2023 3:59 pm
- Forum: ESP-IDF
- Topic: ESP32 Exception when reseting CAN controller
- Replies: 0
- Views: 4582
ESP32 Exception when reseting CAN controller
I am running the following code, and getting an exception randomly on line 17 below (line 136 in source). if (millis() >= nextCheck) { nextCheck = millis() + 1215; CANEnabled = false; CAN.end(); if (getChipRevision() <= 1) { Serial.println("Starting CAN for REV1 ESP32"); if (!CAN.begin(250E3)) { Ser...