GD32W51x User Manual
700
20.11.
Register definition
SPI0 secure access base address: 0x5001 3000
SPI0 non-secure access base address: 0x4001 3000
SPI1/I2S1 secure access base address: 0x5000 3800
SPI1/I2S1 non-secure access base address:
0x4000 3800
I2S1_add secure access
base address: 0x5000 3400
I2S1_add non-secure access
base address:
0x4000 3400
20.11.1.
Control register 0 (SPI_CTL0)
Address offset: 0x00
Reset value: 0x0000 0000
This register can be accessed by half-word (16-bit) or word (32-bit).
This register has no meaning in I2S mode.
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
BDEN
BDOEN CRCEN CRCNT
FF16
RO
SWNSS
EN
SWNSS
LF
SPIEN
PSC[2:0]
MSTMOD
CKPL
CKPH
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Descriptions
31:16
Reserved
Must be kept at reset value.
15
BDEN
Bidirectional enable
0: 2 line unidirectional transmit mode
1: 1 line bidirectional transmit mode. The information transfers betw een the MOSI pin in
master and the MISO pin in slave.
14
BDOEN
Bidirectional transmit output enable
When BDEN is set, this bit determines the direction of transfer.
0: Work in receive-only mode
1: Work in transmit-only mode
13
CRCEN
CRC calculation enable
0: CRC calculation is disabled
1: CRC calculation is enabled
12
CRCNT
CRC next transfer
0: Next transfer is data
1: Next transfer is CRC value (TCRC)
Содержание 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 ...