Skip to content

Conversation

@kasjer
Copy link
Contributor

@kasjer kasjer commented Jan 20, 2026

Code was modifying UART PSEL configuration even
when peripheal was alreay enabled.

In normal case this is not a problem since during
hal_uart_init is called peripheral is not enabled. However when booloader already enabled UART and
application tried to used peripheral with different pin configuration change would not be apply

With this change peripheral is disabled before
modification it will be enabled later when needed.

Code was modifying UART PSEL configuration even
when peripheal was alreay enabled.

In normal case this is not a problem since during
hal_uart_init is called peripheral is not enabled.
However when booloader already enabled UART and
application tried to used peripheral with different
pin configuration change would not be apply

With this change peripheral is disabled before
modification it will be enabled later when needed.

Signed-off-by: Jerzy Kasenberg <[email protected]>
@github-actions github-actions bot added Nordic Nordic related size/xs labels Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Nordic Nordic related size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant