
Chapter 4 Theory of Operation
Floating Logic
Floating Logic
Referring to the schematic shown on page 132, the floating common logic controls operation of the entire instrument. All output functions and bus command interpretation is performed in the main controller U19. The front panel and the earth referenced logic operate as slaves to U19. The floating common logic is comprised of the main controller U19, custom gate array U20, the program ROM U13, RAM U14, calibration EEPROM U15, and the 12 MHz clock oscillator.
The main controller U19 is a
A conventional address/data bus is used to transfer data between the main controller and external ROM and RAM. When the address latch enable (ALE) signal goes high, address data is present on the address/data bus. ASIC U20 latches the address data and decodes the correct chip enable (low true) for external ROM and RAM accesses and for read/write accesses to the internal registers of U20. The system memory map is shown below.
0000H - 1FF7H | U14 | 32k x 8 RAM |
1FF8H - 1FFFH | U20 | Gate Array |
2000H - FFFFH | U13 | Program ROM |
|
|
|
Program ROM U13 contains four 64k x 8 data banks of data. Banks are selected by controlling A16 and A17 ROM address bits directly from the main controller port bits.
Custom gate array U20 performs address latching and memory map decoding functions as discussed above. In addition, U20 contains a variety of internal read/write registers. The read (XRD) and write (XWR) signals transfer data out of and into U20 when it is addressed. There are four internal registers in U20: an internal configuration register, an 8 bit counter register, a serial transmit/ receive register, and an internal status register.
The counter register is used to capture the ADC slope count at the COMP input. The COMP input functions as both a clocked comparator and the slope counter input for the ADC. In both cases the counter register captures the lower 8 bits of a
88