HP (Hewlett-Packard) B Network Router User Manual


 
Procedure 1. Place the last reading (from the A/D) into memory.
A. Using the traffic register (base + 02
16
) set the pulse register as
the high-speed clock source by setting bits 3 - 2 to 0 0. Retain the
settings of the other bits.
B. Send a clock pulse to the internal high-speed bus by reading or
writing (any value) to the pulse register (base + 08
16
).
2. Initialize the memory control register.
A. Set bits 2 - 0 of the memory control register (base + 21
16
) to ’0’.
Retain the settings of bits 7 - 3.
3. Enable memory.
A. Enable data to be retrieved from digitizer memory by setting the
memory control register (base + 21
16
) as indicated. Retain the
settings of the other bits.
bits 2 - 0 = 1 1 0
B. Using the traffic register (base + 02
16
), set digitizer memory as
the data source for the internal high-speed bus, and set the pulse
register as the high-speed clock source by setting the following
traffic register bits as indicated:
bits 3 - 2 = 0 0(clock source is pulse register)
bits 1 - 0 = 1 1(memory is internal bus data source)
(The internal high-speed bus links digitizer memory to the VME
bus which is accessed by the user (Figure 3-7) .)
C. Send a clock pulse to the internal high-speed bus by reading or
writing (any value) to the pulse register (base + 08
16
).
4. Determine the starting address of the memory segment.
A. The segment size (which is the number of readings that were
taken) must be divisible by 4. The starting address is computed as:
starting address = ending address - (segment size - 1)
The data retrieval procedure is for one segment of post-arm
readings. Therefore, the ending address (524,287) is the size of
digitizer memory.
386 Register Programming Appendix C