Host MCU wake up by GPIO Pin

erich@bieris.net
Posts: 2
Joined: Sun Jul 03, 2022 2:43 pm

Host MCU wake up by GPIO Pin

Postby erich@bieris.net » Sun Jul 03, 2022 2:53 pm

Hi,

How can I configure the ESP32 with AT commands that when it receives a MQTT message it wakes up from sleep and then wakes up the host MCU via GPIO pin?

Sequence
1. put ESP32 in light sleep
2. put host MCU into sleep
3. MQTT message is received by ESP32
4. ESP32 pulls GPIO pin x from high to LOW
5. host MCU wakes up
6. ESP32 sends message to host MCU

Best regards,
Eric

ESP_Sun
Posts: 291
Joined: Thu Dec 30, 2021 9:52 am

Re: Host MCU wake up by GPIO Pin

Postby ESP_Sun » Fri Jul 08, 2022 6:24 am

Hi,

You can understand this command AT+USERWKMCUCFG (https://docs.espressif.com/projects/esp ... kes-up-mcu), maybe it can meet your needs.

Who is online

Users browsing this forum: No registered users and 31 guests