Page 1 of 1

Esp32 multi peripheral cohabitation

Posted: Tue Jan 28, 2020 12:44 pm
by hazerty55
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

Re: Esp32 multi peripheral cohabitation

Posted: Tue Jan 28, 2020 1:17 pm
by ESP_Sprite
Yes, you can.

Re: Esp32 multi peripheral cohabitation

Posted: Tue Jan 28, 2020 1:33 pm
by hazerty55
I would like to use Tcan337 FD transceiver it is possible?

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

Re: Esp32 multi peripheral cohabitation

Posted: Wed Jan 29, 2020 9:51 am
by ESP_Sprite
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)