ARM ARM926EJ-S Specifications Page 244

  • Download
  • Add to my manuals
  • Print
  • Page
    / 332
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 243
Synchronous Serial Port (SSP)
14-4 Copyright © 2004, 2006 ARM Limited. All rights reserved. ARM DDI 0287B
14.2 Functional description
This section describes the function of the SSP controller.
For detailed information on the internal organization and the SSP registers, see the ARM
PrimeCell Synchronous Serial Port Controller (PL022) Technical Reference Manual.
14.2.1 Using an external reference clock
In the slave mode of operation, the SSPCLKIN signal from the external master is
double synchronized and then delayed to detect an edge. It takes three SSPCLKs to
detect an edge on SSPCLKIN. SSPTXD has less setup time to the falling edge of
SSPCLKIN on which the master is sampling the line. The setup and hold times on
SSPRXD with reference to SSPCLKIN must be more conservative to ensure that it is
at the right value when the actual sampling occurs within the SSPMS. To ensure correct
device operation, SSPCLK must be at least 12 times faster than the maximum expected
frequency of SSPCLKIN.
The frequency selected for SSPCLK must accommodate the desired range of bit clock
rates. The ratio of minimum SSPCLK frequency to SSPCLKOUT maximum
frequency in the case of the slave mode is 12 and for the master mode it is two.
To generate a maximum bit rate of 1.8432Mbps in the Master mode, the frequency of
SSPCLK must be at least 3.6864MHz. With an SSPCLK frequency of 3.6864MHz, the
SSPCPSR register has to be programmed with a value of two and the SCR[7:0] field in
the SSPCR0 register must be programmed as zero.
To work with a maximum bit rate of 1.8432Mbps in the slave mode, the frequency of
SSPCLK must be at least 22.12MHz. With an SSPCLK frequency of 22.12MHz, the
SSPCPSR register can be programmed with a value of 12 and the SCR[7:0] field in the
SSPCR0 register can be programmed as zero. Similarly the ratio of SSPCLK maximum
frequency to SSPCLKOUT minimum frequency is 254x256.
The minimum frequency of SSPCLK is governed by the following equations, both of
which have to be satisfied:
F
SSPCLK
(min) => 2 x F
SSPCLKOUT
(max) [for master mode]
F
SSPCLK
(min) => 12 x F
SSPCLKIN
(max) [for slave mode].
The maximum frequency of SSPCLK is governed by the following equations, both of
which have to be satisfied:
F
SSPCLK
(max) <= 254 x 256 x F
SSPCLKOUT
(min) [for master mode]
F
SSPCLK
(max) <= 254 x 256 x F
SSPCLKIN
(min) [for slave mode]
Page view 243
1 2 ... 239 240 241 242 243 244 245 246 247 248 249 ... 331 332

Comments to this Manuals

No comments