random number in s32k

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

random number in s32k

跳至解决方案
3,900 次查看
gnij_uy
Contributor I

I want to get a random number at any time.Is there RNG in S32K? It's better to give a demo. thanks

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

Hi@gnij_uy

   you have to take a look at  AN5401, expecially 4.3.1 Random number generation. If you don't read the manual carefully, it is easy to cause your EVB to be locked when using AN5401SW.
    Some steps must done before using RNG, such as the device must be configured for emulated-EEPROM operation, maybe you can try to modified the example of Example1_Configure_part_and_Load_keys_S32K3_0_0.

BR!

     Jim,

 

 

 

在原帖中查看解决方案

0 项奖励
回复
5 回复数
3,880 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@gnij_uy

There is an example code which using randum number generator .

You can download AN5401 & AN5401SW by searching the key-word AN5401 on the NXP webside.

Senlent_0-1642401453106.png

and please take a look at Example3_Basic_operations_SDK3_0_0.

BR!

     Jim,

0 项奖励
回复
3,873 次查看
gnij_uy
Contributor I

@Senlent 

I use this project to download s32k148.Watch the array(random_number)in debug mode,It's all zeros.why?

0 项奖励
回复
3,857 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@gnij_uy

   you have to take a look at  AN5401, expecially 4.3.1 Random number generation. If you don't read the manual carefully, it is easy to cause your EVB to be locked when using AN5401SW.
    Some steps must done before using RNG, such as the device must be configured for emulated-EEPROM operation, maybe you can try to modified the example of Example1_Configure_part_and_Load_keys_S32K3_0_0.

BR!

     Jim,

 

 

 

0 项奖励
回复
3,311 次查看
Cpppy
Contributor I

Hi, could you tell me where could download Example1_Configure_part_and_Load_keys_SDK3_0_0 and other four examples? I can't find it in the website and S32DS V2.2, thank you!

0 项奖励
回复
3,071 次查看
WXM
Contributor II

你在哪里下载例程

Example1_Configure_part_and_Load_keys_S32K3_0_0

0 项奖励
回复