I2C devices HW configuration
Posted: Sun Mar 03, 2019 8:46 am
Hi ,
I'm designing a board with ESP-WROOM32.
I have 2 I2C devices and I want to use pin multiplexing for assign pin to SDA and SCL of the two devices on my board (using the right FW instructions of esp-idf IDE)
This is my configuration:
Device1:
SDA ------to--------> GPIO4 of ESP-WROOM32
SCL-------to--------> GPIO5 of ESP-WROOM32
Device2
SDA ------to--------> GPIO21 of ESP-WROOM32
SCL-------to--------> GPIO19 of ESP-WROOM32
Could you confirm I can use such configuration?
Otherwise could you advice resources to understand if a GPIO could be use for specific peripheral?
Hope you can help me .
Thanks
Nicola
I'm designing a board with ESP-WROOM32.
I have 2 I2C devices and I want to use pin multiplexing for assign pin to SDA and SCL of the two devices on my board (using the right FW instructions of esp-idf IDE)
This is my configuration:
Device1:
SDA ------to--------> GPIO4 of ESP-WROOM32
SCL-------to--------> GPIO5 of ESP-WROOM32
Device2
SDA ------to--------> GPIO21 of ESP-WROOM32
SCL-------to--------> GPIO19 of ESP-WROOM32
Could you confirm I can use such configuration?
Otherwise could you advice resources to understand if a GPIO could be use for specific peripheral?
Hope you can help me .
Thanks
Nicola