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
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