Download Print this page

Texas Instruments SimpleLink CC2620 Technical Reference Manual page 1163

Zigbee rf4ce wireless mcu simplelink cc13 series; simplelink cc26 series

Advertisement

www.ti.com
Read the resulted random number LSW
LSW_result = TRNG:OUT0
Read the resulted random number MSW
MSW_result = TRNG:OUT1
Clear the result ready event in the status register by
writing to the acknowledge register
TRNG:IRQFLAGCLR.RDY = 0x1
No
Yes
Need more seeds?
No
TRNG:ALARMCNT:SHUTDOWN_CNT
SWCU117C – February 2015 – Revised September 2015
Submit Documentation Feedback
Figure 16-2. TRNG Polling Mode
Start
Enable the TRNG module
TRNG:CTL.TRNG_EN = 0x1
Yes
Is the result ready?
TRNG:IRQFLAGSTAT.RDY
= 0x1
Yes
Is(Are) the
Yes
FRO(s) shut down?
TRNG:ALARMSTOP.FRO_FLAGS
!= 0x0
Modify the delay selection in an attempt to prevent
(detune the particular FRO(s) which had the alarm)
TRNG:FRODETUNE.FRO_MASK = 0x-
Have too many
FROs been shut down?
Yes
> min_number_of_FROs
Stop the TRNG module as required
number of FROs is not valid
Stop
Copyright © 2015, Texas Instruments Incorporated
No
Monitored mode
No
shutdown threshold set?
TRNG:ALARMCNT.SHUTDOWN_THR
No
Has alarm event occured?
TRNG:ALARMMASK:FRO_MASK
!= 0x0
No
TRNG:ALARMMASK.FRO_MASK = 0x0
TRNG:ALARMSTOP.FRO_FLAGS = 0x0
Modify the delay selection in an attempt to prevent
(detune the particular FRO(s) which had the alarm)
further locking
Clear the shutdown overflow event in the status
register by writing to the acknowledge register
TRNG:IRQFLAGCLR.SHUTDOWN_OVF = 0x1
Yes
De-tuning already performed
on shutdown FROs
TRNG Low-level Programing Guide
Is the
Yes
Unmonitored mode
!= 0
Is the shutdown
threshold reached?
Yes
TRNG:IRQFLAGSTAT.SHUTDOWN_OVF
= 0x1
Clear alarm events
further locking
TRNG:FRODETUNE.FRO_MASK = 0x-
Re-enable the shut down FROs
TRNG:FROEN.FRO_MASK = 0x-
No
Random Number Generator
No
1163

Hide quick links:

Advertisement

loading