esp32[c3|c6|h2]: Add I2C master support

This commit is contained in:
Eren Terzioglu
2024-06-20 16:21:06 +03:00
committed by Xiang Xiao
parent 63375bf9cd
commit dda55419f9
31 changed files with 2554 additions and 3 deletions
@@ -84,6 +84,14 @@ We can use the interrupt pin to send a signal when the interrupt fires::
The pin is configured as a rising edge interrupt, so after issuing the
above command, connect it to 3.3V.
i2c
---
This configuration can be used to scan and manipulate I2C devices.
You can scan for all I2C devices using the following command::
nsh> i2c dev 0x00 0x7f
nsh
---
@@ -165,7 +165,7 @@ CDC Console Yes Rev.3
DMA No
eFuse No
GPIO Yes
I2C No
I2C Yes
LED_PWM Yes
RNG No
RSA No
@@ -119,6 +119,14 @@ We can use the interrupt pin to send a signal when the interrupt fires::
The pin is configured as a rising edge interrupt, so after issuing the
above command, connect it to 3.3V.
i2c
---
This configuration can be used to scan and manipulate I2C devices.
You can scan for all I2C devices using the following command::
nsh> i2c dev 0x00 0x7f
nsh
---
@@ -119,6 +119,14 @@ We can use the interrupt pin to send a signal when the interrupt fires::
The pin is configured as a rising edge interrupt, so after issuing the
above command, connect it to 3.3V.
i2c
---
This configuration can be used to scan and manipulate I2C devices.
You can scan for all I2C devices using the following command::
nsh> i2c dev 0x00 0x7f
nsh
---
@@ -147,7 +147,7 @@ ECC No
eFuse No
GPIO Yes
HMAC No
I2C No
I2C Yes
I2S No
Int. Temp. No
LED No
@@ -118,6 +118,14 @@ We can use the interrupt pin to send a signal when the interrupt fires::
The pin is configured as a rising edge interrupt, so after issuing the
above command, connect it to 3.3V.
i2c
---
This configuration can be used to scan and manipulate I2C devices.
You can scan for all I2C devices using the following command::
nsh> i2c dev 0x00 0x7f
nsh
---
@@ -147,7 +147,7 @@ ECC No
eFuse No
GPIO Yes
HMAC No
I2C No
I2C Yes
I2S No
Int. Temp. No
LED No