S32K3 HSE development

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

S32K3 HSE development

跳至解决方案
3,091 次查看
james131618
Contributor I

Hello,

I am developing HSE, but I have some problems:

Q1:

I have installed HSE A/B swap firmware on S32K324.

And running the official S32K3XX_demo_app can read the HSE firmware version.

If I can read the HSE firmware version it means HSE is running, right?

james131618_0-1701325997045.png

Q2:

I want to use RTD HSE module to operate HSE, so I create a new S32K324 project

I refer to the S32K344 HSE sample program to setting my new project

(sample code:Hse_Ip_AesEncAsyncIrq_S32K344)

(setting inculde: RTD setting, main loop application)

However, when the program is executed to App_GetHseAttrCapabilities() to read the HSE version.

The Function return HSE_SRV_RSP_NOT_SUPPORTED(0xAA55A11EUL)

What's the problem? What settings can I check?

james131618_1-1701326661214.png

 

Hope to get a reply as soon as possible, thank you.

 

 

0 项奖励
回复
1 解答
3,062 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @james131618 

it could be caused by cache memory. It is important to force descriptors/data sent to/from Messaging Unit to non-cacheable region. To check if it is related to the cache memory, you can try to disable the cache by DC bit in core register CCR Configuration and Control Register. 

Or go to the project properties and remove D_CACHE_ENABLE:

lukaszadrapa_0-1701373316036.png

Regards,

Lukas

在原帖中查看解决方案

2 回复数
3,063 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @james131618 

it could be caused by cache memory. It is important to force descriptors/data sent to/from Messaging Unit to non-cacheable region. To check if it is related to the cache memory, you can try to disable the cache by DC bit in core register CCR Configuration and Control Register. 

Or go to the project properties and remove D_CACHE_ENABLE:

lukaszadrapa_0-1701373316036.png

Regards,

Lukas

3,043 次查看
james131618
Contributor I

Hello Lukas,

Thank you very much for your immediate reply and support.

This solution is effective.

 

Thanks.

0 项奖励
回复