Spi Data Register (Spix_Dr); Spi Crc Polynomial Register (Spix_Crcpr) - STMicroelectronics STM32F05 series Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

Serial peripheral interface / inter-IC sound (SPI/I2S)
26.7.4

SPI data register (SPIx_DR)

Address offset: 0x0C
Reset value: 0x0000
15
14
13
rw
rw
rw
Bits 15:0 DR[15:0]: Data register
Note: Data is always right-aligned. Unused bits are ignored when writing to the register, and
26.7.5

SPI CRC polynomial register (SPIx_CRCPR)

Address offset: 0x10
Reset value: 0x0007
15
14
13
rw
rw
rw
Bits 15:0 CRCPOLY[15:0]: CRC polynomial register
Note: The polynomial value should be odd only. No even value is supported.
676/742
12
11
10
9
rw
rw
rw
rw
Data received or to be transmitted
The data register serves as an interface between the Rx and Tx FIFOs. When the data
register is read, RxFIFO is accessed while the write to data register accesses TxFIFO
(See
Section 26.3.7: Data transmission and reception
read as zero when the register is read. The Rx threshold setting must always
correspond with the read access currently used.
12
11
10
9
rw
rw
rw
rw
This register contains the polynomial for the CRC calculation.
The CRC polynomial (0007h) is the reset value of this register. Another polynomial can be
configured as required.
Doc ID 018940 Rev 1
8
7
6
DR[15:0]
rw
rw
rw
rw
8
7
6
CRCPOLY[15:0]
rw
rw
rw
rw
5
4
3
2
rw
rw
rw
procedures).
5
4
3
2
rw
rw
rw
RM0091
1
0
rw
rw
1
0
rw
rw

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F05 series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents