Skip to content

Commit fd5fae2

Browse files
[nrf52,i2c] update doc (#5539)
* [nrf52,i2c] add extra doc * fix * fix * Update content/components/i2c.md * Update content/components/i2c.md Fix spelling --------- Co-authored-by: Jonathan Swoboda <[email protected]>
1 parent 83901b5 commit fd5fae2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/components/i2c.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ params:
99

1010
{{< anchor "i2c" >}}
1111

12-
This component sets up the I²C bus for your ESP32 or ESP8266. In order for these components
12+
This component sets up the I²C bus for your ESP32, ESP8266, RP2040 or NRF52. In order for these components
1313
to work correctly, you need to define the I²C bus in your configuration. Please note the ESP
1414
will enable its internal 10kΩ pullup resistors for these pins, so you usually don't need to
1515
put on external ones. You can use multiple devices on one I²C bus as each device is given a
@@ -39,7 +39,8 @@ i2c:
3939
Defaults to `true`.
4040

4141
- **frequency** (*Optional*, float): Set the frequency the I²C bus should operate on.
42-
Defaults to `50kHz`. Values are `10kHz`, `50kHz`, `100kHz`, `200kHz`, ... `800kHz`
42+
Defaults to `50kHz`. Default for NRF52 is `100kHz`. Values are `10kHz`, `50kHz`, `100kHz`, `200kHz`, ... `800kHz`.
43+
NRF52 supports only `100kHz` and `400kHz`.
4344

4445
- **timeout** (*Optional*, [Time](#config-time)): Set the I²C bus timeout.
4546
Defaults to the framework defaults (`100us` on `esp32` with `esp-idf`, `50ms` on `esp32` with `Arduino`,

0 commit comments

Comments
 (0)