- •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
Chapter 4
Programmer’s Model for Test
The ARM PrimeCell Generic Infrared Interface (PL140) contains additional logic for functional verification and production testing.
This chapter contains the following:
•PrimeCell GIR test harness overview on page 4-2
•Scan testing on page 4-3
•Test registers on page 4-4.
ARM DDI 0149B |
© Copyright ARM Limited 1999. All rights reserved. |
4-1 |
Programmer’s Model for Test
4.1PrimeCell GIR test harness overview
The additional logic for functional verification and production testing allows:
•stimulation of input signals to the PrimeCell GIR
•capture of the output signals
•generation of a special test clock enable signal to propagate test vectors.
The PrimeCell GIR can be configured to test modes which bypass the transmit and receive clock generators and the GIRCLK input used as the transmit/receive clock. These test features are controlled by test registers. This allows testing of the PrimeCell GIR in isolation from the rest of the system using only transfers from the AMBA APB.
Off-chip test vectors are supplied via a 32-bit parallel External Bus Interface (EBI) and converted to internal AMBA bus transfers. The application of test vectors is controlled via the Test Interface Controller (TIC) AMBA bus master module. Figure 4-1 shows the PrimeCell GIR test harness block diagram.
|
|
|
|
|
|
|
|
|
|
|
Non- |
Non- |
|
|
|
|
|
|
|
||||
AMBA |
|
|
|
|
|
PrimeCell |
|
|
|
|
AMBA |
APB |
|
|
GIR |
|
|
|
|
APB |
|||
inputs |
|
|
|
|
|
|
|
outputs |
|||
|
|
|
|
|
|
|
|
|
|
|
|
Test stimulus |
AMBA APB interface |
Test results |
|
capture |
|
|
|
|
|
|
|
Figure 4-1 PrimeCell GIR test harness
During test the GIRCLK signal must be driven by the free-running PCLK clock signal so that the test vectors can be frequency independent. This clock multiplexing must be performed external to the PrimeCell GIR.
4-2 |
© Copyright ARM Limited 1999. All rights reserved. |
ARM DDI 0149B |
Programmer’s Model for Test
4.2Scan testing
The PrimeCell GIR peripheral has been designed to simplify the insertion of scan test cells and the use of Automatic Test Pattern Generation (ATPG) for an alternative method of manufacturing test.
During scan testing, the SCANMODE input must be driven HIGH to ensure that all internal data storage elements can be asynchronously reset. For normal use and application of manufacturing test vectors via the TIC, SCANMODE must be negated LOW.
ARM DDI 0149B |
© Copyright ARM Limited 1999. All rights reserved. |
4-3 |