random number in s32k

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

random number in s32k

Jump to solution
2,591 Views
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 Kudos
Reply
1 Solution
2,547 Views
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,

 

 

 

View solution in original post

0 Kudos
Reply
5 Replies
2,571 Views
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 Kudos
Reply
2,564 Views
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 Kudos
Reply
2,548 Views
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 Kudos
Reply
2,002 Views
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 Kudos
Reply
1,762 Views
WXM
Contributor II

你在哪里下载例程

Example1_Configure_part_and_Load_keys_S32K3_0_0

0 Kudos
Reply