![Nations N32G43 Series Скачать руководство пользователя страница 570](http://html1.mh-extra.com/html/nations/n32g43-series/n32g43-series_user-manual_3408051570.webp)
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
547
/
631
Reset value: 0x0000
Bit field
Name
Description
15:0
CRCTDAT
Send CRC register
When CRC calculation is enabled, CRCTDAT[15:0] contains the CRC value calculated by the
bytes sent subsequently. This register is reset when ‘1’ is written to the SPI_CTRL1.CRCEN bit.
The CRC calculation uses the polynomial in SPI_CRCPOLY.
When the data frame format is set to 8 bits, only the lower 8 bits participate in the calculation
and follow the CRC8 standard; when the data frame format is 16 bits, all 16 bits in the register
participate in the calculation and follow the CRC16 standard.
Note: reading this register when the BUSY flag (SPI_STS.BUSY) is '1' may read incorrect
values.
Note: not used in I
2
s mode.
SPI_I
2
S configuration register (SPI_I2SCFG)
Address offset: 0x1C
Reset value: 0x0000
Bit field
Name
Description
15:12
Reserved
Reserved, the reset value must be maintained.
11
MODSEL
I
2
S mode selection
0: Select SPI mode.
1: Select I
2
S mode.
Note: this bit can only be set when SPI or
I
2
S
is turned off.
10
I
2
SEN
I
2
S enable
0: Disable I
2
S.
1: Enable I
2
S.
Note: not used in SPI mode.
9:8
MODCFG
I
2
S mode setting
00: Slave device sends.
01: Slave device receives.
10: Master device sends.
11: Master device receives.
Note: This bit can only be set when I
2
S is turned off.
Note: not used in SPI mode.