> For the complete documentation index, see [llms.txt](https://cavedu.gitbook.io/linkit-7697/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cavedu.gitbook.io/linkit-7697/linkit-7697-development-guide-for-arduino-ide/developer-guide/initial-pin-state-of-linkit-7697.md).

# Initial Pin State of LinkIt 7697

The table below shows the HIGH/LOW state of each pin in LinkIt 7697, along with the reason why.

* **Pin #**: Pin number of the onboard silk print.
* **GPIO #:** GPIO number on the pin-out diagram and datasheet.
* **Resetting**: pin state when pressing the **RST** key of LinkIt 7697.
* **Bootloader default**: pin state after bootup and before Arduino APIs altering the pin mode and state.

|           |            |               |                        |                                                                                                                                                                   |
| --------- | ---------- | ------------- | ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Pin #** | **GPIO #** | **Resetting** | **Bootloader deafult** | **Note**                                                                                                                                                          |
| `P0`      | `2`        | H             | H                      | <p>During resetting, this pin is pulled-up by the CP2102N chipset.</p><p>After rebooting, the bootloader configures it in UART mode and hence the HIGH state.</p> |
| `P1`      | `3`        | L             | H                      | After rebooting, the bootloader configures it in UART mode and hence the HIGH state.                                                                              |
| `P2`      | `0`        | L             | L\*                    | \*After updating the bootloder in Arduino BSP version v0.8.1                                                                                                      |
| `P3`      | `39`       | L             | L                      |                                                                                                                                                                   |
| `P4`      | `34`       | H             | L                      | During resetting, this is the default behavior of the RTL design of the chipset.                                                                                  |
| `P5`      | `33`       | H             | L                      | During resetting, this is the default behavior of the RTL design of the chipset.                                                                                  |
| `P6`      | `37`       | L             | H                      | After bootup: bootloader configured this pin as UART\_TX and now changed to GPIO after the current commit.                                                        |
| `P7`      | `36`       | L             | L                      |                                                                                                                                                                   |
| `P8`      | `27`       | H             | H                      | Onboard I2C pull-up circuit                                                                                                                                       |
| `P9`      | `28`       | H             | H                      | Onboard I2C pull-up circuit                                                                                                                                       |
| `P10`     | `32`       | L             | L                      |                                                                                                                                                                   |
| `P11`     | `29`       | L             | L                      |                                                                                                                                                                   |
| `P12`     | `30`       | L             | L                      |                                                                                                                                                                   |
| `P13`     | `31`       | L             | L                      |                                                                                                                                                                   |
| `P14`     | `57`       | L             | L                      |                                                                                                                                                                   |
| `P15`     | `58`       | L             | L                      |                                                                                                                                                                   |
| `P16`     | `59`       | L             | L                      |                                                                                                                                                                   |
| `P17`     | `60`       | L             | L                      |                                                                                                                                                                   |
