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
+5VGND
VD+_EXT
General Description
The CDB5460AU is an inexpensive tool designed to evaluate
the functionality and performance of the CS5460A. 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 the CS5460A's registers
and functions.
The CDB5460AU 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 CDB5460AU evaluation board provides a quick means of evaluating the CS5460A power measurement IC. The CDB5460AU evaluation board operates from a single +5 V power supply. The evaluation
board interfaces the CS5460A to a PC via an USB interface. To accomplish this, the board comes
equipped with a C8051F320 microcontroller and a USB interface. Addit ionally, CDB5460AU GUI software
provides easy access to the internal registers of the CS5460A, and provides a means to display the performance in the time domain or the frequency domain.
1.2Evaluation Board Overview
The board is partitioned into two main sections: analog and digital. The analog section consists of the
CS5460A and a precision voltage reference. The digi tal section consists of the C8051 F320 microcontroller, EEPROM, the hardware test switches, the reset circuitry, and the USB interface. The board also has
a user friendly power supply connection.
REF+
GND
GND
VIN+
VIN-
GND
GND
IIN+
IIN-
GND
J14
J23
J27
U4
JP3
GND
LT1019
JP6
GND
TP2
REF+
GND
VREF
VIN+
VIN-
VREF
GND
GND
VREF
IIN+
IIN-
VREF
GND
GND
VD+
J12
J17
VIN+
VINJ22
J24
IIN+
J26
IIN-
CDB5460A_61A_63
TP9
TP11
TP12
TP13
J5J4J3
JP1
GND
CDB5460AU
XU6
CPUCLK
TP10
VREF
VA+
GNDVD+GND
VD+
VD+_EXT
+5V
+3.3V
J8
XOUT XIN
TP7TP8
4.096MHz
U6
5460A
J25
VREFIN
VREFOUT
Vu+_EXT
Y1
Vu+_EXTVD+_EXTGND+5V
8051_REGIN
+5V
VD+
J9
TP30
PFMON
J6
JP2
GND
TP23
TP22
TP21
TP25
TP20
JTAG
TP24
U3
S1
RESET
TP26
U9
U11
J10
J13
J15
J16
JP5
GND
J1
U1
8051
LED_EN
1
LED_EN
1
LED_EN
1
LED_EN
1
USB
J18
J2
TP27
1
AUTO-BOOT
ENABLE
U10
U8
D1
EVENT
ERROR
TP1
E1
E2
E3
MODE
U5
JP4
GND
RESET
MODE
EECS
SCLK
MISO
MOSI
U2
INT
CS
E1
E2
E3
J40
1
2122
2
Figure 1. CDB5460AU Assembly Drawing
DS487DBU13
CDB5460AU
1.3Analog Section
The CDB5460AU evaluation board provides screw-type terminals (J23, J27 ) to connect in put signals to the voltage
and current channels. The screw terminals are labels as VIN+, VIN-, IIN+, and IIN-. A simple RC network at each
channel input provides a simple anti-alias filter.
The evaluation board provides three voltage reference options for VREFIN to the CS5460A. The three voltage reference options include: VREFOUT from the CS5460A, the on-board +2.5V reference, and external REF+ (screw
terminal J14). Table 1 and Table 2 illustrate the options available for VREFIN. With a jumper on J25 in the position
labeled VREFOUT, the reference is supplied by the on-chip voltage reference. With a jumper on J25 in th e position
labeled VREF, the reference is supplied by an off-chip voltage reference.
ReferenceDescriptionJ25
VREF
VREFOUT
VREF
Selects On-chip
Reference (30 ppm/
Selects External or
LT1019 Reference(J12)
°C)
VREFIN
VREFOUT
(Default)
VREFIN
VREFOUT
Table 1. Internal Voltage Reference Selection for VREF
VREF
O
O
O
O
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 20ppm/°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
(20 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 (VIN±) and current (IIN±) channel input include: an external signal
(screw terminals J23 and J27), GND, or VREF. Table3 illustrates the options available. By installing jumpers on J17
to position VIN+, J22 to position VIN-, J24 to position IIN+, and J26 to position IIN-, the input voltage signal is supplied from the screw terminals J23 and J27. With a jumper on J17, J22, J24, and J26 in the GND position, the inputs
4DS487DBU1
CDB5460AU
are connected to analog ground (AGND). With a jumper on J17, J22, J24, and J26 in position VREF, the inputs are
connected to the reference voltage selected on J12.
INPUTDescriptionJ17J22J24J26
VIN± or IIN±
VIN± or IIN±
GND
VREFIN
Selects External
Signal
Selects External
Signal
Selects Grounding
the Input
Selects Reference
Source
GND
VREF
VIN+
GND
VREF
VIN+
GND
VREF
VIN+
GND
VREF
VIN+
O VIN+
O O VIN+
O O VIN+
(Default)
O VIN+
O O VIN+
O O VIN+
O VIN+
O O VIN+
O O VIN+
O VIN+
O O VIN+
O O VIN+
VIN-
VREF
GND
VIN-
VREF
GND
VIN-
VREF
GND
VIN-
VREF
GND
O VIN-
O O VIN-
O O VIN-
(Default)
O VIN-
O O VIN-
O O VIN-
O VIN-
O O VIN-
O O VIN-
O VIN-
O O VIN-
O O VIN-
GND
VREF
IIN+
GND
VREF
IIN+
GND
VREF
IIN+
GND
VREF
IIN+
O IIN+
O O IIN+
O O IIN+
(Default)
O IIN+
O O IIN+
O O IIN+
O IIN+
O O IIN+
O O IIN+
O IIN+
O O IIN+
O O IIN+
IIN-
VREF
GND
IIN-
VREF
GND
IIN-
VREF
GND
IIN-
VREF
GND
O IIN-
O O IIN-
O O IIN-
(Default)
O IIN-
O O IIN-
O O IIN-
O IIN-
O O IIN-
O O IIN-
O IIN-
O O IIN-
O O IIN-
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 CS5460A with the USB connection to the PC, enabling GUI software to access all the CS5460A registers and functions. Interface header,
J40, is provided to allow the CDB5460AU to be connected to an external energy registration device or an
external microcontroller. To connect the CS5460A to an external microcontroller, R57, R58, R59, R60,
R61, and R62 must be removed from the board. The energy output pins EOUT, EDIR are routed to LEDs
(E1, E2) which provide a simple visual check of the energy output pulses. Mode pin is also routed to a
LED to indicate whether the CS5460A is at auto-boot mode. Jumpers J10, J13 , J15, and J16 are equipped
at the factory with jumpers to enable the LEDs.
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 CS5460A and the on-board +2.5V reference. The VD+_EXT binding post (J5) supplies the digital section of the CS5460A (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
DS487DBU15
CDB5460AU
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
+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
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+
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
1.6Auto-boot Mode
With a jumper connection on J18 (AUTO-BOOT ENABLE), the CS5460A operates in auto-boot mode and
the CDB5460AU board operates as a stand-alone system without attaching it to a PC. When in auto-boot
mode, a hardware reset (press on S1) will cause the CS5460A to boot up using the serial data from the
serial EEPROM on the board (U10). When the CS5460A is in auto-boot mode, the SPI™ connections between the microcontroller and the CS5460A are removed and the GUI software can not access the
CS5460A registers and functions.
6DS487DBU1
CDB5460AU
The EEPROM must be programmed prior to the auto-boot sequence. When the CDB5460AU Evaluation
Board is sent from the factory, the EEPROM is programmed with the following CS5460A command/data
sequence:
1. Set Configuration Register, turn high-pass filters on, set K = 1:
0x40 0x00 0x00 0x61
2. Set Pulse_Rate Register to 1000 Hz:
0x4C 0x00 0x7D 0x00
3. Set (Unmask) bit 2 (LSD) in the Mask Register:
0x74 0x00 0x00 0x04
4. Start continuous conversion:
0xE8
5. Write STOP bit in Control register, to terminate auto-boot sequence:
0x78 0x00 0x01 0x00
This sequence programs the CS5460A for continuous conversion mode. If voltage and current signals are
applied to the inputs, the CS5460A will issue pulses on the EOUT
more details on auto-boot.
pin. See the CS5460A data sheet for
DS487DBU17
2. SOFTWARE
CDB5460AU
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 CDB5460AU 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.
8DS487DBU1
CDB5460AU
2.3.1Setup Menu
Setup allows user to establish a USB communication connection with CDB5460AU 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 CDB5460AU, verifying
the serial communication link is ready. At this point, the USB menu item is checked indicating that the PC
has successfully communicated with CDB5460AU 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 CDB5460AU 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 CDB5460AU. Reset the board (press the RESET button on the board) and try to setup the USB
connection again.
DS487DBU19
CDB5460AU
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
CS5460A. Each option has an associated function key (<F1>, <F2>, etc.). See Figure 6.
Figure 6. Menu Pull-down Options
10DS487DBU1
CDB5460AU
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
DS487DBU111
CDB5460AU
2.4Setup Window
The evaluation software provides access to the CS5460A'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 CS5460A's registers are displayed in hexadecimal notation and are decoded to provide easier readability. Refer to the CS5460A data sheet for information on register functionality
and definitions. See Figure 8.
Figure 8. Setup Window
2.4.1Refresh Screen Button
The Refresh Screen button will update the contents of the screen by reading all the register values from
the CS5460A. It is a good idea to press the Refresh Screen button when entering the Setup window, or
after modifying any registers, to reflect the current status of the CS5460A.
2.4.2Reset DUT Button
The Reset DUT button will hardware reset the CS5460A. The CS5460A will perform a reset as discussed
in the CS5460A data sheet. After the hardware reset to the CS5460 A device, the screen contents will be
automatically refreshed with the updated status of the CS5460A.
12DS487DBU1
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.