S32G3 VR5510 PMIC Watchdog

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

S32G3 VR5510 PMIC Watchdog

Jump to solution
1,094 Views
Harish_R
Contributor III

Hi,

im  trying to implement PMIC watchdog on S32G3, i have multiple questions like:

1. with OTP configuration, is the OTP things done only on the production phase or is it possible to do something on development phase?? because i see OTP related configuration in EB Tool. For Eg. configuring the watchdog type (simple/Challenger)? are those coming into picture during development phase?

2. Regarding Watchdog i see default configuration for PMIC internal watchdog is challenger watchdog. configuration wise i have configured to simple watchdog to keep things simple without Q/A. but my question is this configuration coming into picture because as it's an OTP configuration related.

Major Issue: PMIC watchdog refresh doesn't happen. During Pmic_InitDevice-> Pmic_TriggerWatchdog. when debugging. after filling the buffers that are sent via I2C (data: seed value along with CRC) debugger gets detached, leaving no way for debugging. 

what i suspect is the configuration i have done from challenger to simple watchdog is taking not effect so when I'm trying to write seed while trigger watchdog. the above-mentioned behavior is happening. please correct me if im wrong.

Thanks in advance!!

Tags (2)
0 Kudos
Reply
1 Solution
906 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @Harish_R 

Thanks for the reply.

As described in the description.txt from the example directory, it is a configuration example,  it is a power Supply configuration using Pmic dirver with watchdog monitoring and watchdog window is disabled.....More information refers to VR5510 part numbers OTP ID and data sheet.

If you are developing watchdog related program, it is suggested referencing the two example together.

 

BR

Chenyin

View solution in original post

0 Kudos
Reply
7 Replies
907 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @Harish_R 

Thanks for the reply.

As described in the description.txt from the example directory, it is a configuration example,  it is a power Supply configuration using Pmic dirver with watchdog monitoring and watchdog window is disabled.....More information refers to VR5510 part numbers OTP ID and data sheet.

If you are developing watchdog related program, it is suggested referencing the two example together.

 

BR

Chenyin

0 Kudos
Reply
910 Views
Harish_R
Contributor III

Hi @chenyin_h 

i am using Pmic_Configuration_Autosar_Example_S32G399A_M7. and enabled watchdog as shown in below SS

 

Harish_R_3-1742365848571.png

Harish_R_0-1742365200998.png

is it still necessary to integrate/configure Wdg_VR5510(Wdg_43_VR5510_TS_T40D11M40I2R0) along with PMIC(Pmic_TS_T40D11M40I2R0) for first good watchdog refresh which put PMIC to normal_Fs state?

 

0 Kudos
Reply
920 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @Harish_R 

You are welcome.

Glad to hear that the Wdg_VR5510_Example_S32G399A_M7 example code works fine in your side, I am not sure the description "internal watchdog from PMIC", from my understanding, on RDB board, the internal watchdog of PMIC is the VR5510 watchdog.

 

BR

Chenyin

0 Kudos
Reply
1,024 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @Harish_R 

Thanks for the reply.

May I know which version RTD you are referring to? and which example is referenced, is it Wdg_VR5510_Example_S32G399A_M7?

The intention of PMIC_triggerwatchdog is to trigger device watchdog,  it is called by Wdg_VR5510_VR55XX_Trigger from the example, I suggest referencing the example directly.

 

BR

Chenyin

0 Kudos
Reply
1,059 Views
Harish_R
Contributor III

Hi @chenyin_h 

Thanks for your valuable reply,

i am using the default configuration by integrating PMIC_init and PMIC_initdevice from the RTD example. so, in the PMIC_initdecive-> PMIC_triggerwatchdog is called to trigger the watchdog for the first time which closes the INIT_FS and puts the PMIC to normal state. but in my case the First trigger doesn't happen before which the debugger detach happens.

 

0 Kudos
Reply
1,071 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @Harish_R 

Thanks for the post.

From my understanding, I do not think the OTP things could be updated via the configurations you mentioned. It could be done via specific tools.

For implementing watchdog code, I suggest referencing the examples:Wdg_VR5510_Example_S32G399A_M7, which could be found from RTD.

 

BR

Chenyin 

0 Kudos
Reply
941 Views
Harish_R
Contributor III

Hi @chenyin_h 

Apologize for the delay! with this Wdg_VR5510_Example_S32G399A_M7 example code is fine. but im trying to use internal watchdog from PMIC and have observed the reset behavior in Goldbox with PMIC example from RTD. is it not possible to use PMIC internal watchdog? 

 

BR 

Harish R

0 Kudos
Reply