Hello Muhammet Uyar ,
From my point of view, your issue may come from your configuration. Could you please share your configuration(GPT, Wdg, Mcu ). Normally I just need to call Wdg_init then the wdg register 's value will be change.
I would like to explain the concept of Wdg driver.
The Wdg driver will setup the:
- "Wdg Timeout Period" (user will set it in the Wdg 's configuraiton) Eg: WTP = 1s
- "Wdg Window Period" (user will set it in the Wdg 's configuraiton) Eg: WWP = 0.05s
- The duration for timer refresh watchdog = WWP + (WTP - WWP) / 2 = 0.05 +(1+0.05)/2= 0.525s
- The Wdg timeout will be set to "Wdg Initial Timeout" when the Wdg_init is called (user will set it in the Wdg 's configuraiton) Eg: WIT=2.5s.
With the above configuration the timer will refresh watchdog 4 times(2.5/0.525=4) before the watchdog reset MCU.
To make the timer continue refresh the watchdog, application will need to call "Wdg_SetTriggerCondition(TIME_OUT)" to extend the refresh time.

Best regards,
Hung