- •Introduction
- •1.1 About the ARM PrimeCell Real Time Clock (PL031)
- •1.1.1 Features of the PrimeCell RTC
- •Functional Overview
- •2.1 ARM PrimeCell Real Time Clock (PL031) overview
- •2.2 PrimeCell RTC functional description
- •2.2.1 AMBA APB interface
- •2.2.2 Register block
- •2.2.3 Control block
- •2.2.4 Update block
- •2.2.5 Synchronization block
- •2.2.6 Counter block
- •2.2.7 Test register and logic
- •2.3 PrimeCell RTC operation
- •2.3.1 Interface reset
- •2.3.2 Clock signals
- •2.3.3 PrimeCell RTC operation
- •Programmer’s Model
- •3.1 About the programmer’s model
- •3.2 Summary of PrimeCell RTC registers
- •3.3 General registers
- •3.3.1 Data register, RTCDR
- •3.3.2 Match register, RTCMR
- •3.3.3 Load register, RTCLR
- •3.3.4 Control register, RTCCR
- •3.3.5 Interrupt mask set or clear register, RTCIMSC
- •3.3.6 Raw interrupt status, RTCRIS
- •3.3.7 Masked interrupt status, RTCMIS
- •3.3.8 Interrupt clear register, RTCICR
- •3.4.1 RTCPeriphID0 register
- •3.4.2 RTCPeriphID1 register
- •3.4.3 RTCPeriphID2 register
- •3.4.4 RTCPeriphID3 register
- •3.5.1 RTCPCellID0 register
- •3.5.2 RTCPCellID1 register
- •3.5.3 RTCPCellID2 register
- •3.5.4 RTCPCellID3 register
- •3.6 Interrupts
- •Programmer’s Model for Test
- •4.1 PrimeCell RTC test harness overview
- •4.2 Scan testing
- •4.3 Test registers
- •4.3.1 Integration test control register, RTCITCR
- •4.3.2 Integration test input read or set register, RTCITIP
- •4.3.3 Integration test output read or set register, RTCITOP
- •4.3.4 Test offset register, RTCTOFFSET
- •4.3.5 Test count register, RTCTCOUNT
- •4.4 Integration testing of block inputs
- •4.5 Integration testing of block outputs
- •4.6 Integration test summary
- •A.1 AMBA APB signals
- •A.2 On-chip signals
Programmer’s Model for Test
4.3Test registers
The PrimeCell RTC test registers are memory-mapped as shown in Table 4-1.
|
|
|
|
|
Table 4-1 Test registers memory map |
|
|
|
|
|
|
Address |
Type |
Width |
Reset value |
Name |
Description |
|
|
|
|
|
|
RTC Base + 0x80 |
Read/write |
3 |
0x00000000 |
RTCITCR |
Integration test control register |
|
|
|
|
|
|
RTC Base + 0x84 |
Read/write |
0 |
0x00000000 |
RTCITIP |
Integration test input read or set register |
|
|
|
|
|
|
RTC Base + 0x88 |
Read/write |
1 |
0x00000000 |
RTCITOP |
Integration test output read or set |
|
|
|
|
|
register |
|
|
|
|
|
|
RTC Base + 0x8C |
Read/write |
32 |
0x00000000 |
RTCTOFFSET |
Test offset register |
|
|
|
|
|
|
RTC Base + 0x90 |
Read/write |
32 |
0x00000000 |
RTCTCOUNT |
Test count register |
|
|
|
|
|
|
Note
Test registers must not be accessed during normal operation.
4.3.1Integration test control register, RTCITCR
RTCITCR is the test control register. This general test register controls the operation of the PrimeCell RTC under test conditions. Table 4-2 shows the bit assignments for the RTCITCR register.
|
|
|
Table 4-2 RTCITCR register |
|
|
|
|
|
Bits |
Name |
Description |
|
|
|
|
|
31:3 |
- |
Reserved. Unpredictable when read. Should be written as 0. |
|
|
|
|
|
2 |
TESTOFFSET |
Test offset enable. When this bit is set to 1, data can be written |
|
|
|
to and read from the offset register for test purposes. |
|
|
|
When this bit is set to 0, data cannot be written to or read from |
|
|
|
the offset register (normal operation). The reset value is 0. |
|
|
|
|
|
1 |
TESTCOUNT |
Test count enable. When this bit is set to 1, data can be written |
|
|
|
to and read from the counter register for test purposes. |
|
|
|
When this bit is set to 0, data cannot be written to or read from |
|
|
|
the counter register (normal operation). The reset value is 0. |
|
|
|
|
|
0 |
ITEN |
Integration test enable. When this bit is 1, the RTC is placed |
|
|
|
in integration test mode, otherwise it is in normal mode. |
|
|
|
|
|
|
|
|
4-4 |
Copyright © 2001 ARM Limited. All rights reserved. |
ARM DDI 0224B |
Programmer’s Model for Test
4.3.2Integration test input read or set register, RTCITIP
RTCITIP is the integration test input read or set register. It is reserved for future use.
4.3.3Integration test output read or set register, RTCITOP
RTCITOP is the integration test output read or set register. The primary outputs are read only and the intra-chip outputs are read/write. In integration test mode it allows outputs to be both written to and read from. Table 4-3 shows the bit assignments for the RTCITOP register.
|
|
Table 4-3 RTCITOP register |
|
|
|
Bits |
Name |
Description |
|
|
|
31:1 |
- |
Reserved. Unpredictable when read. |
|
|
|
0 |
RTCINTR |
Intra-chip output. Writes specify the value to be driven on the |
|
|
RTCINTR line in the integration test mode. Reads return the value of |
|
|
the RTCINTR at the output of the test multiplexor. |
|
|
|
4.3.4Test offset register, RTCTOFFSET
RTCTOFFSET is the test offset register. It allows data to be written into the offset register for test purposes. Table 4-4 shows the bit assignments for the RTCTOFFSET register.
|
|
Table 4-4 RTCTOFFSET register |
|
|
|
Bits |
Name |
Description |
|
|
|
31:0 |
OFFSET |
Read/write register allowing reads and writes to the offset register for |
|
|
test purposes. |
|
|
|
4.3.5Test count register, RTCTCOUNT
RTCTCOUNT is the test count register. It allows data to be written into the counter register for test purposes. Table 4-5 shows the bit assignments for the RTCTCOUNT register.
|
|
|
Table 4-5 RTCTCOUNT register |
|
|
|
|
|
Bits |
Name |
Description |
|
|
|
|
|
31:0 |
COUNT |
Read/write register allowing reads and writes to the counter register for |
|
|
|
test purposes. |
|
|
|
|
|
|
|
|
ARM DDI 0224B |
Copyright © 2001 ARM Limited. All rights reserved. |
4-5 |