Esp32 multi peripheral cohabitation

hazerty55
Posts: 3
Joined: Wed Jul 27, 2016 12:37 pm

Esp32 multi peripheral cohabitation

Postby hazerty55 » Tue Jan 28, 2020 12:44 pm

Hello
For my futur project I will communicate with many peripheral protocol

I would like to know if possible esp32 can communicate with CanBus interface + ethernet + SD card

CanBus use gpio 21/22 for TX and rx
Ethernet gpio 19/21/22/25 ect...

Gpio 21/22 is use by ethernet and CanBus

Can I change gpio for can bus or not?

Thank you

ESP_Sprite
Posts: 9723
Joined: Thu Nov 26, 2015 4:08 am

Re: Esp32 multi peripheral cohabitation

Postby ESP_Sprite » Tue Jan 28, 2020 1:17 pm

Yes, you can.

hazerty55
Posts: 3
Joined: Wed Jul 27, 2016 12:37 pm

Re: Esp32 multi peripheral cohabitation

Postby hazerty55 » Tue Jan 28, 2020 1:33 pm

I would like to use Tcan337 FD transceiver it is possible?

Wich port I can use for can bus for replace gpio 21/22?

ESP_Sprite
Posts: 9723
Joined: Thu Nov 26, 2015 4:08 am

Re: Esp32 multi peripheral cohabitation

Postby ESP_Sprite » Wed Jan 29, 2020 9:51 am

Possibly. I'm not sure if we tested that specific CAN transceiver.

You can pick any pin that is not otherwise used (e.g. by UART, flash); for TxD, you need a GPIO that is output-capable (any <= GPIO34)

Who is online

Users browsing this forum: No registered users and 49 guests