Atmel ARM-Based Evaluation Kit AT91SAM9N12-EK AT91SAM9N12-EK Data Sheet

Product codes
AT91SAM9N12-EK
Page of 1104
1035
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
47.
True Random Number Generator (TRNG)
47.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.
47.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
47.3
Block Diagram
Figure 47-1.  TRNG Block Diagram
47.4
Product Dependencies
47.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 entropy source logic circuitry. The source of entropy can be enabled before enabling the user
interface clock.
47.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 
MCK
TRNG
Control Logic
Table 47-1. Peripheral IDs
Instance
ID
TRNG
30