NXP: MCXN947: HWINFO: Add implementation of hwinfo_get_reset_cause API in HWINFO module for MCXN947 MCU #84114
Labels
area: HWINFO
Hardware Information Driver
Enhancement
Changes/Updates/Additions to existing features
platform: NXP
NXP
Is your enhancement proposal related to a problem? Please describe.
I am working with frdm_mcxn947 board.
Currently the HWINFO module only implements uuid api.
The API for Reset reason is not implemented.
Describe the solution you'd like
please implement the hwinfo_get_reset_cause API
Describe alternatives you've considered
the gathering of reset cause can also be done using manufacturers hardware libraries and register definitions.
But the resulting information must be converted to the zephyr information enums manually.
Additional context
hwinfo_get_device_id() for this MCU is implemented in hwinfo_mcux_syscon.c
For this MCU theregister containing the relevant information is the System Reset Status SRS or Sticky SystemReset Status SSRS that can be found in the Core Mode Controller CMC module.
See MCXN947 reference manual page 1447ff.: 38.7.1.8 System Reset Status (SRS)
The text was updated successfully, but these errors were encountered: