Page 1 of 1

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

Posted: Fri Feb 16, 2024 4:17 pm
by acollins22
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

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

Posted: Sat Feb 17, 2024 3:55 pm
by DrMickeyLauer
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.

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

Posted: Sat Feb 17, 2024 6:28 pm
by acollins22
Thank you.

That's just what I was looking for.


Cheers,

Andy.

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

Posted: Sun Feb 18, 2024 8:06 am
by Tomblarom
Here is a little bit more background about it: https://github.com/espressif/esp-idf/issues/5580