Gissio / radpro

Custom firmware for Geiger counters/radiation meters (FS2011, Bosean FS-600, FS-1000, FS-5000, FNIRSI GC-01)
MIT License
162 stars 20 forks source link

FS2011 (GD32F051): Random Number Generator not working #4

Closed pixitha closed 1 year ago

pixitha commented 1 year ago

The docs: https://github.com/Gissio/radpro/blob/main/docs/manual.md#random-number-generator talk about using a radioactive source to speed things up, but it doesn't list any suggested length of time it should take under normal background radiation. Can you clarify what we would expect to see?

I ran the random password with full ASCII for quite a while and never saw any output?

Gissio commented 1 year ago

It actually says "The random number generator produces one bit for every two new pulses". Thus you need two pulses for every RNG bit.

Try "Coin toss". You should get one bit for every two pulses. If you don't, there is probably some GD32-related bug. Please report.