hello
I can not find a way to general random numbers for MQX 3.7 Kinetis K60.
can you help me
thanks
Maurizio Felicioni
Solved! Go to Solution.
Hi,
how about:
"include <stdlib.h>
srand(some seed value);
num = rand();
~Mark
Hi microfelis,
Random Number Generator H/W Accelerator is only for coldfire that's why you can't find it for kinetis.
Regards,
MartinK
on the datasheet and written the opposite.
K60 Sub-Family Data Sheet
Hardware random-number generator
Maurizio
Yes,you are right it is in datasheet. I was not aware of it. RNG structs are defined for K60 only in MQX 3.7.
Let me ask you what you are really having problems with?
I need a function that generates random numbers where I choose the range of values togenerate the number
thanks
maurizio
Hi,
how about:
"include <stdlib.h>
srand(some seed value);
num = rand();
~Mark
thanks