Skip to content
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.

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

STM32 Cellular/LWIP/PPP 100ms periodic wake after shutdown #15520

Open
chrissnow opened this issue Jun 21, 2024 · 0 comments
Open

STM32 Cellular/LWIP/PPP 100ms periodic wake after shutdown #15520

chrissnow opened this issue Jun 21, 2024 · 0 comments

Comments

@chrissnow
Copy link
Contributor

Description of defect

During power optimisation of a design it has become clear there is an issue with clearing down a cellular connection.
If I allow the modem to get as far at attach then shutdown everything is fine but if we use the normal connect\disconnect the device will wake up every 100ms forever and I cant figure out why or what it's executing!
image
sleep tracing shows the following.

deepsleep locked by: [lp_ticker.c x 1] [SysTimer.cpp x 1]
deepsleep locked by: [lp_ticker.c x 1]
deepsleep locked by: [lp_ticker.c x 1]
deepsleep unlocked
deepsleep locked by: [lp_ticker.c x 1] [SysTimer.cpp x 1]
deepsleep locked by: [lp_ticker.c x 1]
deepsleep locked by: [lp_ticker.c x 1]
deepsleep unlocked
deepsleep locked by: [lp_ticker.c x 1] [SysTimer.cpp x 1]
deepsleep locked by: [lp_ticker.c x 1]
deepsleep locked by: [lp_ticker.c x 1]
deepsleep unlocked

Target(s) affected by this defect ?

Likely all combinations of targets that use PPP and Cellular.
I am using a STM32WB and a Quectel EG916 (sng the EC2x driver)

Toolchain(s) (name and version) displaying this defect ?

ARMC6

What version of Mbed-os are you using (tag or sha) ?

Master

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

mbed-cli

How is this defect reproduced ?

Use a cellular modem in an application that should deep sleep.

@chrissnow chrissnow changed the title Cellular/LWIP/PPP 100ms periodic wake after shutdown STM32 Cellular/LWIP/PPP 100ms periodic wake after shutdown Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Untriaged
Status: Needs Triage
Development

No branches or pull requests

2 participants