- •Preface
- •About this document
- •Further reading
- •Feedback
- •Introduction
- •1.1 About the ARM PrimeCell SSPMS (PL021)
- •1.2 AMBA compatibility
- •Functional Overview
- •2.1 ARM PrimeCell SSPMS (PL021) overview
- •2.2 PrimeCell SSPMS functional description
- •2.3 PrimeCell SSPMS operation
- •Programmer’s Model
- •3.1 About the programmer’s model
- •3.2 Summary of PrimeCell SSPMS registers
- •3.3 Register descriptions
- •3.4 Interrupts
- •Programmer’s Model for Test
- •4.1 PrimeCell SSPMS test harness overview
- •4.2 Scan testing
- •4.3 Test registers
- •A.1 AMBA APB signals
- •A.2 On-chip signals
- •A.3 Signals to pads
ARM PrimeCell Synchronous Serial Port Master and Slave (PL021) Signal Descriptions
A.1 AMBA APB signals
The PrimeCell SSPMS module is connected to the AMBA APB as a bus slave.
Table A-1 describes the APB signals that are used and produced.
Table A-1 AMBA APB signal descriptions
Name |
Type |
Source/ |
Description |
|
destination |
||||
|
|
|
||
|
|
|
|
|
BnRES |
Input |
Reset controller |
Bus reset signal, active LOW. |
|
|
|
|
|
|
PADDRH[7:6] |
Input |
APB bridge |
Subset of AMBA APB address bus. |
|
|
|
|
|
|
PADDRL[4:2] |
Input |
APB bridge |
Subset of AMBA APB address bus. |
|
|
|
|
|
|
PCLK |
Input |
Clock generator |
AMBA APB clock, used to time all bus |
|
|
|
|
transfers. |
|
|
|
|
|
|
PENABLE |
Input |
APB bridge |
AMBA APB enable signal. PENABLE |
|
|
|
|
is asserted HIGH for one cycle of PCLK |
|
|
|
|
to enable a bus transfer. |
|
|
|
|
|
|
PRDATA [15:0] |
Output |
APB bridge |
Unidirectional AMBA APB read data |
|
|
|
|
bus. |
|
|
|
|
|
|
PSEL |
Input |
APB bridge |
PrimeCell SSPMS select signal from |
|
|
|
|
decoder. When set to 1 this signal |
|
|
|
|
indicates the slave device is selected by |
|
|
|
|
the AMBA APB bridge, and that a data |
|
|
|
|
transfer is required. |
|
|
|
|
|
|
PWDATA [15:0] |
Input |
APB bridge |
Unidirectional AMBA APB write data |
|
|
|
|
bus. |
|
|
|
|
|
|
PWRITE |
Input |
APB bridge |
AMBA APB transfer direction signal, |
|
|
|
|
indicates a write access when HIGH, |
|
|
|
|
read access when LOW. |
|
|
|
|
|
A-2 |
Copyright © ARM Limited 1999. All rights reserved. |
ARM DDI 0171B |
ARM PrimeCell Synchronous Serial Port Master and Slave (PL021) Signal Descriptions
A.2 On-chip signals
Table A-2 shows the non-AMBA signals from the block.
|
|
|
Table A-2 On-chip signals |
|
|
|
|
|
|
Name |
Type |
Source/ |
Description |
|
destination |
||||
|
|
|
||
|
|
|
|
|
SSPCLK |
Input |
Clock |
Main PrimeCell SSPMS clock input. |
|
|
|
generator |
|
|
|
|
|
|
|
nSSPRST |
Input |
Reset |
PrimeCell SSPMS reset signal to |
|
|
|
controller |
SSPCLK clock domain, active LOW. |
|
|
|
|
The reset controller must use BnRES |
|
|
|
|
to assert nSSPRST asynchronously, |
|
|
|
|
but negate it synchronously with |
|
|
|
|
SSPCLK. |
|
|
|
|
|
|
SSPTXINTR |
Output |
Interrupt |
Transmit FIFO service request. |
|
|
|
controller |
|
|
|
|
|
|
|
SSPRXINTR |
Output |
Interrupt |
Receive FIFO service request. |
|
|
|
controller |
|
|
|
|
|
|
|
SSPRORINTR |
Output |
Interrupt |
PrimeCell SSPMS receive overrun |
|
|
|
controller |
interrupt. |
|
|
|
|
|
|
SSPINTR |
Output |
Interrupt |
PrimeCell SSPMS interrupt. This |
|
|
|
controller |
interrupt is an OR of the three |
|
|
|
|
individual interrupts SSPTXINTR, |
|
|
|
|
SSPRXINTR and SSPRORINTR. |
|
|
|
|
|
|
SCANMODE |
Input |
Test controller |
PrimeCell SSPMS scan test hold |
|
|
|
|
input. This signal must be asserted |
|
|
|
|
HIGH during scan testing to ensure |
|
|
|
|
that internal data storage elements |
|
|
|
|
can be asynchronously reset. |
|
|
|
|
SCANMODE must be negated LOW |
|
|
|
|
during normal use or when applying |
|
|
|
|
manufacturing test vectors through |
|
|
|
|
the TIC. |
|
|
|
|
|
|
SCANENABLE |
Input |
Test controller |
Place holder for scan path select |
|
|
|
|
signal. |
|
|
|
|
|
|
SCANINPCLK |
Input |
Test controller |
Place holder for scan data input signal |
|
|
|
|
(PCLK domain). |
|
|
|
|
|
ARM DDI 0171B |
Copyright © ARM Limited 1999. All rights reserved. |
A-3 |
ARM PrimeCell Synchronous Serial Port Master and Slave (PL021) Signal Descriptions
Table A-2 On-chip signals (continued)
Name |
Type |
Source/ |
Description |
|
destination |
||||
|
|
|
||
|
|
|
|
|
SCANOUTPCLK |
Output |
Test controller |
Place holder for scan data output |
|
|
|
|
signal (PCLK domain). |
|
|
|
|
|
|
SCANINSSPCLK |
Input |
Test controller |
Place holder for scan data input signal |
|
|
|
|
(SSPCLK domain). |
|
|
|
|
|
|
SCANOUTSSPCLK |
Output |
Test controller |
Place holder for scan data output |
|
|
|
|
signal (SSPCLK domain). |
|
|
|
|
|
A-4 |
Copyright © ARM Limited 1999. All rights reserved. |
ARM DDI 0171B |
ARM PrimeCell Synchronous Serial Port Master and Slave (PL021) Signal Descriptions
A.3 Signals to pads
Table A-3 describes the signals from the PrimeCell SSPMS to input/output pads of the chip. It is the responsibility of the user to make proper use of the peripheral pins to meet the exact interface requirements.
|
|
|
Table A-3 Pad signal descriptions |
|
|
|
|
|
|
Name |
Type |
Source/ |
Description |
|
destination |
||||
|
|
|
||
|
|
|
|
|
SFRMOUT |
Output |
Pad |
PrimeCell SSPMS serial frame output (master). |
|
|
|
|
|
|
SCLKOUT |
Output |
Pad |
PrimeCell SSPMS serial clock output (master). |
|
|
|
|
|
|
SSPRXD |
Input |
Pad |
PrimeCell SSPMS serial data input. |
|
|
|
|
|
|
SSPTXD |
Output |
Pad |
PrimeCell SSPMS serial data output. |
|
|
|
|
|
|
SSPCTLOE |
Output |
Pad |
Output enable signal for SCLKOUT and |
|
|
|
|
SFRMOUT outputs from the PrimeCell SSPMS. |
|
|
|
|
This output is set when the device is in master |
|
|
|
|
mode and cleared when the device is in slave |
|
|
|
|
mode. |
|
|
|
|
|
|
SFRMIN |
Input |
Pad |
PrimeCell SSPMS serial frame input (slave). |
|
|
|
|
|
|
SCLKIN |
Input |
Pad |
PrimeCell SSPMS serial clock input (slave). |
|
|
|
|
|
|
SSPOE |
Output |
Pad |
Output enable signal to indicate when SSPTXD |
|
|
|
|
is valid. |
|
|
|
|
|
ARM DDI 0171B |
Copyright © ARM Limited 1999. All rights reserved. |
A-5 |
ARM PrimeCell Synchronous Serial Port Master and Slave (PL021) Signal Descriptions
A-6 |
Copyright © ARM Limited 1999. All rights reserved. |
ARM DDI 0171B |
Index
The items in this index are listed in alphabetic order, with symbols and numerics appearing at the end. The references given are to page numbers.
A |
|
|
F |
|
|
|
Interrupts |
3-10 |
|
|
AMBA |
|
|
Features |
|
|
|
L |
|
|
|
APB interface |
2-4 |
Microwire |
1-4 |
|
|
|
|
|||
AMBA compatibility |
1-5 |
PrimeCell SSP |
1-2 |
Little-endian |
1-5 |
|
||||
|
|
|
SPI 1-3 |
|
|
|
|
|
|
|
B |
|
|
TI SSI |
1-4 |
|
M |
|
|
|
|
|
|
FIFO |
|
|
|
|
|
|
||
Big-endian 1-5 |
|
|
receive |
2-4 |
|
Microwire |
|
|
|
|
2-9 |
transmit |
|
2-4 |
|
|
1-4 |
|
|||
Bit rate generation |
Frame format |
|
2-10 |
|
features |
|
||||
|
|
|
|
|
frame format 2-17 |
|||||
|
|
|
Microwire |
2-17 |
||||||
C |
|
|
Motorola |
|
|
|
||||
|
|
Motorola SPI 2-12 |
|
|
|
|||||
|
|
TI SSI |
2-11 |
|
SPI frame format |
2-12 |
||||
|
|
|
|
|||||||
Clock prescale register |
3-8 |
Functional description |
2-3 |
N |
|
|
|
|||
Clock prescaler |
2-4 |
|
I |
|
|
|
|
|
|
|
Compatibility,AMBA |
1-5 |
|
|
|
National Semiconductor |
|
||||
Control register |
3-4, 3-5 |
Input generation logic |
2-5 |
|
Microwire |
2-17 |
||||
|
|
|
nibmode |
4-7 |
|
|
||||
D |
|
|
Interface reset |
2-7 |
|
|
|
|||
|
|
|
|
|
|
|
||||
|
|
Interrupt clear register |
3-9 |
|
|
|
|
|||
|
|
|
|
|
|
|
||||
Data register 3-7 |
|
Interrupt identification register |
3-9 |
|
|
|
ARM DDI 0171B |
Copyright © ARM Limited 1999. All rights reserved. |
Index-i |
Index
P
PrimeCell SSP |
|
features |
1-2 |
PrimeCell SSP operation 2-7 |
|
Programmer’s model 3-1 |
|
for test |
4-1 |
R
Receive FIFO |
2-4 |
|
|
|
REGCLK |
4-6 |
|
|
|
Register |
|
|
|
|
clock prescale |
3-8 |
|||
control 3-4, 3-5 |
|
|||
data |
3-7 |
|
|
|
descriptions |
3-4 |
|
||
interrupt clear |
3-9 |
|||
interrupt identification 3-9 |
||||
status |
3-7 |
|
|
|
test |
4-5 |
|
|
|
test clock enable |
|
4-5 |
||
test clock pre-scale counter 4-9 |
||||
test control |
4-6 |
|
||
test input stimulus |
4-8 |
|||
test mode |
4-7 |
|
|
|
test output capture |
4-8 |
|||
Register block |
2-4 |
|
|
|
Registered clock mode |
4-6 |
S
Scan testing |
|
4-4 |
|
|
SCLK |
4-9 |
|
|
|
SFRM |
4-9 |
|
|
|
SPI features |
|
1-3 |
|
|
SSP |
|
|
|
|
register descriptions |
3-4 |
|||
register summary 3-3 |
||||
SSPCPSC |
4-9 |
|
||
SSPINTR |
3-11, 4-8 |
|
||
SSPOE |
4-8 |
|
|
|
SSPORINTR |
3-11 |
|
||
SSPRXD |
|
4-8 |
|
|
SSPRXINTR |
3-10 |
|
||
SSPTXD |
|
4-9 |
|
|
SSPTXINTR |
3-10 |
|
||
Status register |
3-7 |
|
||
Summary of SSP registers |
3-3 |
Synchronizing registers and logic 2-6
T
Test clock |
|
|
|
|
enable |
4-6 |
|
|
|
enable register |
4-5 |
|
||
pre-scale counter register |
4-9 |
|||
Test control register |
4-6 |
|
||
Test harness |
|
4-2 |
|
|
Test input |
|
|
|
|
select |
4-6 |
|
|
|
stimulus register |
4-8 |
|
||
Test mode |
|
|
|
|
enable |
4-7 |
|
|
|
register |
|
4-7 |
|
|
Test output capture register |
4-8 |
|||
Test registers |
4-5 |
|
|
|
and logic |
2-6 |
|
|
|
Test reset |
4-6 |
|
|
|
TESTCLKEN |
4-6 |
|
|
|
TESTEN |
4-7 |
|
|
|
Testing, scan |
4-4 |
|
|
|
TESTINPSEL |
4-6 |
|
|
|
TESTRST |
4-6 |
|
|
|
Texas Instruments |
2-11 |
|
||
TI SSI |
|
|
|
|
features |
|
1-4 |
|
|
frame format 2-11 |
|
|||
Transmit FIFO |
2-4 |
|
|
|
Transmit/receive logic 2-5 |
|
Index-ii |
Copyright © ARM Limited 1999. All rights reserved. |
ARM DDI 0171B |