helloI can not find a way to general random numbers for MQX 3.7 Kinetis K60.can you help methanks
Maurizio Felicioni
已解决! 转到解答。
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
never-displayed