S32K1: Upgrade from RTD V1.0.1 to V2.0.0 and using OsIf module

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

S32K1: Upgrade from RTD V1.0.1 to V2.0.0 and using OsIf module

1,362件の閲覧回数
superbird
Contributor I

Hello,

In an existing project I'm using the S32K144 with RTD V1.0.1. Now I want to update to the latest version RTD V2.0.0. Unfortunately, I'm facing some problem here regarding the OsIf module: 

Because I want to use the System Timer for Timeout Detection, I have configured (RTD V1.0.1) in the following way:  

superbird_0-1707121390281.png

In RTD V2.0.0, however, the OsIf module is no longer available as a separate module, but has been integrated into the BaseNXP module:

superbird_1-1707121693917.png

But unfortunately there is no attribute to set the "core frequency" directly in the mask. I found out that a reference (OsIfSystemTimerClockRef) to the MCAL Mcu module can be configured. But I am not sure if there is another way to achieve the configuration of OsIfSystemTimer, since we have not used an AUTOSAR module (like Mcu) in the project so far. In our opinion it should be possible to use RTD drivers without AUTOSAR dependencies. Can you please give an explanation here?

Thank you.

 

  

ラベル(1)
0 件の賞賛
返信
1 返信

1,235件の閲覧回数
NamLee
NXP Employee
NXP Employee

Hi superbird,

In BaseNXP module should contain the node OsIfSystemTimerClockFreq, where user can configure System Timer Clock directly, not refer to Mcu Clock Reference

This implementation be developed but unfortunately it's not be merged in K1 2.0.0 release yet

(i checked driver of K3 and it has the same implementation for Osif system time clock)

NamLe_0-1709103375502.png

NamLe_1-1709103712702.png

We plan to merge this function in the next release of K1 2.0.0 RTD.

Sorry for this inconvenience,

Nam.

 

0 件の賞賛
返信