English
Language : 

K60P100M100SF2RM Datasheet, PDF (793/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Field
1
OSCE
0
LFE
Chapter 33 Random Number Generator (RNGB)
RNG_ESR field descriptions (continued)
0 RNGB has not failed self test.
1 RNGB has failed self test.
Oscillator error.
Description
Indicates the oscillator in the RNG may be broken. This bit is sticky and can only be cleared by a software
or hardware reset.
0 RNG oscillator is working properly.
1 Problem detected with the RNG oscillator.
Linear feedback shift register (LFSR) error.
When this bit is set, the interrupt generated was caused by a failure of one of the LFSRs in one of the
RNGB's three entropy sources. This bit is sticky and can only be cleared by a software or hardware reset.
0 LFSRs are working properly.
1 LFSR failure has occurred.
33.3.6 RNGB Output FIFO (RNG_OUT)
The RNGBOUT provides temporary storage for random data generated by the RNGB.
This allows the user to read multiple random longwords back-to-back. A read of this
address when the FIFO is not empty, returns 32 bits of random data. If the FIFO is read
when empty, a FIFO underrun response is returned according to RNG_CR[FUFMOD].
For optimal system performance, poll RNG_SR[FIFO_LVL] to ensure random values are
present before reading the FIFO.
Address: RNG_OUT is 400A_0000h base + 14h offset = 400A_0014h
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R
RANDOUT
W
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
RNG_OUT field descriptions
Field
31–0
RANDOUT
Random Output
Description
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
793