Skip to content

Conversation

@ZhaoxiangJin
Copy link
Contributor

This commit enables MCXN236, MCXN947 LPUART pin internal pullup resistor. For MCXN947 and MCXN236, during LPUAR initialization, the RX pin is pulled down internally and STAT[RAF] is set to one. In this state, attempting to enter low power mode will trigger LPACK reset and therefore cannot truly enter low power mode. The correct setting should be to enable LPUART pin internal pullup resistor.

@ZhaoxiangJin
Copy link
Contributor Author

I can reproduce the twister failure in zephyr and mcuboot latest main, it seems several NXP platforms have recently been broken in main. cc @hakehuang

@hakehuang
Copy link
Contributor

I can reproduce the twister failure in zephyr and mcuboot latest main, it seems several NXP platforms have recently been broken in main. cc @hakehuang

#97020 @ZhaoxiangJin Thanks for notifying.

@ZhaoxiangJin ZhaoxiangJin force-pushed the enable-nxp-lpuart-pin-internal-pullup-resistor branch from ac83e81 to 778b5dc Compare October 8, 2025 04:41
@ZhaoxiangJin
Copy link
Contributor Author

I can reproduce the twister failure in zephyr and mcuboot latest main, it seems several NXP platforms have recently been broken in main. cc @hakehuang

#97020 @ZhaoxiangJin Thanks for notifying.

Hello @hakehuang, I see #97020 is closed, I tried to rebase to the latest main, but the CI still get failures, could you please help check again? Thanks!

@hakehuang
Copy link
Contributor

Hello @hakehuang, I see #97020 is closed, I tried to rebase to the latest main, but the CI still get failures, could you please help check again? Thanks!

there is another issue reported #97021

@dleach02 dleach02 added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Oct 13, 2025
@ZhaoxiangJin ZhaoxiangJin force-pushed the enable-nxp-lpuart-pin-internal-pullup-resistor branch from 778b5dc to bbccb5d Compare October 15, 2025 01:29
@ZhaoxiangJin
Copy link
Contributor Author

Update:
Just rebased to the top main to fix the CI issue, no code change

@ZhaoxiangJin
Copy link
Contributor Author

CI has been broken once again. ++@hakehuang for checking.

@hakehuang
Copy link
Contributor

CI has been broken once again. ++@hakehuang for checking.

Thanks notifying, checking

@hakehuang
Copy link
Contributor

hakehuang commented Oct 15, 2025

#97021 is not resolved yet.
#97581 #97583 newly introduced

This commit enables MCXN236, MCXN947 LPUART pin internal
pullup resistor. For MCXN947 and MCXN236, during LPUAR
initialization, the RX pin is pulled down internally
and STAT[RAF] is set to one. In this state, attempting
to enter low power mode will trigger LPACK reset and
therefore cannot truly enter low power mode. The correct
setting should be to enable LPUART pin internal pullup
resistor.

Signed-off-by: Zhaoxiang Jin <[email protected]>
@ZhaoxiangJin ZhaoxiangJin force-pushed the enable-nxp-lpuart-pin-internal-pullup-resistor branch from 66e26cf to c1fdcd3 Compare October 20, 2025 15:34
@sonarqubecloud
Copy link

@cfriedt cfriedt merged commit 43c223e into zephyrproject-rtos:main Oct 20, 2025
23 checks passed
@ZhaoxiangJin ZhaoxiangJin deleted the enable-nxp-lpuart-pin-internal-pullup-resistor branch October 21, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Boards/SoCs platform: NXP MCU platform: NXP NXP Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants