8-8 Intel® PXA26x Processor Family Developer’s Manual
Synchronous Serial Port Controller
“fullness” threshold that triggers an interrupt. W rite to these registers before the SSP is
enabled after reset and only change when SSP is disabled.
The SSPC Data Register (SSDR) is mapped as one 32-bit location that consists of two 16-bit
registers. One register is for write operations and t ran sfers data to the tr ansmit F IFO . The ot her
is for read operations and takes data from the receive FIFO. A write cy cle, or bu rst w rite, loads
successive half-words into the transmit FIFO. Th e write data occupies the lower 2 bytes of the
32-bit word. A read cycle, or burst read, similarly transfers data from the receive FIFO. The
FIFOs are independent buffers that allow full duplex operation.
The SSPC Status Register (SSSR) indicates the state of the FIFO buffers, whether the
programmable threshold has been passed, and whether a transmit or receive FIFO ser vice
request is active. It also shows how many entries are occupied in the FIFO. Flag bits are set
when the SSPC is actively transmitting or receiving data, when the transmit FIFO is not full,
and when the receive FIFO is not empty. An error bit signals an overrun of th e receive FIFO.
When the registers are programmed, reserved bits must be written as 0s and are read as undefined.
8.7.1 SSP Control Register 0 (SSCR0)
The SSPC Control Register 0 (SSCR0) contains five bit fields that control SSP data size, frame
format, external clock selection, clock divisor, and SSP enable. Table 8- 2 shows the bit lo cations
that correspond to the control bit fields in SSPC Control Register 0. The SSE bit is reset to a zero
state to ensure the SSP is disabled. The reset states for the other control bits are shown in the table,
but each reset state must be set to the desired value before the SSPC is enabled.