- •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
Programmer’s Model for Test
|
|
Table 4-4 GIRTMR register read/write bits (continued) |
|
|
|
Bit |
Name |
Description |
|
|
|
0 |
RxTimerNibmode |
1 = The 20-bit receive pulse timer is divided into nibbles for |
|
|
faster and more efficient testing. The test mode enables |
|
|
verification of counter functionality in less clock cycles since |
|
|
the counter is decremented by 0x11111 instead of 0x00001 as |
|
|
in normal mode. |
|
|
0 = Normal mode, the counter decrements by 1 for each |
|
|
enabled clock cycle. |
|
|
This bit is cleared to 0 by default on reset by BnRES. |
|
|
|
4.3.4GIRTISR: [1] (+0x88)
GIRTISR is the test input stimulus register. It contains one bit (GIRRegRXD), which is used as the data bit to drive the receive data path in test mode. The bit is read/write as shown in Table 4-5.
|
|
Table 4-5 GIRTISR register read/write bits |
|
|
|
Bit |
Name |
Description |
|
|
|
31:1 |
|
Reserved, unpredictable when read. |
|
|
|
0 |
TestGIRIN |
Programmable test stimulus for primary input GIRIN. This |
|
|
bit will have no effect when not in test mode. |
|
|
|
4-8 |
© Copyright ARM Limited 1999. All rights reserved. |
ARM DDI 0149B |
Programmer’s Model for Test
4.3.5GIRTOCR: [5] (+0x8c)
GIRTOCR is the test output capture register which is a 5-bit wide register that captures the non-AMBA outputs. The interrupt signals and the output signals are captured in this register. All the bits are read only and are assigned as shown in Table 4-6.
|
|
Table 4-6 GIRTOCR register read bits |
|
|
|
Bit |
Name |
Description |
|
|
|
31:5 |
|
Reserved, unpredictable when read. |
|
|
|
4 |
TGIRINTR |
This bit is HIGH if GIRINTR is HIGH. GIRINTR is HIGH |
|
|
if GIRTXINTR, GIRRXINTR or GIRRRORINTR is |
|
|
HIGH. |
|
|
This bit is cleared to 0 by default on reset by BnRES. |
|
|
|
3 |
TGIRORINTR |
This bit is HIGH when GIRRORINTR is asserted, otherwise |
|
|
it is LOW. |
|
|
This bit is cleared to 0 by default on reset by BnRES. |
|
|
|
2 |
TGIRRXINTR |
This bit is HIGH when GIRRXINTR is asserted, otherwise it |
|
|
is LOW. |
|
|
This bit is cleared to 0 by default on reset by BnRES. |
|
|
|
1 |
TGIRTXINTR |
This bit is HIGH when GIRTXINTR is asserted, otherwise it |
|
|
is LOW. |
|
|
This bit is cleared to 0 by default on reset by BnRES. |
|
|
|
0 |
TGIROUT |
This bit represents the logic level on the GIROUT pin. |
|
|
This bit is cleared to 0 by default on reset by BnRES. |
|
|
|
4.3.6GIRTTXCDC [16] (+0x90)
GIRTTXCDC is a read-only register that returns the current value of the 16-bit transmit clock divider used to generate the transmit clock from the GIRCLK. Table 4-7 shows the bit assignments for the GIRTTXCDC.
|
|
Table 4-7 GIRTTXCDC register bits read bits |
|
|
|
Bit |
Name |
Description |
|
|
|
31:16 |
- |
Reserved, unpredictable when read. |
|
|
|
15:0 |
TXCDC |
Reading this register returns the current value of the transmit clock |
|
|
divide counter. |
|
|
|
ARM DDI 0149B |
© Copyright ARM Limited 1999. All rights reserved. |
4-9 |
Programmer’s Model for Test
4.3.7GIRTRXCDC [16] (+0x94)
GIRTRXCDC is a read-only register that returns the current value of the 16-bit receive clock divider used to generate the receive clock from the GIRCLK. Table 4-8 shows the bit assignments for the GIRTRXCDC.
|
|
Table 4-8 GIRTRXCDC register bits read bits |
|
|
|
Bit |
Name |
Description |
|
|
|
31:16 |
- |
Reserved, unpredictable when read. |
|
|
|
15:0 |
RXCDC |
Reading this register returns the current value of the receive clock |
|
|
divide counter. |
|
|
|
4.3.8GIRTTXC [20] (+0x98)
GIRTTXC is a read-only register that returns the current value of the 20-bit counter value used to generate the transmit output signal. Table 4-9 shows the bit assignments for the GIRTTXC.
|
|
Table 4-9 GIRTTXC register bits read bits |
|
|
|
Bit |
Name |
Description |
|
|
|
31:20 |
- |
Reserved, unpredictable when read. |
|
|
|
19:0 |
TXC |
Reading this register returns the current value of the transmit timer |
|
|
counter. |
|
|
|
4-10 |
© Copyright ARM Limited 1999. All rights reserved. |
ARM DDI 0149B |
Programmer’s Model for Test
4.3.9GIRTRXPTC [20] (+0x9c)
GIRTRXPTC is a read-only register that returns the current value of the 20-bit pulse timer used to measure the received signal. Table 4-10 shows the bit assignments for the GIRTRXPTC.
|
|
Table 4-10 GIRTRXPTC register bits read bits |
|
|
|
Bit |
Name |
Description |
|
|
|
31:20 |
- |
Reserved, unpredictable when read. |
|
|
|
19:0 |
RXPTC |
Reading this register returns the current value of the receive pulse |
|
|
timer counter. |
|
|
|
4.3.10GIRTDC [7] (+0xa0)
GIRTDC is a read-only register that returns the current value of the 7-bit demodulator counter used to demodulate the input signal. Table 4-11 shows the bit assignments for the GIRTDC.
|
|
Table 4-11 GIRTDC register bits read bits |
|
|
|
Bit |
Name |
Description |
|
|
|
31:7 |
|
Reserved, unpredictable when read. |
|
|
|
6:0 |
TDC |
Reading this register returns the current value of the receive |
|
|
demodulation counter. |
|
|
|
ARM DDI 0149B |
© Copyright ARM Limited 1999. All rights reserved. |
4-11 |
Programmer’s Model for Test
4-12 |
© Copyright ARM Limited 1999. All rights reserved. |
ARM DDI 0149B |
Appendix A
ARM PrimeCell Generic Infrared Interface
(PL140) Signal Descriptions
This appendix describes the signals that interface with the ARM PrimeCell Generic Infrared Interface (PL140). It contains the following:
•AMBA APB signals on page A-2
•On-chip signals on page A-3
•Signals to pads on page A-4.
ARM DDI 0149B |
© Copyright ARM Limited 1999. All rights reserved. |
A-1 |