osif_time_delay function for DS3.5

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

osif_time_delay function for DS3.5

2,357 次查看
towenyu
Contributor III

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?

towenyu_0-1705486756844.png

 

标记 (1)
0 项奖励
回复
6 回复数

2,329 次查看
towenyu
Contributor III

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

0 项奖励
回复

2,319 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

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:

Julin_AragnM_0-1705611328916.png

Julin_AragnM_1-1705611416943.png

I hope you find this helpful!

Best regards,
Julián

 

 

2,315 次查看
towenyu
Contributor III

Thanks for your clear instruction. Unfortunately I'm using S32K344, not sure if the S32K1XX RTM package is applicable? 

 

Best Regards,

Yu

0 项奖励
回复

2,296 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

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. 

2,261 次查看
towenyu
Contributor III

Thanks, I will try this way.

 

Best Regards,

Yu

0 项奖励
回复

2,338 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

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.