UART0 Receive Wrong Data At Light-sleep With External 32.768kHz ...

Skip to content Dismiss alert {{ message }} / esp-idf Public
  • Notifications You must be signed in to change notification settings
  • Fork 7.4k
  • Star 14.1k
  • Code
  • Issues 1.6k
  • Pull requests 132
  • Actions
  • Projects
  • Security
  • Insights
Additional navigation options New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jump to bottom UART0 receive wrong data at light-sleep with external 32.768kHz XTAL (IDFGH-6438) #8098 Closed Rita858 opened this issue Dec 16, 2021 · 4 comments Closed UART0 receive wrong data at light-sleep with external 32.768kHz XTAL (IDFGH-6438) #8098 Rita858 opened this issue Dec 16, 2021 · 4 comments Assignees @jack0c Labels Awaiting Response awaiting a response from the author Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally

Comments

@Rita858 Copy link

Rita858 commented Dec 16, 2021

Environment

  • module used: ESP32-WROOM-32D
  • IDF version: release/v4.3(e493a4c)
  • Build System: [CMake|idf.py]
  • Refer Demo: BLE power save demo

Problem

module works fine in BLE power save demo until I added uart events function on(referring to uart_events.) it would receive wrong data unexpected. it would be alleviated when calling "gpio_hold_en" to keep specific pin enable. But the problem still not be solved.

lALPJxf-vLUeEgLNAibNBZg_1432_550

So, I wonder if there are other solution can fix it? Looking forward to your reply, thank you.

All reactions @espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 16, 2021 @github-actions github-actions bot changed the title UART0 receive wrong data at light-sleep with external 32.768kHz XTAL UART0 receive wrong data at light-sleep with external 32.768kHz XTAL (IDFGH-6438) Dec 16, 2021 @esp-lis Copy link Collaborator

esp-lis commented Mar 24, 2022

When the system is in light sleep, the uart will be suspended (the clock is gated). In the latest esp-idf version (c1b3049), an example of the light sleep uart wakeup has been added. The path is as follows: $IDF_PATH/examples/system/light_sleep/

All reactions @espressif-bot espressif-bot added Status: In Progress Work is in progress and removed Status: Opened Issue is new labels Mar 24, 2022 @jack0c Copy link Collaborator

jack0c commented Apr 14, 2022

Another problem is, compared with 32.768 KHz XTAL, 115200 baud rate is too high. Suggest send valid data after wake up from light sleep(need more wake up bytes).

All reactions @jack0c Copy link Collaborator

jack0c commented May 17, 2022

@Rita858 any update?

All reactions @Alvin1Zhang Alvin1Zhang added the Awaiting Response awaiting a response from the author label May 17, 2022 @jack0c Copy link Collaborator

jack0c commented Jun 15, 2022

I will close this issue for no response. Feel free to reopen if necessary.

All reactions @jack0c jack0c closed this as completed Jun 15, 2022 @espressif-bot espressif-bot assigned jack0c Jun 15, 2022 @espressif-bot espressif-bot added Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally and removed Status: In Progress Work is in progress labels Jun 15, 2022 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Assignees

@jack0c jack0c

Labels Awaiting Response awaiting a response from the author Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Projects None yet Milestone No milestone Development

No branches or pull requests

5 participants @jack0c @Alvin1Zhang @Rita858 @espressif-bot @esp-lis You can’t perform that action at this time.

Từ khóa » C1b30-49