To support S32k148EVB on S32K14X_MCAL4_2_RTM_1_0_0

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

To support S32k148EVB on S32K14X_MCAL4_2_RTM_1_0_0

1,562件の閲覧回数
english0815
Contributor I

As we known, the software package S32K14X_MCAL4_2_RTM_1_0_0 is built to support S32K144 EVB by default.

How can I modify it to support S32K148EVB ?

Thanks.

0 件の賞賛
返信
7 返答(返信)

1,432件の閲覧回数
cuongnguyenphu
NXP Employee
NXP Employee

Hi @english0815 ,
I checked again and this project config for MCU module is wrong.
Then I create a new project with tested MCU module for you.
You can refer my MCU config or follow User manual which is attached in doc folder of MCU module in installation package to config as you own

0 件の賞賛
返信

724件の閲覧回数
bahar
Contributor I

Hello, firstly thank you this, sample_app_mcal_148. 

Actually, I'm still a newbie at Autosar. So i want to compile this project on the Tresos IDE and test on the S32K148 board. How exactly should I proceed once I download the sample? Because when i directly import the project to Tresos, i couldn't load MCAL modules.

Best regards.

0 件の賞賛
返信

1,527件の閲覧回数
cuongnguyenphu
NXP Employee
NXP Employee

Hi @english0815 ,
You can use my attached project to work with S32k148EVB.
If you want to modify it from S32K144 EVB, you can change ResourceSubderivative in EBTresos to S32K148 in Resource module.

cuongnguyenphu_0-1646223042278.png


Then modify other modules that you need in EBT (ADC, FEE, PWM...).
Finally, use linker file that I attached in my project:
toolchains\autosar_flash.gld, toolchains\autosar_flash.icf, autosar_flash.ld (This is linker files for S32K148 target)

0 件の賞賛
返信

1,105件の閲覧回数
AbhishekK
Contributor II
Hello #cuongnguyenphu
Can you Please share me the sample Application for s32k144 Evb (S32K14X_MCAL4_2_RTM_1_0_0) .
I have gone through NXP website .I am unable to find the above Package.
0 件の賞賛
返信

1,095件の閲覧回数
mikedoidge
NXP Employee
NXP Employee

Hello @namnguyenviet, can you confirm if this example project is part of the RTD for S32K1xx? If not, do you know where to locate it?

Thanks

Mike

0 件の賞賛
返信

1,087件の閲覧回数
namnguyenviet
NXP Employee
NXP Employee

Hi @mikedoidge 

The S32K14X_MCAL4_2_RTM_1_0_0 is the legacy MCAL rather than the RTD, which supports AUTOSAR 4.4 and above. The example is included in the package. Since it's an older version (the latest one is S32K14X_MCAL4_2_RTM_1_0_4), customer needs to create a ticket in support.nxp.com in order to grant the access to it.

Best Regards,

Nam

0 件の賞賛
返信

1,471件の閲覧回数
english0815
Contributor I

Hi @cuongnguyenphu ,

I integrate your sample_app_mcal_148 with MCAL driver (S32K14X_MCAL4_2_RTM_1_0_0) and then build it on NXP S32 DS. 

There are something wrong on system clock generator module (SCG).

I tried to debug it and found out that it fall into PLL status loop check like below.

=============================================================

Mcu_Init(&McuModuleConfiguration);

Mcu_InitClock(McuClockSettingConfig_0);

while ( MCU_PLL_LOCKED != Mcu_GetPllStatus() )
{
/* wait until all enabled PLLs are locked */
}

=============================================================

Does the clock setting of s32k144 is the same to s32k148?

Thanks for any suggestion.

0 件の賞賛
返信