I want to get a random number at any time.Is there RNG in S32K? It's better to give a demo. thanks
Solved! Go to Solution.
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,
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.
and please take a look at Example3_Basic_operations_SDK3_0_0.
BR!
Jim,
I use this project to download s32k148.Watch the array(random_number)in debug mode,It's all zeros.why?
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,
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!
你在哪里下载例程
Example1_Configure_part_and_Load_keys_S32K3_0_0