Search results

  1. K

    Very unusual behavior TRNG

    I modified Entropy.cpp to test whether it works. Below is the code I added: #undef TRNG_DEFAULT_ENTROPY_DELAY #define TRNG_DEFAULT_ENTROPY_DELAY 0x320 // not 3200 as is in imxrt.h by the way comment out line 123: TRNG_SDCTL = TRNG_SDCTL_ENT_DLY(TRNG_DEFAULT_ENTROPY_DELAY) | 124...
  2. K

    Very unusual behavior TRNG

    After some more testing I think I may have found the reason for the TRNG behaviour I described earlier. While looking at the initialization code in Entropy.cpp I noticed that the library explicitly overrides the value of TRNG_DEFAULT_ENTROPY_DELAY: #undef TRNG_DEFAULT_ENTROPY_DELAY #define...
  3. K

    Very unusual behavior TRNG

    I performed additional tests on 13 more Teensy 4.1 boards marked: MIMXRT1062 1N00X CTDV2144J Out of these boards, only two started generating random numbers immediately after power-up. The remaining boards required heating with warm air before the TRNG began producing values. On some boards...
  4. K

    Very unusual behavior TRNG

    As suggested, I performed the 15-second restore (holding the PROGRAM button). The board reset correctly but the TRNG behavior remains the same. For reference, this board is running in secure mode with JTAG disabled. I slightly modified the test program to also print TRNG_ENT0, TRNG_MCTL, and...
  5. K

    Very unusual behavior TRNG

    I tested one Teensy 4.1 board and captured the startup log while monitoring TRNG output during temperature increase. Startup F_CPU: 150000000 F_CPU_ACTUAL: 151200000 Silicon revision: 27 Serial : E51188A5 Temperature 31.637932 00000000 00000000 00000000 >>>>>>> Temperature 31.637932...
  6. K

    Very unusual behavior TRNG

    Hi, I conducted a series of tests on 18 different Teensy 4.1 boards to investigate temperature-related behavior of the TRNG. Each board was connected via USB and running a simple test firmware that continuously generated random numbers. I then cooled the MCU using compressed air spray and...
  7. K

    Very unusual behavior TRNG

    Thanks for asking. Both boards were tested at the same CPU frequencies. I explicitly tested at: 600 MHz 150 MHz The behavior is the same at both frequencies. Good board (example at 150 MHz): F_CPU: 150000000 Silicon revision: 27 Temperature ~22–23°C TRNG outputs valid random values...
  8. K

    Very unusual behavior TRNG

    Hi, I’m seeing very unusual behavior with the hardware TRNG on a Teensy 4.1 and I’m trying to determine whether this is a silicon issue, a marginal analog condition, or something configuration-related. Summary of the issue: Two Teensy 4.1 boards Same firmware Same CPU frequency Same...
Back
Top