Merge branch 'feature/add_doc_for_p4' into 'master'

docs(nimble): Added gpio configuration table for esp32p4

See merge request espressif/esp-idf!29598
pull/13306/head
Rahul Tank 2024-03-13 20:37:13 +08:00
commit edc5466a80
1 zmienionych plików z 13 dodań i 2 usunięć

Wyświetl plik

@ -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)