Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Teensy 4.1 Random Number Hardware

  1. #1

    Teensy 4.1 Random Number Hardware

    Hello,

    I don't exactly know if the t41 has a random number hardware, but I remember to read something about this in the manual.
    Does someone know if the t41 has one and how I can use it?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,749
    Yes, Teensy 4.1 does have random number hardware.

    Use the Entropy library.

  3. #3
    Senior Member+ manitou's Avatar
    Join Date
    Jan 2013
    Posts
    2,588
    Quote Originally Posted by SomeoneFromGermany View Post
    Hello,

    I don't exactly know if the t41 has a random number hardware, but I remember to read something about this in the manual.
    Does someone know if the t41 has one and how I can use it?
    here is post on T4 TRNG from Teensy 4 beta test thread. Post also has a link to a low-level example on github. T4 TRNG is relatively slow for a hardware RNG, 13484 us for 512 bits.

  4. #4
    Thanks!
    That helps me a lot by my project.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •