6a0cefc70cb8f411d0eb49adc4be6650f2cab328
Chip-cn-dat/Espressif-dat/ESP8266-DAT/ESP8266-HDK-dat/ESP8266-HDK-dat.md
| ... | ... | @@ -76,9 +76,32 @@ The ESP8266EX schematics include seven aspects: |
| 76 | 76 | • External resistor |
| 77 | 77 | • UART |
| 78 | 78 | |
| 79 | +## GPIO 16 |
|
| 79 | 80 | |
| 80 | 81 | |
| 81 | 82 | |
| 83 | +### ❌ What GPIO16 **Cannot** Do |
|
| 84 | + |
|
| 85 | +| Feature | Support | Notes | |
|
| 86 | +|---------------------------|---------|-----------------------------------------------------------------------| |
|
| 87 | +| PWM (analogWrite) | ❌ No | GPIO16 does **not support hardware PWM**. | |
|
| 88 | +| Interrupts (attachInterrupt) | ❌ No | Cannot be used for interrupts. | |
|
| 89 | +| I²C / SPI / UART | ❌ No | Not multiplexed for any peripheral functions. | |
|
| 90 | +| Analog input | ❌ No | ESP8266 has only one ADC (ADC0), not on GPIO16. | |
|
| 91 | +| Open-drain / Pull-up/down | ❌ No | Limited internal resistor configuration. | |
|
| 92 | +| Output during deep sleep | ⚠️ Caution | When used for deep sleep wake, it must not be driven externally. | |
|
| 93 | + |
|
| 94 | +--- |
|
| 95 | + |
|
| 96 | +### ✅ What GPIO16 **Can** Do |
|
| 97 | + |
|
| 98 | +| Feature | Support | Notes | |
|
| 99 | +|-----------------------|---------|-----------------------------------------------------------------| |
|
| 100 | +| Digital output | ✅ Yes | Use with `digitalWrite()`. | |
|
| 101 | +| Digital input | ✅ Yes | Use with `digitalRead()`. | |
|
| 102 | +| Deep sleep wake | ✅ Yes | Connect GPIO16 to RST to enable timed wake from deep sleep. |
|
| 103 | + |
|
| 104 | + |
|
| 82 | 105 | ## peripherals |
| 83 | 106 | |
| 84 | 107 | - [[serial-dat]] - [[LDO-dat]] |
Tech-dat/Network-dat/RF-dat/LORA-DAT/lora-hdk-dat/lora-hdk-dat.md
| ... | ... | @@ -17,6 +17,8 @@ |
| 17 | 17 | |
| 18 | 18 | - [[auto-serial-dat]] |
| 19 | 19 | |
| 20 | +(NSS_d + SCK + MOSI + MISO) + RESET + BUSY + DIO1 + RXEN + TXEN |
|
| 21 | + |
|
| 20 | 22 | def in UserConfig.h |
| 21 | 23 | |
| 22 | 24 | //spi |
| ... | ... | @@ -32,7 +34,6 @@ def in UserConfig.h |
| 32 | 34 | #define LCC68_MISO_PORT GPIOA |
| 33 | 35 | #define LCC68_MISO_PIN GPIO_PIN_6 |
| 34 | 36 | |
| 35 | - |
|
| 36 | 37 | #define LCC68_NRST_PORT GPIOA |
| 37 | 38 | #define LCC68_NRST_PIN GPIO_PIN_3 |
| 38 | 39 |