Hello NXP Team,
I am working on an S32K144 project using:
MCAL Package: S32K1XX_MCAL4_2_RTM_1_0_6
AUTOSAR Version: 4.2.2
EB Tresos Version: 29.0
Device: S32K144
I am facing an issue where a GPT notification callback is not being triggered, although the timer itself appears to be running correctly.
GPT Configuration
The GPT channel is configured in EB Tresos as:
Hardware Module: SRTC
Channel: SRTC_0_CH_0
Mode: Continuous
Notification: Enabled
extern void Gpt_Notification(void);
static CONST(Gpt_ChannelConfigType, GPT_CONST) Gpt_InitChannelPB[1] =
{
{
(boolean)FALSE,
&Gpt_Notification,
...
(Gpt_ChannelModeType)(GPT_CH_MODE_CONTINUOUS),
{
(uint8)(SRTC_0_CH_0),
(uint8)(GPT_SRTC_MODULE),
...
}
}
};
The value returned by Gpt_GetTimeElapsed()(used in application code ) continuously increases during runtime, indicating that:
GPT initialization is successful.
GPT timer starts successfully.
SRTC timer is counting correctly.
However:
Gpt_Notification() is never called.
Breakpoint inside Gpt_Notification() is never hit.
Could you please help clarify:
Is there any known issue with GPT notifications on SRTC_0_CH_0 in S32K1XX_MCAL4_2_RTM_1_0_6?
Does SRTC-based GPT require any additional NVIC or interrupt configuration outside the GPT module configuration?
or any other point, that may have missed.
Regards,
Aishwarya