![Wiznet W7500 Reference Manual Download Page 362](http://html.mh-extra.com/html/wiznet/w7500/w7500_reference-manual_990600362.webp)
W7500x Reference Manual Version1.1.0
362 / 399
27.3
Functional description
Figure 55 shows the SSP block diagram.
Figure 55. SSP block diagram
Clock prescaler
When configured as a master, an internal prescaler is used to provide the serial output clock.
The prescaler may be programmed through the SSPCPSR register to divide the SSPCLK by a
factor of 2 to 254 in two steps. As the least significant bit of the SSPCPSR register is not used,
division by an odd number is impossible and this ensures a symmetrical (equal mark space
ratio) clock is generated.
The output of this prescaler is further divided by a factor 1 to 256 through the programming
of the SSPCR0 control register, to give a final master output clock.
Transmit FIFO
The common transmit FIFO is a 16-bit wide, 8-locations deep, First-In, First-Out (FIFO) memory
buffer. CPU data written across the AMBA APB interface are stored in the buffer until it is read
out by the transmit logic.
When configured as a master or a slave, parallel data is written into the transmit FIFO prior
to serial conversion and is transmitted to the attached slave or master through the SSPTXD
pin.
Register
block
TxFIFO
RxFIFO
FIFO Status
and
Interrupt
Generation
Bus
Interface
Transmit
and
Receive
logic
Clock
Prescaler
SSPINTR
SSPCLK
DMA
interface
SSPTXD
SSPCLKOUT
SSPCLKIN
SSPRXD
Prescale
value
SSPCLKDIV
APB
SSPTXINTR
SSPRXINTR
DMA
signals