*******************************************************************************
The purpose of this demo application is to present a usage of the
SWT IP Driver for the S32K3xx MCU.
------------------------------------------------------------------------------
* Test HW: S32K3X2EVB-Q172
* MCU: S32K312
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************
With S32K312 device take care, HSE clock AIPS_SLOW_CLOCK ratio, kept 1:2 :--
Dinesh_Guleria_0-1706855323004.png
The example we use to trigger the SWT once & go to while(1) loop.
This will trigger the watchdog RESET.
Dinesh_Guleria_1-1706855535347.png
Then After RESET from SWT we will check at starting of main function, if RESET reason is SWT, then glow LED and wait in while(1) loop :--
Dinesh_Guleria_2-1706855589096.png