Voltage and Current Interface
USB Communication with PC
On-board C8051F320 Microcontroller
On-board Voltage Reference
LabWindows
– Register Setup & Chip Control
– FFT Analysis
– Time Domain Analysis
– Noise Histogram Analysis
"Auto-boot" Demo with Serial EEPROM
®
/CVI® GUI Software
General Description
The CDB5464U is an inexpensive tool designed to evaluate
the functionality and performance of the CS5464 analog-to-digital converter (ADC). The evaluation board includes an LT1019
voltage reference, a C8051F320 microcontroller with a USB interface, and firmware. The microcontroller controls the serial
communication between the evaluation board and the PC via
the firmware, enabling quick and easy access to all of
theCS5464's registers and functions.
The CDB5464U includes software for data capture, time domain analysis, histogram analysis, and frequency domain
analysis.
Schematics in PADS™ PowerLogic™ format are available for
download at www.cirrus.com/IndustrialSoftware
The CDB5464U evaluation board provides a convenient means of evaluating the CS5464 power measurement IC. The CDB5464U evaluation board operates from a single +5V power supply. The evaluation
board interfaces the CS5464 to a PC via a USB cable. To accomplish this, the board comes equipped
with a C8051F320 microcontroller and a USB interface. Additionally, the CDB5464U GUI software provides easy access to the internal registers of the CS5464. The software also provides a means to display
the performance in the time domain or frequency domain.
1.2Evaluation Board Overview
The board is partitioned into two main sections: analog and digital. The analog section consists of the
CS5464 and a precision voltage reference. The digital section consists of the C8051F320 microcontroller,
EEPROM, the hardware test switches, the reset circuitry, and the USB interface. The board also has a
user friendly power supply connection.
CDB5464U
096MHz
4.
CS5464
Figure 1. CDB5464U Assembly Drawing
DS847DB13
CDB5464U
1.3Analog Section
The CDB5464U evaluation board provides screw-type terminals (J23, J27, & J28) to connect input signals
to the voltage and current channels. The screw terminals are labels as VIN1-, VIN1+, IIN1+, IIN1-, and
IIN2+, IIN2-. An R-C network at each channel input provides a simple anti-alias filter.
The evaluation board provides three voltage reference options for VREFIN to the CS5464. The three voltage reference options include: VREFOUT from CS5464, the on-board +2.5V reference, and external
REF+ (screw terminal J14).
on J25 in the position labeled VREFOUT, the reference is supplied by the on-chip voltag e reference. With
a jumper on J25 in the position labeled VREF, the reference is supplied by an off-chip voltage reference.
Table 1 and Table 2 illustrate the options available for VREFIN. With a jumper
ReferenceDescriptionJ25
VREFOUT
VREF
Selects On-chip
Reference (25 ppm/
°C)
Selects External or
LT1019 Reference(J12)
VREFIN
VREFOUT
(Default)
VREFIN
VREFOUT
VREF
O
O
O
O
VREF
Table 1. Internal Voltage Reference Selection for VREF
Table 2 illustrates the options available for VREF. With a jumper on J12 in position LT1019, the LT1019
provides a +2.5V reference (the LT1019 was chosen for its low drift - typically 5 ppm/°C). By setting the
jumper on J12 to position REF+, an external voltage reference is supplied via screw terminal J14's REF+
input.
ReferenceDescriptionJ12
LT1019
REF+
Selects On-board
LT1019 Reference
(5 ppm/
°C)
Selects External
Reference Source
(J14)
LT1019
REF+
LT1019
REF+
O VREF
O O VREF
O VREF
O O VREF
(Default)
Table 2. External Voltage Reference Selection for VREF
The three input signal options for the voltage (VIN1±) and current (IIN1±, IIN2±) channels input include:
an external signal (screw terminals J23, J27, and J28), GND, or VREF. Table3 illustrates the options available. By installing jumpers on J17 to position VIN1-, J22 to position VIN1+, J24 to position IIN1+, J26 to
position IIN1-, J20 to position IIN2+, and J19 to position IIN2-, the input voltage signal is supplied from the
screw terminals J23, J27, and J28. With a jumper on J17, J22, J24, J26, J20, and J19 in the GND position,
4DS847DB1
CDB5464U
the inputs are connected to analog ground (AGND). With a jumper on J17, J22, J24, J26, J20, and J19 in
position VREF, the inputs are connected to the reference voltage selected on J12.
INPUTDescriptionJ17J22
VIN2± or VIN1±
VIN2± or VIN1±
GND
VREFIN
Selects External
Signal
Selects External
Signal
Selects Grounding
the Input
Selects Reference
Source
GND
VREF
VIN1-
GND
VREF
VIN1-
GND
VREF
VIN1-
GND
VREF
VIN1-
O VIN1-
O O VIN1-
O O VIN1-
(Default)
O VIN1-
O O VIN1-
O O VIN1-
O VIN1-
O O VIN1-
O O VIN1-
O VIN1-
O O VIN1-
O O VIN1-
VIN1+
VREF
GND
VIN1+
VREF
GND
VIN1+
VREF
GND
VIN1+
VREF
GND
O VIN1+
O O VIN1+
O O VIN1+
(Default)
O VIN1+
O O VIN1+
O O VIN1+
O VIN1+
O O VIN1+
O O VIN1+
O VIN1+
O O VIN1+
O O VIN1+
INPUTDescriptionJ24J26J20J19
IIN1± or IIN2±
IIN1± or IIN2±
Selects External
Signal
Selects External
Signal
GND
VREF
IIN1+
GND
VREF
IIN1+
O IIN1+
O O IIN1+-
O O IIN1+
(Default)
O IIN1+
O O IIN1+-
O O IIN1+
IIN1-
VREF
GND
IIN1-
VREF
GND
O IIN1-
O O IIN1-
O O IIN1-
(Default)
O IIN1-
O O IIN1-
O O IIN1-
GND
VREF
IIN2+
GND
VREF
IIN2+
O IIN2+
O O IIN2+
O O IIN2+
(Default)
O IIN2+
O O IIN2+
O O IIN2+
IIN2-
VREF
GND
IIN2-
VREF
GND
O IIN2-
O O IIN2-
O O IIN2-
(Default)
O IIN2-
O O IIN2-
O O IIN2-
GND
VREFIN
Selects Grounding
the Input
Selects Reference
Source
GND
VREF
IIN1+
GND
VREF
IIN1+
O IIN1+
O O IIN1+-
O O IIN1+
O IIN1+
O O IIN1+-
O O IIN1+
IIN1-
VREF
GND
IIN1-
VREF
GND
O IIN1-
O O IIN1-
O O IIN1-
O IIN1-
O O IIN1-
O O IIN1-
GND
VREF
IIN2+
GND
VREF
IIN2+
O IIN2+
O O IIN2+
O O IIN2+
O IIN2+
O O IIN2+
O O IIN2+
IIN2-
VREF
GND
IIN2-
VREF
GND
O IIN2-
O O IIN2-
O O IIN2-
O IIN2-
O O IIN2-
O O IIN2-
Table 3. Voltage and Current Channel Input Signal Selection
1.4Digital Section
The digital section contains the microcontroller, USB interface, JTAG header, reset circuitry, and an external interface header (J40). The microcontroller interfaces the SPI of CS5464 with the USB conne ctio n
to the PC, enabling the GUI software to access all the CS5464 registers and functions. Interface header,
J40, is provided to allow the CDB5464U to be connected to an external energy registration device or an
external microcontroller. To connect the CS5464 to an external microcontroller, R57, R58, R59, R60, R61,
and R62 must be removed from the board. The energy output pins E1, E2, and E3 are routed to LEDs
which provide a simple visual check of the energy output pulses. The MODE pin is also routed to a LED
to indicate whether the CS5464 is operating in auto-boot mode. Jumpers J10, J13, J15, and J16 are
equipped at the factory with jumpers to enable the LEDs.
DS847DB15
CDB5464U
1.5Power Supply Section
Table 4 illustrates the power supply connections to the evaluation board. The +5V binding post (J3) sup-
plies the positive analog (VA+) for the CS5464 and the +2.5V reference. The VD+_EXT binding post (J5)
supplies the digital section of the CS5464 (VD+) and level shifters. Jumper J8 allows the VD+ supply to
be sourced from the VD+_EXT binding post (J5), the +5V binding post (J3), or the regulated 3.3V supply
derived from the microcontroller. The Vu+_EXT (J6) binding post supplies the positive supply for the 8051
microcontroller (8051_REGIN). Jumper J9 allows the 8051_REGIN supply to be sourced from either the
Vu+_EXT binding post (J6), +5V binding post (J3) or VD+_EXT binding post (J5).
Power SuppliesPower Post ConnectionsVD+8051-REGIN
Analog (VA+) Digital (VD +) 8051 (Vu+)
+5VGNDVD+EXT VU+EXTJ8J9
+5+5+5+50
+5+3.3+5+50
Table 4. Power Supply Connections
NC
+5
NC
NC
+3.3
NC
+5
NC
NC
+5
NC
+5
NC
+5
VD+_EXT
+5
+3.3
VD+_EXT
+5
+3.3
VD+_EXT
+5
+3.3
VD+_EXT
+5
+3.3
VD+_EXT
+5
+3.3
VD+_EXT
+5
+3.3
VD+_EXT
+5
+3.3
VD+_EXT
+5
+3.3
VD+_EXT
+5
+3.3
VD+_EXT
+5
+3.3
O VD+
O O VD+
O O VD+
(Default)
O VD+
O O VD+
O O VD+
O VD+
O O VD+
O O VD+
O VD+
O O VD+
O O VD+
O VD+
O O VD+
O O VD+
O VD+
O O VD+
O O VD+
O VD+
O O VD+
O O VD+
O VD+
O O VD+
O O VD+
O VD+
O O VD+
O O VD+
O VD+
O O VD+
O O VD+
Vu+_EXT
+5
VD+
Vu+_EXT
+5
VD+
Vu+_EXT
+5
VD+
Vu+_EXT
+5
VD+
Vu+_EXT
+5
VD+
Vu+_EXT
+5
VD+
Vu+_EXT
+5
VD+
Vu+_EXT
+5
VD+
Vu+_EXT
+5
VD+
Vu+_EXT
+5
VD+
O 8051
O O 8051
O O 8051
(Default)
O 8051
O O 8051
O O 8051
O 8051
O O 8051
O O 8051
O 8051
O O 8051
O O 8051
O 8051
O O 8051
O O 8051
O
8051
O O 8051
O O 8051
O 8051
O O 8051
O O 8051
O 8051
O O 8051
O O 8051
O 8051
O O 8051
O O 8051
O 8051
O O 8051
O O 8051
6DS847DB1
CDB5464U
1.6Auto-boot Mode
With a jumper connection on J18 (AUTO-BOOT ENABLE), the CS5464 operates in auto-boot mode and
the CDB5464U board operates as a stand-alone system without attaching it up to a PC. When in autoboot mode, a hardware reset (press on S1) will cause the CS5464 to boot up using the serial data from
the serial EEPROM on the board (U10). When the CS5464 is in auto-boot mode, the SPI connections
between the microcontroller and the CS5464 are removed and the GUI software can not access the
CS5464 registers and functions.
The EEPROM must be programmed prior to the auto-boot sequence. When the CDB5464U Evaluation
Board is sent from the factory, the EEPROM is programmed with the following CS5464 command/data
sequence:
4. Set bit 2 (LSD) in the Ma sk re gis te r:
0x74 0x00 0x00 0x04
5. Start continuous conversion:
0xE8
6. Write STOP bit in Control register, to terminate auto-boot sequence:
0x78 0x00 0x01 0x00
This sequence programs the CS5464 for continuous conversion mode. If voltage and current signals are
applied to the inputs, the CS5464 will issue pulses on the E1
pin. See the CS5464 data sheet for more
details on auto-boot.
DS847DB17
2. SOFTWARE
CDB5464U
The evaluation board comes with software and an USB cable to link the evaluation board to the PC. The
evaluation software was developed with LabWindows
tional Instruments. The evaluation software is available for download on the Cirrus Logic web site at
http://www.cirrus.com/industrialsoftware
Windows XP
®
.
and was designed to run under Windows®2000 or
®
/CVI®, a software development package from na-
2.1Installation
To install the software, go to the Cirrus Logic web site at http://www.cirrus.com/industrialsoftware and re-
fer to application note AN278.
2.2Using the Software
Before launching the software, check all jumper settings on the CDB5464 U evaluation board as described
in Section 1, and connect the board to an open USB port on the PC using the provided cable. Once the
board is powered on, the software program can be launched.
2.3Start-up Window
When the software is launched, the start-up window will appear. This window contains information concerning the software's title, revision number, copyright date, etc. See Figure 2.
Figure 2. GUI Start-up Window
At the top of the screen is a menu bar which displays user options. The menu bar has three items: Menu,
Setup, and Quit. Initially Menu is disabled. After establishing a link to a data source, the Menu item will
become available.
8DS847DB1
CDB5464U
2.3.1Setup Menu
Setup allows user to establish a USB communication connection with CDB5464U board or select a previously saved data file for further analysis.
If the USB item in the Setup menu is selected, the evaluation software will poll the CDB5464U, verifying
the serial communication link is ready. At this point, the USB menu item is checked indicating that the PC
has successfully communicated with CDB5464U evaluation board, and device and micro-code version
information are read from the board and displayed on the screen. See Figure 3. Due to improvements to
the software or new features being added, the version displayed may be different than the image shown
here.
Figure 3. Setup Menu Showing Successful USB Connection
If the evaluation software is unable to establish a communication link with the CDB5464U board, a message will appear, indicating that the initial communication has failed. See Figure 4.
Figure 4. USB Error Message
Check to verify that the USB cable is connected properly and the power su pply is on and connected properly to the CDB5464U. Reset the board (press the RESET button on the board) and try to setup the USB
connection again.
DS847DB19
CDB5464U
If the Data from Disk item in the Setup menu is selected, a file selection window will appear as shown in
Figure 5. User can select a pre-saved data file for further analysis using time domain, FFT, and histogram
plots in Data Collection Window of the software.
Figure 5. Data from Disc File Selection Window
2.3.2Menu Pull-down
Excluding the Start-Up window, the Menu pull-down provides 7 options: Setup Window, Calibration Window, Conversion Window, Pulse Rate Window, Data Collection Window, EEPROM Window, and Debug
Window. Each window provides a means to evaluate the different functions and performance of the
CS5464. Each option has an associated function key (<F1>, <F2>, etc.). See Figure 6.
Figure 6. Menu Pull-down Options
10DS847DB1
CDB5464U
2.3.3Quit Menu
The Quit menu allows the user to exit the evaluation software. Upon selecting Quit, a message window
appears and queries if exiting the evaluation software is desired. See Figure 7.
Figure 7. Quit Dialog
DS847DB111
CDB5464U
2.4Setup Window
The evaluation software provides access to the CS5464's internal registers through the Setup window.
See Figure 8. The user can enter the Setup window by pulling down the Menu menu and selecting SetupWindow, or by pressing <F2> on the keyboard.
In the Setup window, all of the CS5464's registers are displayed in hexadecimal notation and are de coded
to provide easier readability. Refer to the CS5464 data sheet for information on register fun ctio nality a nd
definitions. See Figure 8.
Figure 8. Setup Window
12DS847DB1
Loading...
+ 26 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.