S32K144: How to generate a true random number?

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

S32K144: How to generate a true random number?

1,246 Views
Ashlie
Contributor III

Hello,

   I want to get a true random number,not a pseudo random number, with the help of S32K144MCU's own registers. But I don't know which registers I should choose or what steps I should take.

   Please give me some advice.

   Thanks a lot.

Ashlie

Tags (1)
0 Kudos
1 Reply

1,029 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

just some ideas:

- measure some noisy signal (if available) by ADC

- use some fast-running timer and read its value on the basis of some asynchronous event (like PLL lock time, receiving of a message from external world...)

- ...

In all cases, you can use generated number (or part of the number) as a seed value for calculating of pseudo random number.

Regards,

Lukas

0 Kudos