GD32W51x User Manual
706
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value.
15:0
RCRC[15:0]
RX CRC value
When the CRCEN bit of SPI_CTL0 is set, the hardw are computes the CRC value of the
received bytes and saves them in RCRC register. If the data frame format is set to 8-
bit data, CRC calculation is based on CRC8 standard, and saves the value in
RCRC[7:0], w hen the data frame format is set to 16-bit data, CRC calculation is based
on CRC16 standard, and saves the value in RCRC[15:0].
The hardw are computes the CRC value after each received bit, w hen the TRANS is
set, a read to this register could return an intermediate value.
This register is reset w hen the CRCEN bit in SPI_CTL0 register or the SPIxRST bit in
RCU reset register is set.
20.11.7.
TX CRC register (SPI_TCRC)
Address offset: 0x18
Reset value: 0x0000 0000
This register can be accessed by half-word (16-bit) or word (32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TCRC[15:0]
r
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value.
15:0
TCRC[15:0]
TX CRC value
When the CRCEN bit of SPI_CTL0 is set, the hardw are computes the CRC value of the
transmitted bytes and saves them in TCRC register. If the data frame format is set to 8-
bit data, CRC calculation is based on CRC8 standard, and saves the value in
TCRC[7:0], w hen the data frame format is set to 16-bit data, CRC calculation is based
on CRC16 standard, and saves the value in TCRC[15:0].
The hardw are computes the CRC value after each transmitted bit, w hen the TRANS is
set, a read to this register could return an intermediate value. The different frame
formats (LF bit of the SPI_CTL0) w ill get different CRC values.
This register is reset w hen the CRCEN bit in SPI_CTL0 register or the SPIxRST bit in
RCU reset register is set.
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...