does anyone know if the XIAO ESP32S3 can use the TWAI interface without the “XIAO CAN Bus Expansion Board”. I know that the ESP32S3 supports TWAI and I’m wondering if it’s possible to use it with the XIAO and a CAN-transceiver (like the SN65HVD232) only. I did some simple tests and I saw that twai_driver_install() and twai_start() returned ESP_OK, but I was not able to send or receive any CAN messages.
I used the code from this gist for testing
It have a test circuit that does work on a WEMOS D1 Mini ESP32 and on an ESP32 Dev Board.
Running on the XIAO the code installs and starts the driver successfully but fails when transmitting packages. It also does not receive any messages from the bus.
Does anyone know how to make TWAI work without “the Expansion Board”?