EasyManuals Logo
Home>Texas Instruments>Microcontrollers>CC2540DK-MINI

Texas Instruments CC2540DK-MINI User Manual

Texas Instruments CC2540DK-MINI
370 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #151 background imageLoading...
Page #151 background image
www.ti.com
Random-Number-Generator Registers
Note that the LFSR must be properly seeded by writing to RNDL before the CRC calculations start.
Usually, the seed value for CRC calculations should be 0x0000 or 0xFFFF.
14.3 Random-Number-Generator Registers
This section describes the random-number-generator registers.
RNDL (0xBC) Random-Number-Generator Data, Low Byte
Bit Name Reset R/W Description
7:0
RNDL[7:0]
0xFF R/W Random value/seed or CRC result, low byte
When used for random-number generation, writing to this register twice seeds the
random-number generator. Writing to this register copies the 8 LSBs of the LFSR to the 8 MSBs
and replaces the 8 LSBs with the data value written.
The value returned when reading from this register is the 8 LSBs of the LFSR.
When used for random-number generation, reading this register returns the 8 LSBs of the
random number. When used for CRC calculations, reading this register returns the 8 LSBs of the
CRC result.
RNDH (0xBD) Random-Number-Generator Data, High Byte
Bit Name Reset R/W Description
7:0
RNDH[7:0]
0xFF R/W Random value or CRC result/input data, high byte
When written, a CRC16 calculation is triggered, and the data value written is processed starting
with the MSB.
The value returned when reading from this register is the 8 MSBs of the LFSR.
When used for random-number generation, reading this register returns the 8 MSBs of the
random number. When used for CRC calculations, reading this register returns the 8 MSBs of the
CRC result.
ADCCON1 (0xB4) ADC Control 1 (see also Section 12.2.10)
Bit Name Reset R/W Description
7:4 0011 - For CC2533, these bits are reserved. For the other devices, see the ADCCON1 (0xB4)
ADC Control 1 description in Section 12.2.10.
3:2
RCTRL[1:0]
00 R/W Controls the 16-bit random-number generator (Chapter 14). When 01 is written, the setting
automatically returns to 00 when the operation has completed.
00: Normal operation. (13× unrolling)
01: Clock the LFSR once (13× unrolling)
10: Reserved
11: Stopped. Random-number generator is turned off.
1:0 11 R/W Reserved. Always set to 11
151
SWRU191CApril 2009Revised January 2012 Random-Number Generator
Submit Documentation Feedback
Copyright © 20092012, Texas Instruments Incorporated

Table of Contents

Other manuals for Texas Instruments CC2540DK-MINI

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments CC2540DK-MINI and is the answer not in the manual?

Texas Instruments CC2540DK-MINI Specifications

General IconGeneral
BrandTexas Instruments
ModelCC2540DK-MINI
CategoryMicrocontrollers
LanguageEnglish

Related product manuals