S32G399 set VR5510 to standby mode, VR5510 reset happens

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

S32G399 set VR5510 to standby mode, VR5510 reset happens

173 Views
Yang_C
Contributor I

Hi all,

Recently, i was using S32G-VNP-GLDBOX3 to test VR5510 standby mode.

I was using the I2C + STBY pin transition(already confirmed the relevant OTP configuration), but every time when I set the STBY_REQ high and sent out the I2C request, VR5510 started to reset repetitively, i even didn't have a chance to set STBY pin.

The debug process is:

1. PGOOD and RESETB were both pulled up to VPRE in hardware setting.

2. I triggered watchdog and then initialized the VR5510 which also indicated FS0B was released.

3. after VR5510’s initialisation I checked the PMIC’s state which were good (Main and Fail safe Unit were both in normal state).

4. I disabled the STBY_TIMER_EN and set the TIMING_WINDOW_STBY to maximum which was 10ms.

5. after these configuration, I read the  FS_DIAG_SAFETY register which indicated no error and good watchdog refresh(only FCCU1 detects error, FCCU2 is not in use).

I saw several cases in the NXP community mentioning that before they enter the VR5510 standby mode, reset happened. Iook like this is a very common issue.

So do I miss any configurations? Or is there any hardware setting needs to be done before entering the standby mode?

Hope someone can give any suggestions or share the way they solve the problem.

0 Kudos
Reply
14 Replies

149 Views
guoweisun
NXP TechSupport
NXP TechSupport

Hi Yang:

Please try as below: 1: In the INIT phase disable FCCU function by setting as below ,also disable TIMING_WINDOW_STBY by setting as below  : You can try this then let me know the result.    

Thanks!     

guoweisun_2-1730270472622.png

 

guoweisun_1-1730270272285.png

 

 

You can try this then let me know the result.

Thanks!

 

 

 

0 Kudos
Reply

119 Views
Yang_C
Contributor I

Hi guoweisun,

Thanks for your suggestion, the PMIC doesn't reset now.

Could you please explain the reason, I didn't find any document mentiong that FCCU and standby_timing_window need to be disabled before PMIC entering the standby mode.

Apart from this confusion, I have another question: I am not quite sure how to set VR5510 STBY pin.

I viewed several similar cases in NXP community and also read the S32Gx Power Saving Techniques - AN12952, my understanding is I need to config S32G399 as well - set its mode by calling the Power_Ip_SetMode() function, when G3 is about to enter standby mode, its PMIC_STBY_MODE_B pin will be asserted. As this pin is connected to VR5510 STBY pin, then VR5510 will shut down corresponding bucks and LDOS and the whole system will enter the standby mode.

Is my understanding right?

Thank you again and look forward to your reply.

Yang

0 Kudos
Reply

97 Views
guoweisun
NXP TechSupport
NXP TechSupport

Hi Yang

 If you disable function of FCCU and standby_timing_window,you can enter into standby mode,right?

0 Kudos
Reply

86 Views
Yang_C
Contributor I

Hi guoweisun,

I can't enter into the standby mode, I am using the safety transition, so VR5510 STBY pin needs to be set after the I2C request.

Now I am stuck in setting the VR5510 STBY pin, my understanding is I should call the Power_Ip_SetMode() function to set this pin, I tried but didn't enter into the standby mode successfully, I reckon the patameter(Power_Ip_aModeConfigPB[0]) is not set properly for Power_Ip_SetMode(), but not sure what's wrong, do you have any suggestions or reference?

Yang_C_0-1730338664332.png

Thank you for your reply.

Yang

0 Kudos
Reply

80 Views
guoweisun
NXP TechSupport
NXP TechSupport

Hi Yang

The Safety path using an I2C request (STBY_REQ bit in the FS_SAFE_IOS register) and the STBY pin transition.

So in your side after execute your mentioned Power_Ip_SetMode() function ,did you test the STBY pin status to verify its action or not?

0 Kudos
Reply

74 Views
Yang_C
Contributor I

Hi guoweisun,

Thanks for your prompt reply.

I used the multimeter to test the STBY pin state which was high. If this pin can work, it should be low.

Following is the screenshot of where I configured the parameter(Power_Ip_aModeConfigPB[0]) of the Power_Ip_SetMode(&Power_Ip_aModeConfigPB[0]) function, my understanding is when the G3 enters into SOC_STANDBY, the STBY pin will be low.

Yang_C_0-1730341922314.png

 

Not sure i am using the right way to trigger STBY pin. Any suggestions?

Yang

0 Kudos
Reply

70 Views
guoweisun
NXP TechSupport
NXP TechSupport

Hi YANG

Do you mean before or after you call  Power_Ip_SetMode() function the  STBY pin always HIGH? No changed?

If yes, seem  Power_Ip_SetMode() function doesn't work,you can external pull low STBY pin to low to try.

 

0 Kudos
Reply

67 Views
Yang_C
Contributor I

Hi guoweisun,

After I called Power_Ip_SetMode() function the VR5510 STBY pin always HIGH, there's no change.

Pull VR5510 STBY low externally? This pin is connected to S32G399 PMIC_STBY_MODE_B which is a special function pin, I can't config it as a gpio.

when S32G399 enters into standby mode, it will set its PMIC_STBY_MODE_B to low therefore VR5510 STBY pin will be low accordingly, I can't do anything unless S32G399 itself triggered this pin.

By calling the Power_Ip_SetMode() function, my purpose is to set S32G399 to standby mode, but looks like it didn't work as I expected.

Yang

0 Kudos
Reply

63 Views
guoweisun
NXP TechSupport
NXP TechSupport

HI YANG

Actually I am not software engineer I only support VR5510 not the S32G.

In my opinion,since you can't set the STBY pin low by software,you have to directly pull it low externally in your board to verify whether it can enter into standby mode or not.

 

 

 

0 Kudos
Reply

58 Views
Yang_C
Contributor I

Hi guoweisun,

Thanks for your VR5510 support.

May I ask why I disabled FCCU monitoring and standby_timing_window, the VR5510 doesn't reset anymore?

Yang

0 Kudos
Reply

51 Views
guoweisun
NXP TechSupport
NXP TechSupport

Hi Yang

Because I saw you already have FCCU fault which effect RSTB or FS0B.

Disable standby_timing_window prevent timing expire before do action of enter into standby mode.

0 Kudos
Reply

47 Views
Yang_C
Contributor I

Oh, sorry for the misunderstanding.

In my post,  I want to express that I only use FCCU1 rather than FCCU12 to detect error, but by reading relevant register it shows there's no error.

Anyhow, now the reset doesn't happen.

Thanks for your help and above suggestions for VR5510.

Yang

0 Kudos
Reply

43 Views
guoweisun
NXP TechSupport
NXP TechSupport

Hi Yang

You are welcome!

0 Kudos
Reply

166 Views
Yang_C
Contributor I

by the way, i was using the Wdg_VR5510_IP_Example_S32G399A_M7 example project to modify my own configuration.

0 Kudos
Reply