S32K3 HSE development

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K3 HSE development

Jump to solution
3,303 Views
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 Kudos
Reply
1 Solution
3,274 Views
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

View solution in original post

2 Replies
3,275 Views
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,255 Views
james131618
Contributor I

Hello Lukas,

Thank you very much for your immediate reply and support.

This solution is effective.

 

Thanks.

0 Kudos
Reply