Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stm32:peripherals:spi [2022/12/28 08:34] – [SPI_CR1 Configuration register 1] ruan | stm32:peripherals:spi [2022/12/28 08:36] (current) – [SPI_CR1 Configuration register 1] ruan | ||
---|---|---|---|
Line 19: | Line 19: | ||
===== Configuration Registers ===== | ===== Configuration Registers ===== | ||
- | ==== SPI_CR1 Configuration register 1 ==== | + | ==== SPI_CR1 |
(not used in I²S mode) | (not used in I²S mode) | ||
Line 56: | Line 56: | ||
|:::|1|TX empty interrupt enabled| | |:::|1|TX empty interrupt enabled| | ||
- | ==== SPI_CRCPR ==== | + | ==== SPI_CRCPR |
- | + | ||
- | CRC polynomial register \\ | + | |
(not used in I²S mode) | (not used in I²S mode) | ||
Line 65: | Line 63: | ||
Contains polynomial used to calculate CRC. Reset value: '' | Contains polynomial used to calculate CRC. Reset value: '' | ||
- | ==== SPI_RXCRCR ==== | + | ==== SPI_RXCRCR |
- | + | ||
- | RX CRC register \\ | + | |
(not used in I²S mode) | (not used in I²S mode) | ||
Line 74: | Line 70: | ||
Contains computed CRC value of received bytes. \\ | Contains computed CRC value of received bytes. \\ | ||
- | ==== SPI_TXCRCR ==== | + | ==== SPI_TXCRCR |
- | + | ||
- | TX CRC register \\ | + | |
(not used in I²S mode) | (not used in I²S mode) | ||
Line 83: | Line 77: | ||
Contains computed CRC value of transmitted bytes. \\ | Contains computed CRC value of transmitted bytes. \\ | ||
- | ==== SPI_I2SCFGR ==== | + | ==== SPI_I2SCFGR |
- | + | ||
- | I²S configuration register \\ | + | |
(not used in SPI mode) | (not used in SPI mode) | ||
\\ {{spi_reg_i2scfgr.svg}} \\ \\ | \\ {{spi_reg_i2scfgr.svg}} \\ \\ | ||
- | ==== SPI_I2SPR ==== | + | ==== SPI_I2SPR |
- | + | ||
- | I²S prescaler register \\ | + | |
(not used in SPI mode) | (not used in SPI mode) | ||
Line 99: | Line 89: | ||
===== Data Register ===== | ===== Data Register ===== | ||
- | ==== SPI_DR ==== | + | ==== SPI_DR |
- | + | ||
- | Data register | + | |
\\ {{spi_reg_dr.svg}} \\ \\ | \\ {{spi_reg_dr.svg}} \\ \\ |