Is CANbus (Controller Area Network) supported in the IDF?

acollins22
Posts: 2
Joined: Fri Feb 16, 2024 4:11 pm

Is CANbus (Controller Area Network) supported in the IDF?

Postby acollins22 » Fri Feb 16, 2024 4:17 pm

Hello Folks,

Please forgive a newbie question, I am new to the ESP community.

I would like to use CANbus on my ESP32 project. If I search for CAN bus along with the ESP32, I find some examples and info but it's in V3.3 of the reference...
https://docs.espressif.com/projects/esp ... s/can.html

I have downloaded the latest version and there is no mention of it there...
https://docs.espressif.com/projects/esp ... index.html

Please can someone explain the state of CAN in the latest IDF?


Thanks,

Andy

DrMickeyLauer
Posts: 168
Joined: Sun May 22, 2022 2:42 pm

Re: Is CANbus (Controller Area Network) supported in the IDF?

Postby DrMickeyLauer » Sat Feb 17, 2024 3:55 pm

Look for TWAI, it‘s an implementation of CAN. That said, the ESP family contains a pretty old controller design and while it works well for many simple applications, for more complex requirements you may want to integrate an external controller into your design.

acollins22
Posts: 2
Joined: Fri Feb 16, 2024 4:11 pm

Re: Is CANbus (Controller Area Network) supported in the IDF?

Postby acollins22 » Sat Feb 17, 2024 6:28 pm

Thank you.

That's just what I was looking for.


Cheers,

Andy.

Tomblarom
Posts: 3
Joined: Sat Feb 17, 2024 2:38 pm

Re: Is CANbus (Controller Area Network) supported in the IDF?

Postby Tomblarom » Sun Feb 18, 2024 8:06 am

Here is a little bit more background about it: https://github.com/espressif/esp-idf/issues/5580

Who is online

Users browsing this forum: No registered users and 80 guests