Implementation of hardware RNGs on MCUs #16420
Unanswered
MicroControleurMonde
asked this question in
Hardware & Peripherals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
I needed to generate random numbers several weeks ago and so I pulled out my RP2040 to do this. And then you know what it is, from thread to needle, I jumped on my esp32 and so on.
In fact I realized that the hardware RNG part wasn't there, so I started working on it. I have been rummaging through the docs and I have coded the calls to the correct registers.
Question, I had fun on the PyBoard with 'pyb.rng()'. Does it call on the STM32 hardware RNG ? I didn't go to check.
ESP32
ESP32-C3
ESP32-C6
RP2040 using ADC.
Teensy 4.1
Note: For the Tensy, I am not able to implement the TRNG ... I used several ADC to generate values instead.
Cheers.
Beta Was this translation helpful? Give feedback.
All reactions