1000
SAM4CP [DATASHEET]
43051E–ATPL–08/14
44.
True Random Number Generator (TRNG)
44.1
Description
The True Random Number Generator (TRNG) passes the American
NIST Special Publication 800-22 and Diehard
Random Tests Suites.
The TRNG may be used as an entropy source for seeding an NIST approved DRNG (Deterministic RNG) as required by
FIPS PUB 140-2 and 140-3.
44.2
Embedded Characteristics
Passed NIST Special Publication 800-22 Tests Suite.
Passed Diehard Random Tests Suite.
May be used as Entropy Source for seeding an NIST approved DRNG (Deterministic RNG) as required by FIPS
PUB 140-2 and 140-3.
Provides a 32-bit Random Number Every 84 Clock Cycles.
44.3
Block Diagram
Figure 44-1.
TRNG Block Diagram
44.4
Product Dependencies
44.4.1 Power Management
The TRNG interface may be clocked through the Power Management Controller (PMC), thus the programmer must first
configure the PMC to enable the TRNG user interface clock. The user interface clock is independent from any clock that
may be used in the logic circuitry used for the source of entropy. The source of entropy can be enabled before enabling
the user interface clock.
44.4.2 Interrupt
The TRNG interface has an interrupt line connected to the Interrupt Controller. In order to handle interrupts, the Interrupt
Controller must be programmed before configuring the TRNG.
User Interface
APB
Interrupt
Controller
PMC
Entropy Source
Peripheral
Clock
TRNG
Control Logic
Table 44-1.
Peripheral IDs
Instance
ID
TRNG
33