CDB5521/22/23/24/28
1.6 Software
1.7. Writing Your Own Interface Software
The evaluation board comes with software and an
RS-232 cable to link the evaluation board to the
PC. The executable software was developed with
Tables 2 through 5 list the RS-232 commands used
to communicate between the PC and the microcon-
troller. To develop additional code to communi-
Lab Windows/CVITM and meant to run under Win- cate to the evaluation board via RS-232, the
dowsTM 3.1 or later. After installing the software,
read the readme.txt file for last minute changes in
following applies: to write to an internal ADC reg-
ister, choose the appropriate write command byte
the software. Additionally, Section 2., Part II: Soft- (See Table 2), and transmit it LSB first. Then,
ware further details how to install and use the soft- transmit the three data bytes lowest order byte (bits
ware
7-0) first with the LSB of each byte transmitted
first. These three data bytes provide the 24-bits of
information to be written to the desired register.
To read from an internal register, choose the appro-
priate read command byte and transmit it LSB first.
Then, the microcontroller automatically acquires the
ADC’s register contents and returns the 24-bits of
information. The returned data is transmitted lowest
order byte first with the LSB of each byte transmit-
ted first.
Name
HDR1
Function Description
Used to switch AIN1+ (AIN1 on
CS5528) between J1 and AGND.
Used to switch AIN1- (AIN2 on
CS5528) between J1 and AGND.
Does not exist.
Used to switch the power for NBV
from the LM337, CPD, or AGND.
Used to switch VREF+ and VREF-
pins from external J2 header to the on
board LT1019 reference.
HDR2
HDR3
HDR4
HDR5
HDR6
HDR7
Used to connect an external micro-
controller.
Used in conjunction with the self test
modes to test the UART/RS232 com-
munication link between the micro-
controller and a PC.
HDR8
HDR9
Used to switch AIN2 + (AIN3 on
CS5528) between J1 and AGND.
Used to switch AIN2- (AIN4 on
CS5528) between J1 and AGND.
Does not exist.
Used to switch AIN3+ (AIN5 on
CS5528) between J1 and AGND.
Used to switch AIN3- (AIN6 on
CS5528) between J1 and AGND.
Used to switch AIN4+ (AIN7 on
CS5528) between J1 and AGND.
Used to switch AIN4- (AIN8 on
CS5528) between J1 and AGND.
HDR10
HDR11
HDR12
HDR13
HDR14
Table 1. Header Descriptions
DS317DB2
9