S32K312 gets random numbers(RNG)

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

S32K312 gets random numbers(RNG)

Jump to solution
1,313 Views
WXM
Contributor II

I want to use S32K312 to get a random number at any time. It's better to do a demonstration. thank you

0 Kudos
Reply
1 Solution
1,304 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @WXM 

 

First, it is necessary to install HSE firmware. It is one-time operation.

You can download HSE FW and HSE demo app from S32K3 Standard Software package:

https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-STDSW-D

HSE FW – contains the HSE Firmware

HSE demo app – shows how install, update and use HSE firmware

 

Attached is very simple project – code is reused from HSE demo app.

Notice that it is necessary to keep the data cache disabled (this is the case of this example) or the descriptor which is being sent to HSE via Message Unit and also area for random number should be in non-cacheable region.

 

Regards,

Lukas

View solution in original post

3 Replies
1,305 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @WXM 

 

First, it is necessary to install HSE firmware. It is one-time operation.

You can download HSE FW and HSE demo app from S32K3 Standard Software package:

https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-STDSW-D

HSE FW – contains the HSE Firmware

HSE demo app – shows how install, update and use HSE firmware

 

Attached is very simple project – code is reused from HSE demo app.

Notice that it is necessary to keep the data cache disabled (this is the case of this example) or the descriptor which is being sent to HSE via Message Unit and also area for random number should be in non-cacheable region.

 

Regards,

Lukas

959 Views
Cppppy
Contributor II

Hi @lukaszadrapa 

Do you have a random number generation demo for the S32K3XX that conforms to the autosar specification?

0 Kudos
Reply
1,255 Views
WXM
Contributor II
Dear lukaszadrapa:
This DEMO doesn't work. It's stuck in the "HSE_MU_IsResponseReady" function. What do I need to configure?

luck
0 Kudos
Reply