I can find platform.driver.osif in the components selection, but there's no osif_time_delay function in the generated osif.h.
only below function definitions are found:
OsIf_Init(const void* Config)
OsIf_GetCounter(OsIf_CounterType SelectedCounter)
OsIf_GetElapsed(uint32 * const CurrentRef, OsIf_CounterType SelectedCounter)
OsIf_SetTimerFrequency(uint32 Freq, OsIf_CounterType SelectedCounter)
OsIf_MicrosToTicks(uint32 Micros, OsIf_CounterType SelectedCounter)
Is there any way to get osif_time_delay get ready to use?
Thanks Julian for your kind support. Could you please instruct me on how to get the S32DSK RTM package? Is it installed inside or outside of S32DS? I'm easy to get lost in tremendous similar links/files.
Best Regards,
Yu
Hi @towenyu,
You can install the package through S32DS by going to "Help > S32DS Extensions and Updates" and searching for the S32SDK S32K1XX RTM 4.0.1 package:
I hope you find this helpful!
Best regards,
Julián
Thanks for your clear instruction. Unfortunately I'm using S32K344, not sure if the S32K1XX RTM package is applicable?
Best Regards,
Yu
Hi @towenyu,
Unfortunately the RTM package is not available for the S32K3 family. I would recommend using it as a base and porting the function into your project, as there is no function in the RTD's (S32K3 package). I apologize for any inconveniences this may cause.
Best regards,
Julián.
Thanks, I will try this way.
Best Regards,
Yu
Hi @towenyu,
Unfortunately, the OsIf_TimeDelay function is not implemented in the RTD AUTOSAR 4.4 package. I will look into it with the corresponding team.
The function OsIf_TimeDelay can be found in the S32DSK RTM package under "SDK > OSIF.h > OSIF_TimeDelay". I apologize for the inconveniences this may cause.
Best regards,
Julián.