S32K312 gets random numbers(RNG)

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

S32K312 gets random numbers(RNG)

跳至解决方案
2,532 次查看
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 项奖励
回复
1 解答
2,521 次查看
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

在原帖中查看解决方案

3 回复数
2,522 次查看
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

2,176 次查看
Cppppy
Contributor II

Hi @lukaszadrapa 

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

0 项奖励
回复
2,472 次查看
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 项奖励
回复