aboutsummaryrefslogtreecommitdiff
path: root/src/entropy/stm_init.c
AgeCommit message (Collapse)Author
2020-01-23[entropy] Raise USB baud rate to match application 'cc20rng'Linus Nordberg
Using different baud rates for the two otherwise compatible applications risk confusing users of both applications. An espeicially unlucky case is setting host side to 460800 while reading from a board set to 921600 -- the stream will look random while it's actually pretty bad. Raising 'entropy' rather than lowering 'cc20rng' is motivated by the fact that cc20rng saturates 460800 baud(*) with its ~75 kB/s output. (*) 460800 baud should be 57.6 kB/s or 51.2 kB/s, depending on whether or not the stop bit is counted towards the baud rate. I would suppose it is.
2015-06-28Enable dual USART output functionality.Fredrik Thulin
In other words, enable the USART connected to the serial port on the Raspberry Pi GPIO header. Sending a newline to either USART directs the generated entropy to that USART.
2015-01-15initFredrik Thulin