diff --git a/boards/mcimx95evk/sm/brd_sm_handlers.c b/boards/mcimx95evk/sm/brd_sm_handlers.c index 843d640..344ae0a 100755 --- a/boards/mcimx95evk/sm/brd_sm_handlers.c +++ b/boards/mcimx95evk/sm/brd_sm_handlers.c @@ -130,15 +130,6 @@ int32_t BRD_SM_SerialDevicesInit(void) status = SM_ERR_HARDWARE_ERROR; } - /* Disable XRESET monitor in STANDBY */ - if (status == SM_ERR_SUCCESS) - { - if (!PF09_XrstStbyEnable(&g_pf09Dev, false)) - { - status = SM_ERR_HARDWARE_ERROR; - } - } - /* Disable voltage monitor 1 */ if (status == SM_ERR_SUCCESS) { diff --git a/components/pf09/fsl_pf09.c b/components/pf09/fsl_pf09.c index 95e9371..2cc8199 100755 --- a/components/pf09/fsl_pf09.c +++ b/components/pf09/fsl_pf09.c @@ -194,9 +194,15 @@ static const mask_reg_t maskInfo[PF09_MASK_LEN] = /*--------------------------------------------------------------------------*/ bool PF09_Init(const PF09_Type *dev) { - uint8_t devId; + uint8_t revId; - bool rc = PF09_PmicRead(dev, PF09_REG_DEV_FAM_ID, &devId); + bool rc = PF09_PmicRead(dev, PF09_REG_REV_ID, &revId); + + /* Disable XRESET monitor in STANDBY */ + if (rc && (revId < 0x20U)) + { + rc = PF09_XrstStbyEnable(dev, false); + } return rc; }