
Model 8210A-2-5
IM-377
Aeroflex / Weinschel
15
6. DEVICE INTERFACE BUS (DIB) OPERATION
6-1. GENERAL OPERATION:
The Device Interface Bus is a serial bus that includes a physical layer based on the
two-wire I
2
C serial bus developed by Philips, and several software layers. The software layers are based on the
ACCESS.Bus protocols V2.2, and include a base protocol, and several specific device protocols, along with specific
Weinschel extensions to control RF devices.
The base protocol defines standard messages for device communication, device initialization, device
identifications, address assignment, and a message protocol for device reports and control information.
The DIB is based on two wires, serial data (SDA) and serial clock (SCL), which carry information between the
devices connected to the bus. Following initialization, each device is recognized by a unique address and can operate
as either a master transmitter or slave receiver. A master is the device which initiates a data transfer on the bus and
generates the clock signals to permit that transfer. The master device always transmits data to the slave. Any device
addressed by the master is considered a slave. The DIB is a multi-master bus. Every device connected to the DIB is
capable of being both a bus master and a bus slave.
Both SDA and SCL are bi-directional lines, connected to a positive supply voltage via a current source or pull-
up resistor. When the bus is free, both lines are HIGH. The output stages of devices connected to the bus have an
open-drain or open collector in order to perform a wired-AND function. Data on the I
2
C bus can be transferred at a
rate up to 100 kbit/s. The number of device interfaces connected to the bus is dependent on the bus capacitance limit
of 1000 pF, the overall bus length of 10 meters, and the current available to power the devices.
The protocol of the messaging system used by the 8210A-2-5 uses available length format with five fields,
including the destination address, source address, message length, 0 to 127 data bytes, and a checksum.
Device Identification on the bus is provided by a unique 28-byte sequence that provides the protocol revision,
vendor, module revision, 8 character module name, and a 32-bit device id. For most devices, this device id is the
serial number of the device, however, a non-serialized device may generate a random negative 32-bit number for use
as an id. Device Capabilities is a set of information that describes the functional characteristics of the device, along
with the proper API (Applications Programming Interface) to use in communicating with the device. The purpose of
capabilities information is to allow the 8210A-2-5 to recognize and use the features of devices without prior knowledge
of their particular implementation. Capabilities information provides a level of device independence and modularity.
For example, consider two different types of attenuation devices, a step attenuator and a pin-diode attenuator. While
each device has its’ own unique set of characteristics, they both are capable of setting an attenuation value. By similar
devices providing a consistent API to the 8210A-2-5, the user is freed from the concerns of the low-level programming
required to control each device.
Содержание 8210A-2-5
Страница 52: ......