Skip to content

How can ESP32c6 be awakened by slave sdio after entering light sleep? #592

Open
@helpfile

Description

@helpfile

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

SDIO can wake up light sleep

Actual behavior (suspected bug)

We are now using the hosted mode of esp32c6, and using slave sdio to communicate with other master controllers.
Please tell me how to wake up the esp32c6 after it enters light-sleep by slave sdio?

I read in the specification that sdio can wake up light-sleep.
However, there is only one definition in the entire hosted code, and there is no other related code.
The hosted code is the latest version cloned from the official website last week, and the idf version is 5.4

Error logs or terminal output

lucid@ub24:/dev/shm/esp-hosted$ grep -r "PMU_SDIO_WAKEUP_EN"  ./
./esp_hosted_fg/esp/esp_driver/esp-idf/components/esp_hw_support/port/esp32c6/private_include/pmu_bit_defs.h:#define PMU_SDIO_WAKEUP_EN          BIT(8)
./esp_hosted_fg/esp/esp_driver/esp-idf/components/esp_hw_support/port/esp32p4/private_include/pmu_bit_defs.h:#define PMU_SDIO_WAKEUP_EN              BIT(0)
./esp_hosted_ng/esp/esp_driver/esp-idf/components/esp_hw_support/port/esp32c6/private_include/pmu_bit_defs.h:#define PMU_SDIO_WAKEUP_EN          BIT(8)
./esp_hosted_ng/esp/esp_driver/esp-idf/components/esp_hw_support/port/esp32p4/private_include/pmu_bit_defs.h:#define PMU_SDIO_WAKEUP_EN              BIT(0)
lucid@ub24:/dev/shm/esp-hosted$

Steps to reproduce the behavior

Start up

Project release version

NG-1.0.3.0.12

System architecture

other (details in Additional context)

Operating system

Linux

Operating system version

esp32c6 sdk

Shell

ZSH

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions