Datasheet

Table Of Contents
With respect to the SSPCLKIN rising edge on which the first bit of receive data is to be sampled by the PrimeCell SSP
slave, SSPFSSIN must have a setup of at least two times the period of SSPCLK on which the PrimeCell SSP operates.
With respect to the SSPCLKIN rising edge previous to this edge, SSPFSSIN must have a hold of at least one SSPCLK
period.
SSPCLKIN
SSPFSSIN
SSPRXD
t
Hold
=t
SSPCLK
t
Setup
=(2×t
SSPCLK
)
First RX data bit to be
sampled by SSP slave
Figure 98. Microwire
frame format,
SSPFSSIN input setup
and hold requirements
4.4.3.15. Examples of master and slave configurations
Figure 99, Figure 100, and Figure 101 shows how you can connect the PrimeCell SSP (PL022) peripheral to other
synchronous serial peripherals, when it is configured as a master or a slave.
NOTE
The SSP (PL022) does not support dynamic switching between master and slave in a system. Each instance is
configured and connected either as a master or slave.
Figure 99 shows the PrimeCell SSP (PL022) instanced twice, as a single master and one slave. The master can
broadcast to the slave through the master SSPTXD line. In response, the slave drives its nSSPOE signal HIGH, enabling
its SSPTXD data onto the SSPRXD line of the master.
PL022 configured
as master
PL022 configured
as slave
SSPRXD
nSSPOE
SSPTXD
SSPFSSIN
SSPFSSOUT
SSPCLKIN
nSSPCTLOE
SSPCLKOUT
SSPTXD
nSSPOE
SSPRXD
SSPFSSOUT
SSPFSSIN
SSPCLKOUT
nSSPCTLOE
SSPCLKIN
OV
OV
Figure 99. PrimeCell
SSP master coupled to
a PL022 slave
Figure 100 shows how an PrimeCell SSP (PL022), configured as master, interfaces to a Motorola SPI slave. The SPI
Slave Select (SS) signal is permanently tied LOW and configures it as a slave. Similar to the above operation, the master
can broadcast to the slave through the master PrimeCell SSP SSPTXD line. In response, the slave drives its SPI MISO
port onto the SSPRXD line of the master.
RP2040 Datasheet
4.4. SPI 534