cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Fayne_Meng
New Contributor II

4014内部是否有随机数生成器?如果有的话请介绍说明一下,代码位置,或组件设置等。谢谢。

0 Likes
Reply
1 Solution
DaBr_1233126
Contributor

Looking through the datasheet I see no reference to a True Random Number Generator.  It has been a while since I used this chip, so there might be a software solution.

Good luck!

View solution in original post

0 Likes
Reply
3 Replies
DaBr_1233126
Contributor

Looking through the datasheet I see no reference to a True Random Number Generator.  It has been a while since I used this chip, so there might be a software solution.

Good luck!

View solution in original post

0 Likes
Reply
Fayne_Meng
New Contributor II

Dear DaBr,

    Thanks a lot.

0 Likes
Reply
OtGo_1311741
New Contributor II

If the software reads any input from an user (buttons for example) you could do a simple pseudo random generator.  You can have a timer running without stop from 0 to max and when the user presses the button you can read the number from the register of the timer.  I did this for a project at the university where i needed 4 random numbers from 0 to 9.  And it worked fine, at least for me .