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: nrfx_uarte: Fix low power mode when RX is disabled #85370

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nordic-krch
Copy link
Collaborator

Macros for determining is low power mode shall be used where incorrect. UARTE_ANY_LOW_POWER was taking into account only instances which had CONFIG_UART_x_NRF_ASYNC_LOW_POWER enabled. There are also instances with property which also can use low power mode. Created IS_LOW_POWER_INST macro which correctly determines if instance is using low power mode.

Due to that error there was an increased current when polling uart was used withdisable-rx property.

Macros for determining is low power mode shall be used where incorrect.
UARTE_ANY_LOW_POWER was taking into account only instances which had
CONFIG_UART_x_NRF_ASYNC_LOW_POWER enabled. There are also instances
with property which also can use low power mode. Created
IS_LOW_POWER_INST macro which correctly determines if instance is using
low power mode.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
@zephyrbot zephyrbot added area: UART Universal Asynchronous Receiver-Transmitter platform: nRF Nordic nRFx labels Feb 7, 2025
Copy link

github-actions bot commented Apr 9, 2025

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: UART Universal Asynchronous Receiver-Transmitter platform: nRF Nordic nRFx Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants