ESP32 CAN/TWAI compatibility

RamPrasanth_ESE
Posts: 2
Joined: Sat Jul 18, 2020 11:15 pm

ESP32 CAN/TWAI compatibility

Postby RamPrasanth_ESE » Sat Jul 18, 2020 11:20 pm

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

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: ESP32 CAN/TWAI compatibility

Postby ESP_Angus » Sun Jul 19, 2020 11:38 pm

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.

RamPrasanth_ESE
Posts: 2
Joined: Sat Jul 18, 2020 11:15 pm

Re: ESP32 CAN/TWAI compatibility

Postby RamPrasanth_ESE » Tue Jul 21, 2020 9:27 am

I am using ESP with Raspberry Pi and PI-CAN2. Thank you for your reply.

Rashid
Posts: 1
Joined: Thu Jul 11, 2024 12:40 pm

Re: ESP32 CAN/TWAI compatibility

Postby Rashid » Thu Jul 11, 2024 12:43 pm

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

Who is online

Users browsing this forum: No registered users and 189 guests