GD32W51x User Manual
672
Pin nam e
Direction
Description
Slave in hardw are NSS mode: NSS input, as a chip select
signal for slave.
20.4.2.
Quad-SPI configuration
SPI is in single wire mode by default and enters into Quad-SPI mode after QMOD bit in
SPI_QCTL register is set (only available in SPI0). Quad-SPI mode can only work in master
mode.
The IO2 and IO3 pins can be driven high in normal Non-Quad-SPI mode by configuring
IO23_DRV bit in SPI_QCTL register.
The SPI is connected to external devices through 6 pins in Quad-SPI mode:
Table 20-2. Quad-SPI signal description
Pin nam e
Direction
Description
SCK
O
SPI clock output
MOSI
I/O
Transmission/Reception data 0
MISO
I/O
Transmission/Reception data 1
IO2
I/O
Transmission/Reception data 2
IO3
I/O
Transmission/Reception data 3
NSS
O
NSS output
20.5.
SPI function overview
20.5.1.
SPI clock timing and data format
CKPL and CKPH bits in SPI_CTL0 register decide the timing of SPI clock and data signal.
The CKPL bit decides the SCK level when idle and CKPH bit decides either first or second
clock edge is a valid sampling edge. These bits take no effect in TI mode.
Содержание 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 ...