PSOC4(CY8C4014SXI-421)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Fayne_Meng
Level 4
Level 4
Distributor - Weikeng(GC)
100 sign-ins First like received 10 likes given

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

0 Likes
1 Solution
DaBr_1233126
Level 4
Level 4
10 likes given 5 likes given First like received

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
3 Replies
DaBr_1233126
Level 4
Level 4
10 likes given 5 likes given First like received

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!

0 Likes
Fayne_Meng
Level 4
Level 4
Distributor - Weikeng(GC)
100 sign-ins First like received 10 likes given

Dear DaBr,

    Thanks a lot.

0 Likes
OtGo_1311741
Level 3
Level 3
First like received First like given

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 .