![Intel IXP45X Скачать руководство пользователя страница 865](http://html1.mh-extra.com/html/intel/ixp45x/ixp45x_developers-manual_2073092865.webp)
Intel
®
IXP45X and Intel
®
IXP46X Product Line of Network Processors
August 2006
Developer’s Manual
Order Number: 306262-004US
865
Synchronous Serial Port—Intel
®
IXP45X and Intel
®
IXP46X Product Line of Network Processors
When the SSE bit is cleared during active operation, the SSP is disabled immediately,
causing the current frame being transmitted to be terminated. Clearing SSE resets the
SSP’s FIFOs. However the SSP’s control and status registers are not reset. The user
must ensure these registers are properly reconfigured before re-enabling the SSP.
20.5.1.5
Serial Clock Rate (SCR)
The 8-bit serial clock rate (SCR) bit-field is used to select the baud, or bit rate, of the
SSP. A total of 256 different bit rates can be selected, ranging from a minimum of
7.2 Kbps to a maximum of 1.8432 Mbps. The serial clock generator uses the
3.6864 MHz clock produced by the on-chip PLL divided by a fixed value of 2, and then
divided by the programmable SCR value (0 to 255) plus 1 to generate the serial clock
(SSP_SCLK). The resultant clock is driven on the SSP_SCLK pin and is used by the
SSP’s transmit logic to drive data on the SSP_TXD pin, and to latch data on the
SSP_RXD pin. Depending on the frame format selected, each transmitted bit is driven
on either the rising or falling edge of SSP_SCLK, and is sampled on the opposite clock
edge.
The following bit table presents the bit locations corresponding to the five different
control bit fields within SSP control register 0. Note that the SSE bit is the only control
bit that is reset to a known state, to ensure the SSP is disabled following a reset. The
reset state of all other control bits is unknown and must be initialized before enabling
the SSP.
Register Name:
SSCR0
Block
Base Address:
0xC801_20
Offset Address
0x00
Reset Value
0x0000_0000
Register Description:
SSC Control Register 0
Access:
(See below.)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
Reserved
SCR
SS
E
EC
S
FRF
SRS
Register
SSCR0 (Sheet 1 of 2)
Bit
Name
Description
Reset
Value
Access
31:16
(Reserved)
(Reserved)
0x0000
RV
15:08
SCR
Serial Clock Rate Selection
Value (0 to 255) used to generate transmission rate of SSP.
Bit rate = 3.6864x10
6
/ (2 x (SCR + 1)) where SCR is a decimal integer
X
RW
7
SSE
Synchronous Serial Port Enable bit.
0 = SSP operation disabled
1 = SSP operation enabled
0x0000
RW
6
ECS
External clock select bit.
0 = On-chip clock used to produce the SSP’s serial clock (SSP_SCLK).
1 = SSP_EXTCLK is used to create the SSP’s SSP_SCLK.
0x0000
RW
5:4
FRF
This field specifies the Frame Format.
00 - Motorola* Serial Peripheral Interface (SPI)
01 - Texas Instruments* Synchronous Serial Protocol (SSP)
10 - National Microwire*
11 - Reserved, undefined operation
0x0000
RW