hi, im using s32k344, im trying to build a simple project to toggle a led and use timer as my delay.
i have included GPT as a peripheral and configured the settings of it using gpt_example as a reference, after that i added a clock and gave it 40MHZ as shown below

now im able to toggle the led but the timer on it is not 1 second although i used this function Gpt_StartTimer(GptConf_GptChannelConfiguration_GptChannelConfiguration_0, 40000000);
my channel tick frequency is also 40MHZ .
i used the function Mcu_GetClockFrequency(PIT0_CLK); to look at the frequency of the clock i got it as 12MHZ.
this is my clocks diagram :

im also sharing my code , can you please help me with this issue.
thanks.