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

drivers: serial: stm32u5: Serial wakeup is based on autonomous capability #65532

Merged

Conversation

erwango
Copy link
Member

@erwango erwango commented Nov 21, 2023

On some devices such as STM32U5, there is no UART WKUP dedicated registers as the hardware block has an integrated autonomous wakeup capability. Hence it's capable to wake up the device from stop modes (down to Stop 1).

This behavior relies on RCC UESM bit which is enabled by default at reset and not modified today in drivers.
Since driver will not compile otherwise, remain in this simple configuration. This might be changed later on, if a need is seen to disable UESM bit.

…lity

On some devices such as STM32U5, there is no UART WKUP dedicated registers
as the hardware block has an integrated autonomous wakeup capability.
Hence it's capable to wake up the device from stop modes (down to Stop 1).

This behavior relies on RCC UESM bit which is enabled by default at reset
and not modified today in drivers.
Since driver will not compile otherwise, remain in this simple
configuration. This might be changed later on, if a need is seen to disable
UESM bit.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Add a sample overlay for b_u585i_iot02a

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
@zephyrbot zephyrbot added area: Samples Samples area: UART Universal Asynchronous Receiver-Transmitter labels Nov 21, 2023
@erwango erwango added Hotfix Fix for issues blocking development, i.e. CI issues, tests failing in CI, etc. and removed area: UART Universal Asynchronous Receiver-Transmitter area: Samples Samples labels Nov 21, 2023
@zephyrbot zephyrbot added the platform: STM32 ST Micro STM32 label Nov 21, 2023
@erwango
Copy link
Member Author

erwango commented Nov 21, 2023

@henrikbrixandersen This is fixing a compilation issue that might be seen in CI

@dleach02
Copy link
Member

Do we have insight into how the current build failure was introduced and not caught by CI?

ping: @nashif, @stephanosio

@fabiobaltieri
Copy link
Member

Do we have insight into how the current build failure was introduced and not caught by CI?

ping: @nashif, @stephanosio

prob the same testplan shortcomings that Anas is working on addressing in #65257

@fabiobaltieri fabiobaltieri merged commit 7be1a81 into zephyrproject-rtos:main Nov 21, 2023
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hotfix Fix for issues blocking development, i.e. CI issues, tests failing in CI, etc. platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants