espressif / esp-hosted

Hosted Solution (Linux/MCU) with ESP32 (Wi-Fi + BT + BLE)
Other
675 stars 158 forks source link

Are both the reset pin and the enable pin necessary? #352

Closed lipengvita closed 6 months ago

lipengvita commented 6 months ago

Acorrding the esp-host-ng main. c "MODULE_PARM_DESC(resetpin, "Host's GPIO pin number which is connected to ESP32's EN to reset ESP32 device"); " , Just notify the resetpin to reset esp32 ,not use the enable gpio。 Dose it mean Just need connect EN or Reset on pin to the cpu

mantriyogesh commented 6 months ago

Some ESP chipsets have 'RST' pin, while others have 'EN'. Yes the idea is whichever is available on your ESP chipset , you can connect it to your MCU/MPU GPIO.

MCU/MPU is controller of this pin output. You may need to configure this pin. In Linux, say using Device tree conf. In MCU, the configuration tool supported or through the code.