- •Preface
- •About this document
- •Intended audience
- •Organization
- •Typographical conventions
- •Timing diagram conventions
- •Further reading
- •ARM publications
- •Feedback
- •Feedback on this document
- •Feedback on the ARM PrimeCell Audio CODEC Interface (PL040)
- •Introduction
- •1.1 About the ARM PrimeCell Audio CODEC Interface (PL040)
- •1.1.1 Features of the PrimeCell ACI
- •1.1.2 An example CODEC interface
- •1.2 AMBA compatibility
- •Functional Overview
- •2.1 ARM PrimeCell Audio CODEC Interface (PL040) overview
- •2.2 PrimeCell ACI functional description
- •2.2.1 AMBA APB interface and register block
- •2.2.2 Frequency divider
- •2.2.3 Transmit FIFO
- •2.2.4 Receive FIFO
- •2.2.5 Transmit logic
- •2.2.6 Receive logic
- •2.2.7 Interrupt generation logic
- •2.2.8 Synchronizing registers and logic
- •2.2.9 Test registers and logic
- •2.3 PrimeCell ACI operation
- •2.3.1 Interface reset
- •2.3.2 Clock signals
- •2.3.3 PrimeCell ACI operation
- •2.3.4 System loopback testing
- •Programmer’s Model
- •3.1 About the programmer’s model
- •3.2 Summary of PrimeCell ACI registers
- •3.3 Register descriptions
- •3.3.1 ACIDR: [8] (+ 0x00)
- •3.3.2 ACICR: [5] (+ 0x04)
- •3.3.3 ACISR: [8] (+0x08)
- •3.3.4 ACICDR_L: [8] (+ 0x0c)
- •3.3.5 ACICDR_H: [2] (+ 0x10)
- •3.4 Interrupts
- •3.4.1 Interrupt generation logic
- •Programmer’s Model for Test
- •4.1 PrimeCell ACI test harness overview
- •4.2 Scan testing
- •4.3 Test registers
- •4.3.2 ACITCR [5] (+0x80)
- •4.3.3 ACITMR [3] (+0x84)
- •4.3.4 ACITISR [1] (+0x88)
- •4.3.5 ACITOCR [4] (+0x8c)
- •4.3.6 ACITCDR_L [8] (+0x90)
- •4.3.7 ACITCDR_H [2] (+0x94)
- •A.1 AMBA APB signals
- •A.2 On-chip signals
- •A.3 Signals to pads
Chapter 3
Programmer’s Model
This chapter describes the ARM PrimeCell Audio CODEC Interface (PL040) registers and provides details needed when programming the microcontroller. It contains the following sections:
•About the programmer’s model on page 3-2
•Summary of PrimeCell ACI registers on page 3-3
•Register descriptions on page 3-4
•Interrupts on page 3-8.
ARM DDI 0146C |
© Copyright ARM Limited 1999. All rights reserved. |
3-1 |
Programmer’s Model
3.1About the programmer’s model
The base address of the PrimeCell ACI is not fixed, and may be different for any particular system implementation. However, the offset of any particular register from the base address is fixed.
The following locations are reserved, and must not be used during normal operation:
•locations at offsets +0x14–0x3c and +0x98–0xff are reserved for possible future extensions
•locations at offsets +0x40 through +0x94 are reserved for test purposes.
3-2 |
© Copyright ARM Limited 1999. All rights reserved. |
ARM DDI 0146C |
Programmer’s Model
3.2Summary of PrimeCell ACI registers
The PrimeCell ACI registers are shown in Table -3-1.
Table 3-1 PrimeCell ACI register summary
Address |
Type |
Width |
Reset |
Name |
Description |
|
value |
||||||
|
|
|
|
|
||
|
|
|
|
|
|
|
ACI Base + 0x00 |
Read/ |
8 |
0x00 |
ACIDR |
Data read or written from |
|
|
write |
|
|
|
the AMBA APB interface |
|
|
|
|
|
|
|
|
ACI Base + 0x04 |
Read/ |
5 |
b---00000 |
ACICR |
Control register |
|
|
write |
|
|
|
|
|
|
|
|
|
|
|
|
ACI Base + 0x08 |
Read |
8 |
0x09 |
ACISR |
Status register |
|
|
|
|
|
|
|
|
ACI Base + 0x0c |
Read/ |
8 |
0x00 |
ACICDR_L |
Clock divider register, |
|
|
write |
|
|
|
LOW byte |
|
|
|
|
|
|
|
|
ACI Base + 0x10 |
Read/ |
2 |
b------00 |
ACICDR_H |
Clock divider register, |
|
|
write |
|
|
|
HIGH byte |
|
|
|
|
|
|
|
|
ACI Base + 0x14 - 0x3c |
- |
- |
- |
- |
Reserved |
|
|
|
|
|
|
|
|
ACI Base + 0x40 - 0x94 |
- |
- |
- |
- |
Reserved (for test |
|
|
|
|
|
|
purposes) |
|
|
|
|
|
|
|
|
ACI Base + 0x98 - 0xff |
- |
- |
- |
- |
Reserved |
|
|
|
|
|
|
|
ARM DDI 0146C |
© Copyright ARM Limited 1999. All rights reserved. |
3-3 |