| поискавой системы для электроныых деталей |
|
CC2430-RTR1-F32Z датащи(PDF) 133 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
CC2430-RTR1-F32Z датащи(HTML) 133 Page - Texas Instruments |
|
133 / 234 page ![]() CC2430 CC2430 PRELIMINARY Data Sheet (rev. 1.03) SWRS036A Page 133 of 232 13.8 Random Number Generator 13.8.1 Introduction The random number generator has the following features. • Generate pseudo-random bytes which can be read by the CPU or used directly by the Command Strobe Processor. • Calculate CRC16 of bytes that are written to RNDH. • Seeded by value written to RNDL. The random number generator is a 16-bit Linear Feedback Shift Register (LFSR) with polynomial 1 2 15 16 + + + X X X (i.e. CRC16). It uses different levels of unrolling depending on the operation it performs. The basic version (no unrolling) is shown below. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 + + + in_bit Figure 27: Basic structure of the Random Number Generator The random number generator is turned off when ADCCON1.RCTRL=”11”. 13.8.2 Random Number Generator Operation The operation of the random number generator is controlled through a combination of the ADCCON1.RCTRL bits and input signals from other modules. The current value of the 16-bit shift register in the LFSR can be read from the RNDH and RNDL registers. 13.8.2.1 Semi random sequence generation The default operation (ADCCON1.RCTRL=”00”) is to clock the LFSR once (13x unrolling) each time the Command Strobe Processor reads the random value. This leads to the availability of a fresh pseudo-random byte from the LSB end of the LFSR. Another way to update the LFSR is to set ADCCON1.RCTRL=”01”. This will clock the LFSR once (no unrolling) and the ADCCON1.RCTRL bits will automatically be cleared when the operation has completed. 13.8.2.2 Seeding The LFSR can be seeded by writing to the RNDL register twice. Each time the RNDL register is written, the 8 LSB of the LFSR is copied to the 8 MSB and the 8 LSBs are replaced with the new data byte that was written to RNDL. When a true random value is required, the LFSR can be seeded by writing RNDL with random values from the ADC in the RF receive path. To use this seeding method, the radio must first be powered on by enabling the voltage regulator as described in section 16.1. The radio should be placed in infinite TX state, to avoid possible sync detect in RX state. The random values from the ADC are read from the RF registers ADCTSTH and ADCTSTL (see page 216). The values read are used as the seed values to be written to the RNDL register as described above. 13.8.2.3 CRC16 The LFSR can also be used to calculate the CRC value of a sequence of bytes. Writing to the RNDH register will trigger a CRC calculation. The new byte is processed from the MSB end and an 8x |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |