i use S32K14X_MCAL4_2_RTM_1_0_4 to update 1.0.0 MCAL code, but the same config of wdg, tresos show below error
ERROR 20-08-11,17:29:03 (1019) Invalid value for node "/AUTOSAR/TOP-LEVEL-PACKAGES/ActiveEcuC/ELEMENTS/Wdg/WdgSettingsConfig/WdgSettingsConfig/WdgExternalTriggerCounterRef": LPIT should not be used as a triggering timer because there is a note in the RM that the CVALn register reads may not return the real value
i check the Wdg_ChannelSetTriggerCondition which will use CVALn, and Wdg_ChannelSetTriggerCondition is called by main loop.
so at the last version of mcal, it is impossible to set the lpit as the Wdg External Trigger Counter?
Dear yubo guo ,
Yes, it is impossible to set the lpit as the Wdg External Trigger Counter. Because the return value of CVALn register may not correct, so if we use the LPIT for Wdg, the Wdg may not reset in time.
Best regards,
Hung.
Hello Hung Nguyen Phi
But in my base project which use S32K14X_MCAL4_2_RTM_1_0_0, it is ok to set the lpit as the Wdg External Trigger Counter.
and also tresos could select the lpit and there is lpit case in Gpt_Ipw_GetTimeElapsed() which is called by Wdg_ChannelSetTriggerCondition.
Hello,
I would like to add the sample application for WDG.
Regards,
Nam
Thank you for your reply!
I tried to import the sample project, but it seems couldn't load the configuration.
how could i add the configuration module like the below etest project?