-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Labels
area: Power Managementarea: UARTUniversal Asynchronous Receiver-TransmitterUniversal Asynchronous Receiver-TransmitterbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXP DriversNXP Semiconductors, driversNXP Semiconductors, drivers
Description
Describe the bug
The PM action saves the interrupts enabled using a global variable called usart_intenset. The problem is when you have multiple uart instances that have different configurations, when entering/exiting from a power level, only one configuration is saved and will be applied to all uart instances when exiting from a power level. We need to keep this setting individual for each instance.
Regression
- This is a regression.
Steps to reproduce
- Enable multiple UART instances
- Select
CONFIG_PM=yand enabled thestandbynode for PM3 mode - Force the app to enter the Idle state for at least 351ms so the PM policy will enter Standby (PM3) mode
The INTEN register for all UART instances will be saved and then restored using the single usart_intenset variable.
Relevant log output
Impact
Functional Limitation – Some features not working as expected, but system usable.
Environment
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
area: Power Managementarea: UARTUniversal Asynchronous Receiver-TransmitterUniversal Asynchronous Receiver-TransmitterbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXP DriversNXP Semiconductors, driversNXP Semiconductors, drivers