CAN BUS with ESP32-S3

Lluis_
Posts: 2
Joined: Mon Mar 04, 2024 7:32 pm

CAN BUS with ESP32-S3

Postby Lluis_ » Mon Mar 04, 2024 7:55 pm

Hello,
Which are the correct or best oins in an ESP32-S3 Devkit C1 to conect Can H and Can L ?
As you can see, I'm a complete beginer. Pls, excuse my poor english.
Regards.

liaifat85
Posts: 139
Joined: Wed Dec 06, 2023 2:46 pm

Re: CAN BUS with ESP32-S3

Postby liaifat85 » Tue Mar 05, 2024 11:28 am

I am not sure but this one may help you: https://www.cnx-software.com/2023/05/12 ... ver%20chip.

MicroController
Posts: 1220
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: CAN BUS with ESP32-S3

Postby MicroController » Tue Mar 05, 2024 12:29 pm

You don't connect CAN-H or CAN-L to the ESP; an external transceiver chip (e.g. a TJA1051) is needed to translate between RX/TX on the ESP and the CAN bus, see e.g. https://docs.espressif.com/projects/esp ... ransceiver or https://www.circuitstate.com/tutorials/ ... d-arduino/

Lluis_
Posts: 2
Joined: Mon Mar 04, 2024 7:32 pm

Re: CAN BUS with ESP32-S3

Postby Lluis_ » Tue Mar 05, 2024 10:00 pm

Thanks to both.

I have several Tja1051 because I want to connect 6 Esp32 ( 1 S3 and 5 S) . I'm programing with Arduino IDE + CAN library . Is there adequate GPIO for TX and RX coming from the module Tja1051 ?.

UART1_TXD and UART1_RXD are godd for this function?

Regards

Who is online

Users browsing this forum: No registered users and 192 guests