File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Documentation/platforms/risc-v/esp32c6 Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -265,6 +265,11 @@ You can scan for all I2C devices using the following command::
265
265
266
266
nsh> i2c dev 0x00 0x7f
267
267
268
+ To use LP_I2C, you can enable `ESPRESSIF_LP_I2C0 ` option. When this option is enabled,
269
+ LP_I2C operates on GPIO7 as SCL and GPIO6 as SDA. These pins are fixed and cannot be changed.
270
+ Also enabling LP_I2C will change the default pins of I2C0 due to LP_I2C pin limitation.
271
+ The default I2C0 pins will be remapped to GPIO23 for SCL and GPIO5 for SDA.
272
+
268
273
To use slave mode, you can enable `ESPRESSIF_I2C0_SLAVE_MODE ` option.
269
274
To use slave mode driver following snippet demonstrates how write to i2c bus
270
275
using slave driver:
Original file line number Diff line number Diff line change @@ -210,6 +210,11 @@ You can scan for all I2C devices using the following command::
210
210
211
211
nsh> i2c dev 0x00 0x7f
212
212
213
+ To use LP_I2C, you can enable `ESPRESSIF_LP_I2C0 ` option. When this option is enabled,
214
+ LP_I2C operates on GPIO7 as SCL and GPIO6 as SDA. These pins are fixed and cannot be changed.
215
+ Also enabling LP_I2C will change the default pins of I2C0 due to LP_I2C pin limitation.
216
+ The default I2C0 pins will be remapped to GPIO23 for SCL and GPIO5 for SDA.
217
+
213
218
To use slave mode, you can enable `ESPRESSIF_I2C0_SLAVE_MODE ` option.
214
219
To use slave mode driver following snippet demonstrates how write to i2c bus
215
220
using slave driver:
Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ ECC No
346
346
eFuse Yes
347
347
GPIO Yes Dedicated GPIO supported
348
348
HMAC No
349
- I2C Yes Master and Slave mode supported
349
+ I2C Yes Master and Slave mode also LPI2C supported
350
350
I2S Yes
351
351
LED/PWM Yes
352
352
MCPWM Yes
You can’t perform that action at this time.
0 commit comments