z Voltage and Current Interface
z USB communication with PC
z On-board C8051F320 microcontroller
z On-board Voltage Reference
z Lab Windows
– Register Setup & Chip Control
– FFT Analysis
– Time Domain Analysis
– Noise Histogram Analysis
z "Auto-boot" Demo with serial EEPROM
– Collected by On-board Microcontroller
– Available on External Header
®
/ CVI™ Evaluation Software
General Description
The CDB5461AU is an inexpensive tool designed to
evaluate the functionality and performance of the
CS5461A. 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 CS5461A's registers and functions.
The CDB5461A includes software for Data Capture,
Time Domain Analysis, Histogram Analysis, and Frequency Domain Analysis.
Table 1. Internal Voltage Reference Selection for VREF................................................................ 5
Table 2. External Voltage Reference Selection for VREF............................................................... 5
Table 3. Voltage and Current Channel Input Signal Selection........................................................ 6
Table 4. Power Supply Connections...............................................................................................7
DS661DB13
CDB5461AU
1. HARDWARE
1.1Introduction
The CDB5461AU evaluation board provides a quick means of evaluating the CS5461A Power Meter IC. The
CDB5461AU evaluation board operates from a single +5 V power supply. The evaluation board interfaces the
CS5461A to a PC via an USB interface. To accomplish this, the board comes equipped with a C8051F320 microcontroller and a USB interface. Additionally, CDB5461AU GUI software provides easy access to the internal
registers of the CS5461A, and 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 analo g section consists of the CS5461A 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.
REF+
GND
GND
VIN+
VIN-
GND
GND
IIN+
IIN-
GND
J14
J23
J27
JP3
GND
TP23
TP22
TP21
TP25
TP20
JTAG
TP24
S1
RESET
U3
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
TP27
J18
AUTO-BOOT
J2
1
ENABLE
U10
U8
D1
EVENT
ERROR
TP1
E1
E2
E3
MODE
U5
JP4
GND
RESET
U2
INT
MODE
EECS
SCLK
MISO
MOSI
J40
1
E1
E2
E3
CS
2122
2
Vu+_EXTVD+_EXTGND+5V
8051_REGIN
+5V
VD+
J9
TP30
PFMON
J6
JP2
GND
J5J4J3
JP1
GND
GND
VD+
U4
TP2
LT1019
JP6
GND
REF+
GND
VREF
VIN+
VIN-
VREF
GND
GND
VREF
IIN+
IIN-
VREF
GND
J12
J17
J26
J22
J24
VIN+
VIN-
IIN+
IIN-
TP9
TP11
TP12
TP13
CDB5460A_61A_63
CDB5461AU REV X
XU6
CPUCLK
TP10
VREF
VA+
GNDVD+GND
VD+
VD+_EXT
+5V
+3.3V
J8
XOUT XIN
TP7TP8
4.096MHz
U6
5461A
J25
VREFIN
VREFOUT
Vu+_EXT
Y1
Figure 1. CDB5461AU Assembly Drawing
4DS661DB1
CDB5461AU
1.2.1Analog Section
The CDB5461AU 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+, VIN1, IIN+, and IIN-. A simple 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 CS5461A. The three voltage reference options include: VREFOUT from CS5461A, 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 posi tion labele d
VREF, the reference is supplied by an off-chip voltage reference.
ReferenceDescriptionJ25
VREF
VREFOUT
VREF
Selects on-Chip
Reference (25ppm/
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 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
(5ppm/
°C)
Selects External
Reference Source
(J6)
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. Table 3 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 are
connected to analog ground (AGND). With a jumper on J17, J22, J24 and J26 in position
VREF, the inputs are con-
nected to the reference voltage selected on J12.
DS661DB15
CDB5461AU
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.2.2Digital 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 CS5461A with the USB connection to the PC, enabling
GUI software to access all the CS5461A registers and functions. Interface header, J40, is provided to allow the
CDB5461AU to be connected to an external energy registration device or an external microcontroller. To connect
the CS5461A to an external microcontroller, R59, R60, R61, and R62 must be removed from the board. The ene rgy
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 an LED to indicate whether the CS5461A is in auto-boot mode. Jumpers J10, J13, J15,
and J16 are equipped at the factory with jumpers to enable the LEDs.
6DS661DB1
CDB5461AU
1.2.3Power Supply Section
Table 4 illustrates the power supply connections to the evaluation board. The +5 binding post (J3) supplies the positive analog (VA+) for the CS5461A and the +2.5V reference. The VD+_EXT binding post (J5) supplies the digital
section of the CS5461A (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 supp ly for the 8051 microcontroller (8051_REGIN). Jumper J9 allows the 8051_REGIN supply to be so urced 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
DS661DB17
CDB5461AU
1.3Auto-boot Mode
With a jumper connection on J18 (AUTO-BOOT ENABLE), the CS5461A operates in auto-boot mode and the
CDB5461AU board operates in a stand-alone manner without connecting to a PC. When in auto-boot mode, a hardware reset (pressing on S1) will cause the CS5461A to boot up using the serial data from the serial EEPROM on
the board (U10). When the CS5461A is in auto-boot mode, the SPI connections between the microcontroller and
the CS5461A are removed and GUI software can not access the CS5461A registers and functions.
The EEPROM must be programmed prior to the auto-boot sequence. When the CDB5461AU Evaluation Board is
sent from the factory, the EEPROM is programmed with the following CS5461A command/data sequence:
– 40 00 00 61
– Set configuration Register, turn high-pass filters on, set K = 1;
– 4C 00 7D 00
– Set PulseRateE1,2 Register to 1000 Hz;
– 74 00 00 04
– Unmask bit #2 (LSD) in the Mask Register
–E8
– Start continuous conversion
– 78 00 01 00
– Write to the STOP bit in the Control Register, to terminate auto-boot sequence.
This sequence programs the CS5461A for continuous conversion mode. If voltage and current signals are applied
to the inputs, the CS5461A will issue pulses on the /E1, /E2 and /E3 pins. See the CS5460A data sheet for more
details on auto-boot.
8DS661DB1
CDB5461AU
2. SOFTWARE
The evaluation board comes with software and an USB cable to link the evaluation board to the PC. The eva luation
software was developed with Lab Windows
The evaluation software is available for download on the Cirrus Logic web site at http://www.cirrus.com/industrial-
software and was designed to run under Windows 2000™ or Windows XP®.
2.1Installation Procedure
To install the software, go to the Cirrus Logic web si te at http://www.cirrus.com/industrialsoftware and refer to application note AN278.
2.2Using the Software
Before launching the software, check all jumper settings on the CDB54 61AU evaluation bo ard as descr ibe d in se ction 1, and connect the board to an open USB port on the PC using the provided cable. Once the board is powe red
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.
®
/CVI™, a software development package from national Instruments.
Figure 2. CDB5461AU 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.
DS661DB19
CDB5461AU
2.3.1Setup
Setup allows user to establish a USB communication connection with CDB5461AU board or select a pre-saved data
file for further analysis.
If the USB is selected, the evaluation software will poll the CDB5461AU, verifying the serial communication link is
ready. At this point USB is checked indicating that the PC has successfully communicated with CDB5461AU evaluation board, and device and micro-code version informat ion are re ad from the boa rd and displa yed on the screen.
See Figure 3.
Figure 3. Establishing a USB Connection
If the evaluation software is unable to establish a communication link with CDB5461AU an error message will appear, indicating that the initial communication has failed. See Figure 6.
Figure 4. USB Error Message
Check to verify that the USB cable is connected properly and the powe r supply is o n a nd conn ecte d p rope rly to the
CDB5461U. Reset the board (press the RESET button on the board) and try to setup USB again.
If Data from Disk is selected, a file selection window will appear as shown in Figure 5. The user can select a presaved data file for further analysis using time domain, FFT, and histogram plots in the Data Collection window of the
software.
10DS661DB1
CDB5461AU
Figure 5. Selecting a Data File for Further Analysis
2.3.2Quit
Quit allows the user to exit the evaluation software. Upon selecting Quit, a message windows appears that verifies
whether exiting the evaluation software is desired. See Figure 6.
Figure 6. Quit Window
DS661DB111
Loading...
+ 25 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.