ESP32 CAN/TWAI compatibility
Posted: Sat Jul 18, 2020 11:20 pm
by RamPrasanth_ESE
I am currently using ESP32-EVB-EVA. I am trying to interface my board with other devices/boards using CAN protocol. can I use the following link (about TWAI) as a source to establish CAN protocol? Is TWAI a common terminology for CAN and similar automotive networks?
https://docs.espressif.com/projects/esp ... /twai.html
Re: ESP32 CAN/TWAI compatibility
Posted: Sun Jul 19, 2020 11:38 pm
by ESP_Angus
Most likely TWAI is compatible, although would need to check the details of exactly what other devices/products you are using.
As per the linked documentation, TWAI support in ESP-IDF is compatible with ISO11898-1 Classical frames. ISO11891 is the standard that describes the CAN data link layer.
TWAI itself is not an industry standard term, it's the name used for the ESP32-S2 peripheral.
Re: ESP32 CAN/TWAI compatibility
Posted: Tue Jul 21, 2020 9:27 am
by RamPrasanth_ESE
I am using ESP with Raspberry Pi and PI-CAN2. Thank you for your reply.
Re: ESP32 CAN/TWAI compatibility
Posted: Thu Jul 11, 2024 12:43 pm
by Rashid
The TWAI controller is not compatible with ISO11898-1 FD Format frames, and will interpret such frames as errors.
This information is posted on the official website:
https://docs.espressif.com/projects/esp ... /twai.html