Open Dazza0 opened 2 years ago
This would also be useful for the ESP32-C3 which also uses the TWAI driver.
@Dazza0 - If you have code for a pull request that would work, I'd love to be able to use it. I'm not affiliated with arduino-CAN, but we're trying to use an ESP32-S3 with CAN, and would love to stay in Arduino land. Can you post a repo?
Thanks!
this is the idf TWAI implantation Try This one i try it with S3 https://github.com/Sheimy/TWAI_S3_LISEN
@Sheimy How do I use the TWAI library with the Arduino IDE? I have tried to use a project by Morcibacsi called PSAWIFI but it does not work on the current ESP32 Devkit V4. Nothing appears at the CanTX pin. I think the board is not compatible with the older CAN library by Sandeep Mistry.
Hi @sandeepmistry,
I was just wondering if any thought has been given to updating the ESP32 support to call the ESP-IDF TWAI driver API instead. Calling the ESP-IDF driver will allow the ESP32 Arduino users to get support for the new HW features (in the ESP32-S2) and the HW errata workarounds. We can create a PR for this update if that is OK with you.