S32K312 : FS26 Watchdog trigger using the SBC_FS26 CDD

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

S32K312 : FS26 Watchdog trigger using the SBC_FS26 CDD

S32K312 : FS26 Watchdog trigger using the SBC_FS26 CDD

*******************************************************************************

 The purpose of this demo application is to present a usage of the
 FS26 watchdog timer refresh using the SBC_FS26 CDD

 ------------------------------------------------------------------------------
* Test HW: S32K3X2EVB-Q172
* MCU: S32K312
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************

Watchdog type :--
NXP eval boards has ASIL-D FS26 part with challenger watchdog.
The OTP of FS26 on the board uses challenger watchdog.

Dinesh_Guleria_0-1756718067313.png


Change watchdog in code :--
FS26 watchdog is started in disabled mode (means infinite period).
Later on we change the watchdog time in the code :--

Dinesh_Guleria_1-1756718132100.png

 

Dinesh_Guleria_2-1756718767003.png

 

Array Index for watchdog refresh timing  :--

Dinesh_Guleria_3-1756718995126.png

Example will run once you press switch USER_SW0 connected on PTB26 on the Evaluation board :--
Please add this type of check in your code, during development process so that, avoid any error due to FS26 watchdog mis trigger. When you use Debug FLASH then in that case code goes to flash memory & can cause your MCU to frequent RESET, which caused issue for reprogramming the NEW firmware on the board FLASH memory. If we add this type of check then we can avoid the Faulty FS26 Software to stop misbehaving before flashing new firmware on the board.
 

Dinesh_Guleria_0-1756719751273.png

 

Attachments
No ratings
Version history
Last update:
yesterday
Updated by: