Skip to content

fw/drivers/sf32lb52/uart: disable stop mode if RX is enabled#431

Merged
gmarull merged 1 commit into
coredevices:mainfrom
teslabs:uart-no-stop
Nov 6, 2025
Merged

fw/drivers/sf32lb52/uart: disable stop mode if RX is enabled#431
gmarull merged 1 commit into
coredevices:mainfrom
teslabs:uart-no-stop

Conversation

@gmarull
Copy link
Copy Markdown
Member

@gmarull gmarull commented Nov 6, 2025

We cannot use stop mode (deepsleep) if UART RX is enabled, otherwise the system would not react to UART input when in deepsleep. While this increases power consumption significantly, it is not critical as on release builds (except on MFG firmware) the dbgserial is turned off.

Fixes #427

We cannot use stop mode (deepsleep) if UART RX is enabled, otherwise the
system would not react to UART input when in deepsleep. While this
increases power consumption significantly, it is not critical as on
release builds (except on MFG firmware) the dbgserial is turned off.

Fixes coredevices#427

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
@gmarull gmarull merged commit 8d81c18 into coredevices:main Nov 6, 2025
18 checks passed
@gmarull gmarull deleted the uart-no-stop branch November 6, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stop mode breaks serial reception on SF32LB52/Obelix

2 participants