55.5 Functional Description

Important: Users must wait for TRNG Warmup Time (TRNGWUP) as specified in the AC electrical timings after enabling, but before use.

For additional information, refer to the TRNG Warm-Up Time in the Electrical Characteristics.

The TRNG interrupt line can be enabled in the Interrupt Enable register (TRNG_IER), and disabled in the Interrupt Disable register (TRNG_IDR). This interrupt is set when a new random value is available, and is cleared when the Status register (TRNG_ISR) is read. The TRNG_ISR.DATRDY flag is set when the random data is ready to be read out on the 32-bit Output Data register (TRNG_ODATA).

The normal mode of operation checks that the flag in TRNG_ISR equals ‘1’ before reading TRNG_ODATA when a 32-bit random value is required by the software application.

Figure 55-2. TRNG Data Generation Sequence