Intel® IXP400 Software
Access-Layer Components: Synchronous Serial Port (IxSspAcc) API
April 2005 IXP400 Software Version 2.0 Programmer’s Guide
280 Document Number: 252539, Revision: 007
19.4.3 Polling Mode
The sequence flow for a client application using this component in polling mode is described
below. Refer to Figure94.
1. Initialize the SSP with interrupts disabled.
2. For transmit operations:
a. Check if the Tx FIFO has hit or is below its threshold.
b. If it has, then insert data into the Tx FIFO.
3. For receive operations:
a. Check if the Rx FIFO has hit or exceeded its threshold.
b. If it has, then extract data from the Rx FIFO.
c. Process the data if needed.
4. For an overrun:
a. Check if the Rx FIFO Overrun has occurred.
b. If it has, then extract data from the Rx FIFO.
c. Process the data and recover any lost data if needed.