Figure 6.14-7 Spi1 ~ Spi2 Full-Duplex Master Mode Application Block Diagram; Figure 6.14-8 Spi1 ~ Spi2 Full-Duplex Slave Mode Application Block Diagram - Nuvoton ISD94124BYI Technical Reference Manual

Isd arm cortex-m4f soc
Table of Contents

Advertisement

I94100 Series
SPI Master
Note: x = 1, 2

Figure 6.14-7 SPI1 ~ SPI2 Full-Duplex Master Mode Application Block Diagram

I94100 Series
SPI Slave
Note: x = 1, 2

Figure 6.14-8 SPI1 ~ SPI2 Full-Duplex Slave Mode Application Block Diagram

Slave Selection
In Master mode, the SPI controller can drive off-chip slave device through the slave select output
pin SPI0_SSy (y=0, 1) and SPIn_SS (n=1, 2). In Slave mode, the off-chip master device drives the
slave selection signal from the SPI0_SS0 and SPIn_SS (n=1, 2) input port to this SPI controller.
The duration between the slave select active edge and the first SPI clock input shall over 3 SPI
peripheral clock cycles of slave.
In Master/Slave mode, the active state of slave selection signal can be programmed to low or high
active in SSACTPOL (SPIn_SSCTL[2]). The selection of slave select conditions depends on what
type of device is connected. In Slave mode, to recognize the inactive state of the slave selection
signal, the inactive period of the slave selection signal must be larger than or equal to 3 peripheral
clock cycles between two successive transactions.
Timing Condition
The CLKPOL (SPIn_CTL[3]) defines the SPI clock idle state. If CLKPOL = 1, the output SPI clock
is idle at high state; if CLKPOL = 0, it is idle at low state.
TXNEG (SPIn_CTL[2]) defines the data transmitted out either on negative edge or on positive edge
of SPI clock. RXNEG (SPIn_CTL[1]) defines the data received either on negative edge or on
Sep 9, 2019
ISD94100 Series Technical Reference Manual
SPIx_CLK
SPIx_MISO
SPIx_MOSI
SPIx_SS
SPIx_CLK
SPIx_MISO
SPIx_MOSI
SPIx_SS
Page 682 of 928
SPI_CLK
SPI_DO
Slave
SPI_DI
SPI_SS
SPI_CLK
SPI_DI
Master
SPI_DO
SPI_SS
Rev1.09

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents