Hi @Embedded_Engineer,
Something important to point out is a recommendation in the Reference Manual that is to make sure the GDET is disabled at startup to avoid false triggers, this is already done in the SDK(in startup code), this depends on the application this is only a recommendation.

The example of the MCXN94x was created earlier on and will not likely work properly in the MCXN23x due to recommendation but you can still use it for reference.
The operations that can be done with the GDET are the following:
Monitor/clear events using SYSCON->GDETn_CTRL
Change GDET configuration when CORE_VDD voltage changes
Set SYSCON->GDETn_CTRL[GDET_ISO_SW] = 10b (must set the value in both GDETn_CTRL register for it to take effect)
Change the CORE_VDD voltage
Configure GDETn->GDET_DLY_CTRL[VOL_SEL] based on the CORE_VDD voltage
Set GDETn->GDET_RESET[SFT_RST]
Clear both SYSCON->GDETn_CTRL[GDET_ISO_SW] fields
The register descriptions can be found in the secure reference manual.
Check if this applies for your project.
Hope it helps you!