S32K3 sample code about SWT_Ip and Wdg.

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

S32K3 sample code about SWT_Ip and Wdg.

1,639 Views
StephenYeh
Contributor III

Hi Sir,

Would you share us about Wdg_Ip(Non-AutoSAR version) sample code?

0 Kudos
Reply
3 Replies

1,614 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @StephenYeh,

There is only the Swt_Ip non-autosar driver (example: Swt_Ip_Example_S32K344), because the MCU has the SWT watchdog module.

The Autosar Wdg driver calls the Swt_Ip driver (in Wdg_Ipw.c)

danielmartynek_0-1663681127004.png

 

BR, Daniel

 

0 Kudos
Reply

1,601 Views
StephenYeh
Contributor III

Hi Daniel

Thanks,

I check the SWT and WDG from datasheet.

The WDG can support POC(Power -on Reset) but SWT don't support (POC), right?

This is why we need the sample code about the Wdg_Ip sample code.

StephenYeh_0-1663727492641.png

 

StephenYeh_1-1663727715913.png

 

 

0 Kudos
Reply

1,570 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Stephen,

The WDG driver is not a POR_WDG driver.

The WDG driver is an MCAL driver that configured the SWT module like the SWT_Ip driver does.

I have gone through the RTD drivers, but it seems like the POR_WDG does not have any RTD API.

 

Best regards,

Daniel

0 Kudos
Reply