1985304_en-US

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

1985304_en-US

1985304_en-US

HSE FW install for S32K310

i want to install HSE FW to S32K310, based on HSE install demo downloaded from the website, can i just modify the flash configuration in the link command file according to the S32K310?

LeoYang_0-1730355933691.png

LeoYang_1-1730355993090.png

and also want to confirm, is S32K310 using the same HSE FW as S32K311?

please provide some detailed guidance about how to modify the reference demo

Re: HSE FW install for S32K310

Hi Lukas

    you are right , some variables is defined in DTCM

   we managed to move them to Sram no cacheable and it works now

   Thanks! 

Re: HSE FW install for S32K310

Hi Leo,

one more thing - it may be caused by DTCM. If data objects used for communication with HSE are located in DTCM, make sure that this switch is turned on:

lukaszadrapa_0-1731401542644.png

It ensures that DTCM address is translated to DTCM Backdoor address by Crypto driver. That's because HSE cannot see normal DTCM address.

Regards,

Lukas

Re: HSE FW install for S32K310

Hi Leo,

1. What is the frequency of HSE_CLK? If it is configured to 120MHz, try to decrease it to 60MHz.

https://community.nxp.com/t5/S32K/HSE-provides-RSP-NOT-SUPPORTED-response/m-p/1712323/highlight/true...

2. Try to disable data cache memory. All the data objects used for communication with HSE must be forced to non-cacheable memory.

3. The S32K3 reference manual says:

"Before configuring HSE_CLK, you must wait for the SBAF to enter WFI by reading core status register of HSE CPU (PRTN0_CORE2_STAT)."

So, it’s necessary to wait for WFI bit before running clock initialization.

I found out that current RTD drivers do not check WFI bit. This was a few months time ago and I can see that this should be included in the drivers in RTD version 5.0.0 and higher.

4. What is the content of HSE GPR register at 0x4039_C028? What is the content of FSR and GSR registers in MU_0?

Regards,

Lukas

Re: HSE FW install for S32K310

Hi Lukas

     thank you very much for your reply!

    indeed i can read the HSE FW version after i download the project

    and the HSE_STATUS_INIT_OK flag is set every time when initialize the HW

    however when try to use the Crypto driver

LeoYang_0-1731303891438.png

   and HSE is not responding to the request, what could be the potential cause of it?

LeoYang_1-1731304001523.png


Re: HSE FW install for S32K310

Hi @LeoYang- 

I usually recommend to create new project directly for used derivative and then port the code. However, I believe that this project will work just with the changes you did. Used features are the same on both derivatives.

Yes, the firmware support both S32K310 and S32K311:

lukaszadrapa_0-1730788110453.png

lukaszadrapa_1-1730788119081.png

Regards,

Lukas




Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 03:33 PM
Updated by: