beautypg.com

Cdb5529 – Cirrus Logic CDB5529 User Manual

Page 9

background image

CDB5529

DS246DB1 9

to the microcontroller. The microcontroller in turn
collects a conversion from the ADC and returns it to
the PC. The PC stores the conversion and collects
additional conversions to form a set. From the sam-
ple set collected, the high, the low, peak-to-peak, av-
erage, and standard deviation, are computed (the
size of the data set is set by the Num To Average in-
put) and then the display icons are updated. This
process continues until the STOP button is pressed,
or until another window is selected. Note: The
quick access control icons are disabled once Acquire
is selected. This eliminates potential hardware con-
flicts.

BINARY: Input icons set or clear the 24 individual
bits in the gain, configuration, or offset registers.
The bits are first set, then the control icon Write All
Registers is selected to update the registers in the
converter.

CONFIGURATION REGISTER: Text display
box that displays the decoded meaning of each bit
in the configuration register.

DECIMAL: Three display icons that display in
decimal the contents of the gain, configuration, and
offset registers.

DIGITAL OUTPUT: Display icon that displays
the six states of the output latch. A0 and A1 are in-
valid when the converter is powered from bipolar
supplies.

GAIN REGISTER: Display icon that displays the
decimal equivalent of the bits set in gain register.

HEX: Three input/display icons that allow a user to
set the 24 bits in the gain, configuration, or offset
registers via 6 hexadecimal nibbles. If the upper
nibbles in the registers are zero’s, then leading zero
nibbles need to be entered.

Num To Average: Input icon that sets the size of
the data conversion set referred to when the Ac-
quire button is pressed.

Read All Registers: This is a control icon. When
pressed the gain, offset, and configuration registers
contents are acquired. Then, the configuration text
box and the register content icons are updated.

Reinitialize: This is a control icon. When pressed,
128 logic 1’s followed by a logic ‘0’ are sent to the
ADC’s serial port to reset its port. It does not reset
the RS-232 link.

Reset A/D: This is a control icon. When pressed,
the microcontroller sends the appropriate com-
mands to return the converter to its initial default
state.

SELF Calibrate: This is a control icon. When
pressed, the appropriate commands are sent to the
ADC to calibrate its own offset and gain.

STOP: Stops the collection of conversion data.

Write All Registers: This is a control icon. When
pressed, the 72 binary input icons settings are ac-
quired. This data is then transmitted to the ADC’s
gain, offset, and configuration registers. Then, the
PC’s display is updated to reflect the registers
changes.