restart pmic

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

restart pmic

6,559 Views
liyw
Contributor I

Test Request and Observation:

I have a test request where I need to frequently restart the MCU (Microcontroller Unit).

During the testing process, I observed that the PMIC (Power Management Integrated Circuit) FS84 entered the DEEP-FS mode. This may be due to frequent feeding of the Watchdog Timer (WD) trigger.

Issue Encountered:

When I restart the MCU, the PMIC does not restart. Therefore, I hope to restart the MCU by first restarting the PMIC.

Question:

However, I don't know how to restart the PMIC FS84 using an SPI (Serial Peripheral Interface) command.

Labels (1)
Tags (1)
0 Kudos
Reply
8 Replies

6,469 Views
liyw
Contributor I

Thank you to Tomas,

The FLT_ERR_CNT reached its limit due to an incorrect watchdog (WD) refresh. Here's how I plan to address it:

1.When the MCU starts, I will check if the PMIC has initialized. If it has, I will not feed the WD until a close window time. If the PMIC has not initialized, I will feed the WD immediately.
2.When I restart the MCU, I will check if the watchdog refresh time exceeds the close window. If it does, I will refresh the WD immediately.
3.By using this method, I will resolve the issue of incorrect WD refresh errors.

0 Kudos
Reply

6,536 Views
liyw
Contributor I

Hi,

   TomasVaverka, Thank you for your answer.
   Via testing, I know the cause of entered DEEP-FS mode is a bad refresh of WD. However, resetting the MCU is my purpose, so I don't want the PMIC to enter DEEP-FS mode.
1. how do I feed the watchdog? Currently, I feed the watchdog when the MCU starts.
2.how do I stop PMIC fault detection?

0 Kudos
Reply

6,532 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi,

1.png

 

2.png

 

3.png

 

4.png

BRs, Tomas

0 Kudos
Reply

6,521 Views
liyw
Contributor I

hi,

    Tomas,

    When I want to restart the MCU, the PMIC has entered the normal phase, not INIT_FS, and I cannot wait too long for the next good watchdog (WD) reset.

     So I cannot disable the watchdog timer. I hope to reset the MCU without triggering any errors. How should I do this?

liyw_0-1732065195207.png

 

0 Kudos
Reply

4,452 Views
quangvuanh
NXP Employee
NXP Employee
Hi Liyw, are you using SBC FS8X software driver provided by NXP?
0 Kudos
Reply

4,431 Views
liyw
Contributor I

yes

liyw_0-1735637394115.png

 

0 Kudos
Reply

4,427 Views
quangvuanh
NXP Employee
NXP Employee

Hi, I am not sure what software version that you are using with the snippet you provided.
By the way, based on the information you shared I think you should force the device into INIT_FS on every reset event, by setting this bit GOTO_INITFS in FS_SAFE_IOs register.

quangvuanh_0-1735639090325.png

 


Can you please also let me know what version of the driver that you are using?

0 Kudos
Reply

6,540 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi,

Here is a summary when the FS84 enters the DEEP-FS mode.

Screenshot 2024-11-19 104701.png

In your case I suppose that the FLT_ERR_CNT reached its limit due to incorrect WD refresh. 

Screenshot 2024-11-19 105039.png

The following methods can be used to exit the DEEP-FS mode.

Screenshot 2024-11-19 105219.png

BRs, Tomas

0 Kudos
Reply