S12G128 close watchdog
‎07-20-2023
10:38 PM
1,011 Views
ZhaozhangChen
Contributor I
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think there is no way to close watchdog on S12G DataSheet, can you tell me to close watchdog on S12G128?thank you
2 Replies
‎07-21-2023
02:29 AM
997 Views

NXP TechSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ZhaozhangChen,
Yes, it can be disabled this way.
Please note that this is a write-once register in Normal mode.
The register is loaded from the Flash IFR (FOPT) during the reset sequence.
A constant can be place at the IFR.
E.g.
//set FOPT = 0xFF (at 0xFF0E) and FSEC = 0xFE (at 0xFF0F)
//place the constant at address 0xFF08
const unsigned char flash_array[] @@0xFF08= {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFE}
Regards,
Daniel
‎07-20-2023
10:57 PM
1,004 Views
ZhaozhangChen
Contributor I
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can we close watchdog if we set CR0, CR1, CR2 to 0?
