Interrupt Control Circuitry; Usb Microcontroller; 82C55A Programmable Peripheral Interface - National Instruments DAQPad-6508 User Manual

Digital i/o devices for usb
Table of Contents

Advertisement

Chapter 4
Theory of Operation

Interrupt Control Circuitry

USB Microcontroller

82C55A Programmable Peripheral Interface

DAQPad-6507/6508 User Manual
Interrupt control circuitry enables and disables interrupts. Two
software-controlled registers determine which devices, if any, generate
interrupts in the interrupt circuitry of the DAQPad-6507/6508 devices.
Each of the four 82C55A devices has two interrupt lines, PC3 and PC0,
connected to the interrupt circuitry.
Each of the eight interrupt lines can interrupt the host computer if the
interrupt circuitry is enabled and the corresponding enable bit is set.
Normally, PC3 and/or PC0 of the 82C55A devices are controlled by the
handshaking circuitry; however, you can configure and use either of these
two lines for input and external interrupts. An interrupt occurs on the
low-to-high transition of the signal line. Refer to Appendix B,
Data Sheet
for more information.
The USB controller is a special microcontroller that has circuitry necessary
to transmit and receive data over USB itself. It maintains information about
the status of the bus and follows the USB protocol to acquire and send
information over the bus. The microcontroller receives instruction codes
over USB, parses the instructions, and executes them. NI-DAQ handles all
interaction with the microcontroller.
The four 82C55A PPI chips are the heart of the DAQPad-6507/6508
devices. Each of these chips has 24 programmable I/O pins that represent
three 8-bit ports: PA, PB, and PC. Each port can be programmed as an input
or an output port. The 82C55A has three modes of operation: simple I/O
(mode 0), strobed I/O (mode 1), and bidirectional I/O (mode 2). In modes
1 and 2, the three ports are divided into two groups: group A and group B.
Each group has eight data bits and four control and status bits from port C
(PC). Modes 1 and 2 use handshaking signals from port C to synchronize
data transfers. Refer to Appendix B,
detailed information.
OKI 82C55A Data
4-2
OKI 82C55A
Sheet, for more
© National Instruments Corporation

Advertisement

Table of Contents
loading

This manual is also suitable for:

Daqpad-6507

Table of Contents