S32K Autosar MCAL - Issue with MCU setting

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

S32K Autosar MCAL - Issue with MCU setting

ソリューションへジャンプ
5,871件の閲覧回数
cbhavi
Contributor III

Hello,

I am generating and building a custom S32K project with Autosar MCAL by generating config in EB-Tresos. The frequency of the crystal connected to the XTAL pins is 16MHz. However, when i change the value of SOSC Frequency in EB-Tresos to this value, there is an error that comes up with regard to HSRUN Clock Frequency. However this feature is not available in the S32K118.

If I ignore the issue and use the generated config, the code doesnt run as expected. Unwanted interrupts and runaway code.

Attached are the screenshots indicating the issue.

Request you support to solve this issue.

0 件の賞賛
返信
1 解決策
5,838件の閲覧回数
cuongnguyenphu
NXP Employee
NXP Employee

Hi @cbhavi ,
Could you try this way:
Open Resource module and change ResourceSubderivative to another derivative (e.g s32k142): 

cuongnguyenphu_0-1651803422118.png

Then go back to Mcu module configure to change the error value by press on the button calculate HSRUN value:

cuongnguyenphu_1-1651803653924.png

After that, you change ResourceSubderivative back to S32K118

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
5,839件の閲覧回数
cuongnguyenphu
NXP Employee
NXP Employee

Hi @cbhavi ,
Could you try this way:
Open Resource module and change ResourceSubderivative to another derivative (e.g s32k142): 

cuongnguyenphu_0-1651803422118.png

Then go back to Mcu module configure to change the error value by press on the button calculate HSRUN value:

cuongnguyenphu_1-1651803653924.png

After that, you change ResourceSubderivative back to S32K118

0 件の賞賛
返信
5,812件の閲覧回数
cbhavi
Contributor III
Thank you, cuongnguyenphu.
 
 This workaround helped.
0 件の賞賛
返信