Ssp Programmable Serial Protocol Register (Sspsp) - Intel PXA255 Developer's Manual

Intel computer hardware user manual
Hide thumbs Also See for PXA255:
Table of Contents

Advertisement

Network SSP Serial Port
Table 16-4. SSCR1 Bit Definitions (Sheet 2 of 2)
0x04140_0004
Bit
31 30 29 28 27 26 25 24 23 22 21
Reset 0
0
0
0
?
?
Bits
25
SCLKDIR
24
SFRMDIR
23
22
16.5.3

SSP Programmable Serial Protocol Register (SSPSP)

SSPSPx, shown in
protocol parameters. The contents of these registers are ignored if the PSP is not selected.
These are read/write registers. Ignore reads from reserved bits. Write zeros to reserved bits.
16-22
20 19 18 17 16 15 14 13 12
0
0
0
0
0
0
0
Name
SSP SERIAL BIT RATE CLOCK DIRECTION:
Determines whether the port is the master or slave (with respect to driving SSPSCLK).
0 – Master mode, the port generates SSPSCLK internally, acts as the master, and drives
SSPSCLK.
1 – Slave mode, the port acts as a slave, receives SSPSCLK from an external device and
uses it to determine when to drive transmit data on SSPTXD and when to sample
Receive data on SSPRXD.
SSP FRAME DIRECTION:
Determines whether the SSP is the master or slave (with respect to driving SSPSFRM.)
When SFRMDIR is set, the port acts as the slave and receives the SSPSFRM signal from an
external device. When the port is configured as a slave to the frame, the external device
driving frame must wait at least the equivalent of 10 SSPSCLKS after enabling the port
before asserting frame. (No external clock cycles are needed, the external device just needs
to wait a certain amount of time before asserting frame).
NOTE: When the GPIO alternate function is selected for the port, this bit has precedence
over the GPIO direction bit. For example, the GPIO pin is an input if SFRMDIR=1.
Alternately, the GPIO pin is an output if SFRMDIR=0.
0 – Master mode, the port generates SSPSFRM internally, acts as the master and drives
SSPSFRM.
1 – Slave mode, the port acts as a slave, receives SSPSFRM from an external device.
RECEIVE WITH OUT TRANSMIT:
Puts the SSP into a mode similar to half duplex. This allows the port to receive data without
transmitting data (half-duplex only).
When RWOT is set, the port continues to clock in receive data, regardless of data existing in
the transmit FIFO. Data is sent/received immediately after the port enable bit (SSCR0[SSE])
is set. In this mode, if there is no data to send, the DMA service requests and interrupts for
RWOT
the transmit FIFO must be disabled (clear TSRE and TIE). If the transmit FIFO is empty, all
zeroes are transmitted which must be discarded by the external peripheral.
The transmit FIFO underrun condition does not occur when RWOT is set. When RWOT is
enabled, SSSR[BUSY] remains active (set to 1) until software clears the RWOT bit.
0 – Transmit/Receive mode.
1 – Receive With Out Transmit mode.
reserved
Table
16-5, contains bit fields used to program the various programmable serial-
SSCR1
11 10 9
RFT
?
?
?
0 0
0
0
0
Description
Intel® PXA255 Processor Developer's Manual
Network SSP Serial Port
8
7
6
5
4
3
TFT
0
0
0
0
0
0
0
0
2
1
0
0
0
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents