Cirrus Logic CDB5461AU User Manual

\
CDB5461AU
CDB5461AU Evaluation Board & Software
Features
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 evalu­ation board and the PC via the firmware, enabling quick and easy access to all of the CS5461A's regis­ters and functions.
The CDB5461A includes software for Data Capture, Time Domain Analysis, Histogram Analysis, and Fre­quency Domain Analysis.
ORDERING INFORMATION
CDB5461AU Evaluation Board
REF
VIN+
VIN-
IIN+
IIN-
+2.5V
reference
+5V GND
IN OUT
VREF
CS5461A
4.096MHz Crysta l
VD+_EXT
CS
SDI
SDO
SCLK
INT
RESET
E1
E2
E3
MODE
Vu+_EXT
SERIAL
EERPOM
C8051F320
Reset
Circuirty
RESET
BUTTON
USB
http://www.cirrus.com
Copyright © Cirrus Logic, Inc. 2006
(All Rights Reserved)
DEC ‘06
DS661DB1
CDB5461AU

TABLE OF CONTENTS

– TABLE OF CONTENTS ............................................................... ... ... ... ... .... .............................. 2
– LIST OF FIGURES ..................................................................................................................... 3
– LIST OF TABLES ...................................................................................................................... 3
1. HARDWARE .............................................................................................................................4
1.1 Introduction ............................ .... ... .......................................... ... ... ..................................... 4
1.2 Evaluation Board Overview ..................................................................... ... ... .... ... ... ...........4
1.2.1 Analog Section ....................................... .... ... ... ... .......................................... ... .... . 5
1.2.2 Digital Section ........ .......................................... .......................................... ...........6
1.2.3 Power Supply Section ......................................... .... ... ... ... ... .... ... ... ........................7
1.3 Auto-boot Mode .. ... ... .... ... ... ... .......................................... .... ... ... ... ... .................................. 8
2. SOFTWARE .............................................................................................................................. 9
2.1 Installation Procedure ............................ .... ... ... ... .... ... ... .......................................... ... ... ..... 9
2.2 Using the Software ................................. .... ... .......................................... ... ........................ 9
2.3 Start-Up Window .... ... .......................................... .... ... ... ... .... .............................................. 9
2.3.1 Setup ............................. ... ... .......................................... ...................................... 10
2.3.2 Quit ...................... .......................................... .......................................... ............11
2.3.3 Menu ................ ... .......................................... .......................................... ............12
2.4 Setup Window .. ... ... .......................................... ... .... ... .......................................... ... ... ...... 12
2.4.1 Refresh Screen Button ........................................................................................ 13
2.4.2 Reset DUT Button ...................................... .......................................... ...............13
2.4.3 CS5461A Crystal Frequency ............................................................................... 13
2.4.4 Configuration Register Panel .............................................................................. 14
2.4.5 Mask Register/Status Register Panel .................................................................14
2.4.6 Cycle Count / PulseRateE / PulseWidth / VSAGlevel / VSAGduration Registers 14
2.4.7 Control Register ............... ... ... ... .... .......................................... ... ... ... .... ... ............14
2.5 Calibration Window ............. .......................................... ... .... ... ... ... ... ................................ 15
2.5.1 Offset & Gain Registers ................................................................ ... .... ... ... ... ......15
2.5.2 Performing Calibrations ................. ... ... ... .... ... ... ... .... ......................................... ... 15
2.6 Conversion Window ......... ... ... .... ... ... ... ... .......................................................................... 17
2.6.1 Single Conversion Button .................................................................................... 17
2.6.2 Continuous Conversion Button ............................................................... ... ... ... ... 17
2.6.3 Standby & Sleep Mode Buttons ............. .... ... ... ... .... ... ... ... ................................... 17
2.6.4 Power Up Button .................................................................................................18
2.6.5 Temperature Settings Window ......................... ... .... ... ... ... ... .... ... .........................18
2.6.6 Write Data to File Window ................ ... ... .... ... ... .......................................... ... ... ... 18
2.7 Pulse Rate Window ................................ .... .......................................... ... ... ......................18
2.7.1 Integration Seconds Field ................................................................................... 18
2.7.2 Periods to Average Field .................................. ... .... ... ... ... ... .... ... ... ... .... ...............18
2.7.3 Start Button ............ ... .......................................... .......................................... ......19
2.8 Data Collection Window ................................................................................................... 19
2.8.1 Time Domain / FFT / Histogram Pull-down ......................................................... 19
2.8.2 Config Button ......................... ... .... ... ... ... .... ... .......................................... ... .........19
2.8.3 Collect Button ................................ ... ... ... .... ... ... .......................................... ... ... ... 20
2.8.4 Output Button ... ... ... .......................................... ... .... ... ... ... ................................... 20
2.8.5 Zoom Button .................. .......................................... ......................................... ... 20
2.8.6 Channel Select Button ........................................................................................ 20
2.8.7 Config Window .................................... ... .... .......................................... ...............20
2.8.8 Collecting Data Sets ............................................................................................21
2.8.9 Retrieving Saved Data from a File ...................................................................... 21
2.8.10 Analyzing Data ..................................................................................................21
2.8.11 Histogram Information ....................................................................................... 22
2.8.12 Frequency Domain Information ................... ............................................. .........24
2 DS661DB1
CDB5461AU
2.8.13 Time Domain Information ......................... ...... ....... ...... ...... ....... ...... ....... ...... ...... 25
2.9 EEPROM Window ..................................................................................... ...................... 26
2.9.1 Read EEPROM ................................................................................................... 26
2.9.2 Write EEPROM ................................................................................................... 26
2.9.3 Debug Window .......................... .... ... .......................................... ... ... ................... 26
3. SCHEMATICS ....................................................................................................................... 28
4. LAYOUT ............................................................................................................................... 32

LIST OF FIGURES

Figure 1. CDB5461AU Assembly Drawing...................................................................................... 4
Figure 2. CDB5461AU Start-up Window......................................................................................... 9
Figure 3. Establishing a USB Connection..... ... ... .......................................................................... 10
Figure 4. USB Error Message....................................................................................................... 10
Figure 5. Selecting a Data File for Further Analysis.......................... ... ... ... ... .... ... ... ... ................... 11
Figure 6. Quit Window................................................................................................................... 11
Figure 7. Menu Pull-down Options................................................................................................ 12
Figure 8. Setup Window................................................................................................................ 13
Figure 9. Calibration Window........................................................................................................ 15
Figure 10. Conversion Window..................... ... .......................................... ... .... ............................ 17
Figure 11. Pulse Rate Output Window.......................................................................................... 18
Figure 12. Data Collection Window...............................................................................................19
Figure 13. Histogram Analysis...................................................................................................... 22
Figure 14. FFT Analysis................................................................................................................ 24
Figure 15. Time Domain Analysis................................................................................................25
Figure 16. EEPROM Window........................................................................................................ 26
Figure 17. Debug Window............................................................................................................. 27
Figure 18. Analog Inputs............................................................................................................... 28
Figure 19. CS546x and Socket..................................................................................................... 29
Figure 20. Microcontroller and USB Interface............................................................................... 30
Figure 21. Power Supplies............................................................................................................ 31
Figure 22. Top Silk Screen............................................................................................................ 32
Figure 23. Topside Layer.............................................................................................................. 33
Figure 24. Bottomside Layer......................................................................................................... 34
Figure 25. Bottom Silk Screen ...................................................................................................... 35

LIST OF TABLES

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
DS661DB1 3
CDB5461AU

1. HARDWARE

1.1 Introduction

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 micro­controller 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.2 Evaluation 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 hard­ware test switches, the reset circuitry, and the USB interface. The board also has a user friendly power supply con­nection.
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
21 22
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+
GND VD+GND
VD+
VD+_EXT
+5V
+3.3V
J8
XOUT XIN
TP7 TP8
4.096MHz
U6
5461A
J25
VREFIN
VREFOUT
Vu+_EXT
Y1
Figure 1. CDB5461AU Assembly Drawing
4 DS661DB1
CDB5461AU

1.2.1 Analog 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 ref­erence options include: VREFOUT from CS5461A, the on-board +2.5V reference, and external REF+ (screw termi­nal 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.
Reference Description J25
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.
Reference Description J12
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.
DS661DB1 5
CDB5461AU
INPUT Description J17 J22 J24 J26
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.2 Digital Section

The digital section contains the microcontroller, USB interface, JTAG header, reset circuitry, and an external inter­face 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.
6 DS661DB1
CDB5461AU

1.2.3 Power Supply Section

Table 4 illustrates the power supply connections to the evaluation board. The +5 binding post (J3) supplies the pos­itive 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 al­lows 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 Supplies Power Post Connections VD+ 8051-REGIN
Analog (VA+) Digital (VD +) 8051 (Vu+)
+5V GND VD+EXT VU+EXT J8 J9
+5 +5 +5 +5 0
+5 +3.3 +5 +5 0
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
DS661DB1 7
CDB5461AU

1.3 Auto-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 hard­ware 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.
8 DS661DB1
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.1 Installation Procedure

To install the software, go to the Cirrus Logic web si te at http://www.cirrus.com/industrialsoftware and refer to appli­cation note AN278.

2.2 Using the Software

Before launching the software, check all jumper settings on the CDB54 61AU evaluation bo ard as descr ibe d in se c­tion 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.3 Start-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.
DS661DB1 9
CDB5461AU

2.3.1 Setup

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 eval­uation 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 ap­pear, 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 pre­saved data file for further analysis using time domain, FFT, and histogram plots in the Data Collection window of the software.
10 DS661DB1
CDB5461AU
Figure 5. Selecting a Data File for Further Analysis

2.3.2 Quit

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
DS661DB1 11
Loading...
+ 25 hidden pages