esp32_can
esp32_can copied to clipboard
ESP32 + MCP2518FD Pro board has errors when connected to can network ** and !!
ESP32 + MCP2518FD Pro board has errors when connected to can network ** and !! Setup configures the MCP2518 correctly but when connected to can network I get !! and ** in serial monitor.
In code I found that these are printed from mcp2517fd.cpp file if (diagBits & 0x3030000) //either NBIT0 or NBIT1 error (or DBIT0, DBIT1) and if (diagBits & 0x38380000) //19 - RX Fixed form, Bit stuff, or CRC error, either FD or not
But I have no idea what these really mean or how to get it to work.
I have tested with https://github.com/pierremolinaro/acan2517FD and there connection works and I can see network traffic.