osif_time_delay function for DS3.5

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

osif_time_delay function for DS3.5

2,344件の閲覧回数
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,316件の閲覧回数
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,306件の閲覧回数
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,302件の閲覧回数
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,283件の閲覧回数
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,248件の閲覧回数
towenyu
Contributor III

Thanks, I will try this way.

 

Best Regards,

Yu

0 件の賞賛
返信

2,325件の閲覧回数
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.