
- •Preface
- •About this document
- •Intended audience
- •Organization
- •Typographical conventions
- •Further reading
- •ARM publications
- •Feedback
- •Feedback on this document
- •Feedback on the ARM PrimeCell Generic Infrared Interface (PL140)
- •Introduction
- •1.1 About the ARM PrimeCell Generic Infrared Interface (PL140)
- •1.1.1 Features of the PrimeCell GIR
- •1.1.2 Programmable parameters
- •1.2 Block diagram
- •1.3 AMBA compatibility
- •Functional Overview
- •2.1 ARM PrimeCell Generic Infrared Interface (PL140) overview
- •2.2 PrimeCell GIR functional description
- •2.2.1 AMBA APB interface
- •2.2.2 Register block
- •2.2.3 Receive and transmit clock divider
- •2.2.4 Transmit FIFO
- •2.2.5 Receive FIFO
- •2.2.6 Transmit logic
- •2.2.7 Receive logic
- •2.2.8 Interrupt generation logic
- •2.2.9 Synchronizing registers and logic
- •2.2.10 Test registers and logic
- •2.3 Infrared methodology
- •2.4 PrimeCell GIR operation
- •2.4.1 Interface reset
- •2.4.2 Clock signals
- •2.4.3 Receive processing
- •2.4.4 Receive demodulation
- •2.4.5 Receive FIFO information
- •2.4.6 Transmit processing
- •2.4.7 Transmit modulation
- •2.4.8 Clock dividers
- •Programmer’s Model
- •3.1 About the programmer’s model
- •3.2 Summary of PrimeCell GIR registers
- •3.3 Register descriptions
- •3.3.1 GIRFCR: [15] (+ 0x00)
- •3.3.5 GIRSTAT: [8] (+0x10)
- •3.3.7 GIRIIR/GIRICR: [3/0] (+0x18)
- •Programmer’s Model for Test
- •4.1 PrimeCell GIR test harness overview
- •4.2 Scan testing
- •4.3 Test registers
- •4.3.4 GIRTISR: [1] (+0x88)
- •4.3.5 GIRTOCR: [5] (+0x8c)
- •4.3.6 GIRTTXCDC [16] (+0x90)
- •4.3.7 GIRTRXCDC [16] (+0x94)
- •4.3.8 GIRTTXC [20] (+0x98)
- •4.3.9 GIRTRXPTC [20] (+0x9c)
- •4.3.10 GIRTDC [7] (+0xa0)
- •A.1 AMBA APB signals
- •A.2 On-chip signals
- •A.3 Signals to pads

Introduction
1.2Block diagram
Figure 1-1 shows the block diagram of the PrimeCell GIR. For further details see also
PrimeCell GIR functional description on page 2-3.
|
|
Write data [16:0] |
Transmit |
GIROUT |
|
|
|
logic |
|
|
|
|
|
|
PCLK |
|
|
Transmit |
|
BnRES |
|
|
FIFO |
|
|
|
17-bit |
|
|
|
|
|
|
|
PENABLE |
|
|
16-deep |
|
AMBA |
|
|
|
|
|
|
|
|
|
PSEL |
APB |
|
|
|
PWRITE |
interface |
|
|
|
and |
|
|
|
|
|
|
|
|
|
PADDR[7:2] |
registers |
Control and status |
|
|
|
|
|
||
|
|
|
|
|
PWDATA[31:0] |
|
|
|
|
PRDATA[31:0] |
|
Receive data available |
Receive |
|
|
|
GIRIN |
||
|
|
Read data [16:0] |
logic |
|
|
|
|
||
|
|
|
|
|
|
|
|
Receive |
|
|
|
|
FIFO |
|
|
|
|
17-bit |
|
|
|
|
16-deep |
|
GIRRORINTR |
|
Receive FIFO status |
|
|
GIRRXINTR |
Interrupt |
|
|
|
and FIFO |
|
|
|
|
|
Transmit FIFO status |
|
|
|
GIRTXINTR |
status logic |
|
|
|
GIRINTR |
|
|
|
|
|
Transmit |
|
|
|
|
clock divider |
Transmit clock enable |
|
|
|
|
|
|
GIRCLK |
|
|
Receive |
Receive clock enable |
|
|
|
clock divider |
|
|
|
|
|
|
|
|
|
nGIRRST |
|
|
|
NOTE: Test logic not represented |
|
|
|
|
|||
|
|
|
|||
|
|
|
|
||
SCANMODE |
|
|
|
|
for clarity |
|
|
|
|
||
|
|
|
|
|
Figure 1-1 PrimeCell GIR block diagram
ARM DDI 0149B |
© Copyright ARM Limited 1999. All rights reserved. |
1-3 |

Introduction
1.3AMBA compatibility
The PrimeCell GIR complies with the AMBA Specification (Rev 2.0) onwards. The fundamental differences from the AMBA Specification Revision D are:
•the timing of the strobe signal PSTB compared with the enable signal
PENABLE
•the time at which read data is sampled
•a separate unidirectional read data bus PRDATA, and unidirectional write data bus PWDATA (instead of the bidirectional data bus PD)
•the address bus is named PADDR (instead of PA).
This document assumes little-endian memory organization, where bytes of increasing significance are stored in increasing addresses in memory, and hence low-order bytes are transferred on the low-order bits of the data bus. The PrimeCell GIR can also be used in a system with a big-endian memory organization, and several methods of achieving this are described in the ARM PrimeCell Generic Infrared Interface (PL140) Integration Manual.
1-4 |
© Copyright ARM Limited 1999. All rights reserved. |
ARM DDI 0149B |