[riot-devel] Implementing rng
mathias.tausig at fh-campuswien.ac.at
Thu Feb 18 13:46:30 CET 2016
I am a bit confused, where to put that code. As far as I can tell, all current
implementations of the hwrng functions are implemented on the cpu and not on the
board level. While my rng is on the at86rf2xx chip, which is a driver. Can I put
the feature in the driver?
Am Mittwoch, den 17.02.2016, 17:22 +0100 schrieb Hauke Petersen:
> Hi Mathias,
> I think the way to go here is to implement the
> `drivers/include/periph/hwrng.h` interface. For this I think it makes sense to
> add a function that reads the random data from the radio to the at86rf2xx
> driver and call this function from the hwrng driver.
> On 16.02.2016 17:14, Tausig Mathias wrote:
> > Hy!
> > I would like to use the hardware RNG from my samr1-xpro board. It should be
> > available by reading out a certain register, according to the AT86RF233
> > documentation.
> > My problem is, that I don't how to do that (I am pretty new to this stuff).
> > Is there some documentation available for this kind of task, or could you
> > point me in the right
> > direction?
> > cheers
> > Mathias
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: This is a digitally signed message part
More information about the devel