Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ARM advanced microcontroller bus architecture (AMBA) specification.Rev 2.0.pdf
Скачиваний:
196
Добавлен:
23.08.2013
Размер:
1.92 Mб
Скачать

AMBA Test Methodology

6.2External interface

The external test interface consists of:

a test clock

three control signals

a 32-bit test bus.

Only two dedicated signal pins are required (TREQA and TACK) to control the entry and exit of test mode. The remaining signals can be provided by reusing existing device pins.

6.2.1Test bus request A

TREQA is the test bus request A input signal and is required as a dedicated device pin.

During normal system operation the TREQA signal is used to request entry into the test mode. This will cause the test bus to become tristated, allowing test vectors to be applied.

During test this signal is used, in combination with TREQB, to indicate the type of test vector that will be applied in the following cycle.

6.2.2Test bus request B

TREQB is the test bus request B input signal.

During test this signal is used, in combination with TREQA, to indicate the type of test vector that will be applied in the following cycle.

6.2.3Test acknowledge

TACK is the test bus acknowledge output signal and is required as a dedicated device pin.

The test bus acknowledge signal gives external indication that the test bus has been granted and also indicates when a test access has completed. When TACK is LOW the current test vector must be extended until TACK becomes HIGH. The TREQA and TREQB signals are only sampled by the TIC when TACK is HIGH.

Table 6-1 and Table 6-2 show the operation of the TREQA, TREQB and TACK signals. The signals have different functions depending on whether or not test mode has been entered.

6-4

© Copyright ARM Limited 1999. All rights reserved.

ARM IHI 0011A

AMBA Test Methodology

Table 6-1 Test control signals during normal operation

TREQA

TREQB

TACK

Description

 

 

 

 

0

0

0

Normal operation

 

 

 

 

1

0

0

Enter test mode request

 

 

 

 

0

1

0

Reserved (for external master request)

 

 

 

 

-

-

1

Test mode entered

 

 

 

 

 

 

 

Table 6-2 Test control signals during test mode

 

 

 

 

TREQA

TREQB

TACK

Description

 

 

 

 

-

-

0

Current access incomplete

 

 

 

 

1

1

1

Address vector, control vector or turnaround vector

 

 

 

 

1

0

1

Write vector

 

 

 

 

0

1

1

Read vector

 

 

 

 

0

0

1

Exit test mode

 

 

 

 

6.2.4Test clock

TCLK is the test clock input signal.

In test mode, the internal bus clock is driven from the external TCLK source. This pin may be the normal clock oscillator source input or a port replacement signal. The system bus clock must not glitch when switching between normal and test mode.

On entry into test mode the TIC indicates that it has switched to the test clock input by asserting the TACK signal.

6.2.5Test bus

TBUS[31:0] is the 32-bit bidirectional test port.

The test bus is used as an input to apply address, control and write vectors. For read vectors the test bus is used as a device output. The test interface protocol ensures that a turnaround period is always provided when changing the direction of the test bus.

ARM IHI 0011A

© Copyright ARM Limited 1999. All rights reserved.

6-5