mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
docs(nimble): Added gpio configuration table for esp32p4
This commit is contained in:
parent
5710425216
commit
d6105439b7
@ -11,15 +11,26 @@ This example uses esp32 chip to run the example `bleprph_host_only` that runs th
|
||||
|
||||
![Hardware Setup](hardware_setup.png)
|
||||
|
||||
Note that the esp32 gpio pins tx=4 and rx=5 are configurable using idf.py menuconfig -> example config -> Uart Configuration. The tx pin of one chip connectes to the rx pin of the other and vice versa.
|
||||
Note that the esp32 gpio pins tx=4 and rx=5 are configurable using idf.py menuconfig -> example config -> Uart Configuration. The tx pin of one chip connects to the rx pin of the other and vice versa.
|
||||
|
||||
Below is the pin connection chart for Esp32 and esp32c6.
|
||||
The gpio pins for hci example are configurable through idf.py menuconfig -> Component config -> Bluetooth -> Controller Options -> HCI Config
|
||||
|
||||
Below is the pin connection chart for Esp32(Running host) and esp32c6(Running controller).
|
||||
|
||||
| Esp32 (Signal) | Esp32 (GPIO Pin) | C6 (Signal) | C6 (GPIO Pin) |
|
||||
|----------------|-------------------|-------------|---------------|
|
||||
| Rx | 5 | Tx | 5 |
|
||||
| Tx | 4 | Rx | 12 |
|
||||
|
||||
The same pin configuration could be used for esp32c3, esp32s3, esp32c2 and esp32c6.
|
||||
For esp32p4 use the following configuration.
|
||||
|
||||
| P4 (Signal) | P4 (GPIO Pin) | C6 (Signal) | C6 (GPIO Pin) |
|
||||
|----------------|-------------------|-------------|---------------|
|
||||
| Rx | 22 | Tx | 5 |
|
||||
| Tx | 21 | Rx | 12 |
|
||||
|
||||
|
||||
```c
|
||||
#define UART_TX_PIN (4)
|
||||
#define UART_RX_PIN (5)
|
||||
|
Loading…
Reference in New Issue
Block a user