ESP32-S3-WROOM-1 preferred PINs for I2C and CAN

MartinHaiden
Posts: 1
Joined: Fri Sep 03, 2021 7:48 am

ESP32-S3-WROOM-1 preferred PINs for I2C and CAN

Postby MartinHaiden » Fri Sep 03, 2021 8:23 am

Hello ESP32 Community! :)

I'd like to use the ESP32-S3 with I2C and CAN Bus communications.

Are there preferred PINs on the ESP32-S3 for this purpose?
Like for SPI (IO9 to IO14).

kind regards,
Martin

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

Re: ESP32-S3-WROOM-1 preferred PINs for I2C and CAN

Postby ESP_Sprite » Sat Sep 04, 2021 1:56 am

No, there are not. You can pick any pin for this (that is not input-only or used for other things like flash).

dmaxben
Posts: 108
Joined: Thu Nov 16, 2017 6:04 pm

Re: ESP32-S3-WROOM-1 preferred PINs for I2C and CAN

Postby dmaxben » Mon Sep 13, 2021 3:36 pm

ESP_Sprite wrote:
Sat Sep 04, 2021 1:56 am
No, there are not. You can pick any pin for this (that is not input-only or used for other things like flash).
Can you use an input-only pin for TWAI-Rx?

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

Re: ESP32-S3-WROOM-1 preferred PINs for I2C and CAN

Postby ESP_Sprite » Tue Sep 14, 2021 1:08 am

You can; it's OK to use input-only pins for input-only functionality. (Thanks for pointing that out, it slipped my mind that CAN has a RX pin before the transceiver.)

Who is online

Users browsing this forum: No registered users and 157 guests