how dose the gpt prescaler work in s32k1

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

how dose the gpt prescaler work in s32k1

126 Views
Esther_qian
Contributor I

Hello there, 
I am Using S32K144 and I am trying to configure WDG component through tresos EB v23 , MCAL v1.0.1.

I have implemented the WDG fine and linked the a GPT channel for the WDG, but I am having trouble refreshing the WDG. I found that the gpt compare value is calculated by a 125k clock, but the cnt may not be counted by 125k? the Wdg_au16Timeout is rapidly reduced from 1000 to 0, so I didn't have time to call Wdg_SetTriggerCondition in a 10ms task.

Esther_qian_0-1712918175425.png

Esther_qian_1-1712918197171.png

Esther_qian_2-1712918545191.png

Esther_qian_4-1712918581945.png

Esther_qian_5-1712918636737.png

 

 

so can any one help ?

0 Kudos
1 Reply

76 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Esther_qian

Could you please provide more details about the implementation?

 

B.R

VaneB

0 Kudos