Cirrus Logic CDB5460AU User Manual

CDB5460AU
CDB5460AU Evaluation Board and Software

Features

Voltage and Current InterfaceUSB Communication with PCOn-board C8051F320 MicrocontrollerOn-board Voltage ReferenceLabWindows
– Register Setup & Chip Control – FFT Analysis – Time Domain Analysis – Noise Histogram Analysis
"Auto-boot" Demo with Serial EEPROM
®
/CVI® GUI Software
+5V GND
VD+_EXT
General Description
The CDB5460AU is an inexpensive tool designed to evaluate the functionality and performance of the CS5460A. The evalu­ation board includes an LT1019 voltage reference, a C8051F320 microcontroller with a USB interface, and firm­ware. The microcontroller controls the serial communication between the evaluation board and the PC via the firmware, en­abling quick and easy access to all of the CS5460A's registers and functions.
The CDB5460AU includes software for data capture, time do­main analysis, histogram analysis, and frequency domain analysis.
Schematics in PADS™ PowerLogic™ format are available for download at www.cirrus.com/IndustrialSoftware
ORDERING INFORMATION
CDB5460AU Evaluation Board
Vu+_EXT
.
USB
REF
VIN+
VIN-
IIN+
IIN-
www.cirrus.com
+2.5V
reference
IN OUT
VREF
CS5460A
4.096MHz Crystal
SERIAL
EERPOM
CS
SDI
SDO
SCLK
INT
RESET
EOUT
EDIR
MODE
Copyright © Cirrus Logic, Inc. 2009
(All Rights Reserved)
MODE
C8051F320
E1
E2
Reset
Circuirty
RESET
BUTTON
JAN ‘09
DS487DBU1
CDB5460AU

TABLE OF CONTENTS

1. HARDWARE .............................................................................................................................3
1.1 Introduction ............................ .... ... ... ... ... .... .......................................... .............................. 3
1.2 Evaluation Board Overview ..................................................................... ... ... .....................3
1.3 Analog Section ........................................... .......................................... ... ...........................4
1.4 Digital Section ........ ... .... ... ... ... .... ... ... .......................................... ........................................ 5
1.5 Power Supply Section ... .......................................... ... ... ... .......................................... ... ..... 5
1.6 Auto-boot Mode ............................................ ... ... .... .......................................... ... ... ... ........6
2. SOFTWARE .............................................................................................................................. 8
2.1 Installation . ... .... ... ... ... .... ... .......................................... .......................................... ..............8
2.2 Using the Software ................................. .... ... .......................................... ........................... 8
2.3 Start-up Window .................................... .... ... ... ... .... .......................................... ... ... ... ........ 8
2.4 Setup Window ..................................................................................................................12
2.5 Calibration Windows ........................... ... .... ... ... ... .... ... ... .......................................... ... ... ...14
2.6 Conversion Window ......... ... ... .... ... ...................................................................................16
2.7 Pulse Rate Window ................................ .... .......................................... ............................17
2.8 Data Collection Window ................................................................................................... 18
2.9 EEPROM Window ............................................................................................................25
2.10 Debug Panel ..................................................................................................................26
Appendix A. Bill Of Materials ................................................................................................... 27
Appendix B. Schematics .......................................................................................................... 29
Appendix C. Layer Plots ........................................................................................................... 33
FIGURE 26. REVISION HISTORY ..............................................................................................37

LIST OF FIGURES

Figure 1. CDB5460AU Assembly Drawing...................................................................................... 3
Figure 2. GUI Start-up Window .......................................................................................................8
Figure 3. Setup Menu Showing Successful USB Connection.........................................................9
Figure 4. USB Error Message .........................................................................................................9
Figure 5. Data from Disc File Selection Window........................................................................... 10
Figure 6. Menu Pull-down Options................................................................................................10
Figure 7. Quit Dialog .....................................................................................................................11
Figure 8. Setup Window................................................................................................................12
Figure 9. Calibration Window .......................................................................................................14
Figure 10. Conversion Window........................ ... .... ... ... ... .... ... ... ... .... ... ... ... ................................... 16
Figure 11. Pulse Rate Output Window.......................................................................................... 17
Figure 12. Data Collection Window...............................................................................................18
Figure 13. Configuration Window..................................................................................................19
Figure 14. Histogram Analysis ...................................................................................................... 21
Figure 15. FFT Analysis...................... .... ... ... ... ... .......................................... ................................ 23
Figure 16. Time Domain Analysis ..................................................................... ... ... ... ...................24
Figure 17. EEPROM Window........................................................................................................ 25
Figure 18. Debug Panel ................................................................................................................ 26
Figure 19. Schematic - Analog Inputs ...........................................................................................29
Figure 20. Schematic - CS5460A & Socket .................................................................................. 30
Figure 21. Schematic - Microcontroller & USB Interface...............................................................31
Figure 22. Schematic - Power Supplies ........................................................................................ 32
Figure 23. Top Silkscreen .............................................................................................................33
Figure 24. Top Routing..................................................................................................................34
Figure 25. Bottom Routing ............................................................................................................ 35
Figure 26. Bottom Silkscreen........................................................................................................36
2 DS487DBU1
CDB5460AU

1. HARDWARE

1.1 Introduction

The CDB5460AU evaluation board provides a quick means of evaluating the CS5460A power measure­ment 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 per­formance in the time domain or the frequency domain.

1.2 Evaluation 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 microcontrol­ler, 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+
VIN­J22
J24 IIN+
J26
IIN-
CDB5460A_61A_63
TP9
TP11
TP12
TP13
J5J4J3
JP1
GND
CDB5460AU
XU6
CPUCLK
TP10
VREF
VA+
GND VD+GND
VD+
VD+_EXT
+5V
+3.3V
J8
XOUT XIN
TP7 TP8
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
21 22
2
Figure 1. CDB5460AU Assembly Drawing
DS487DBU1 3
CDB5460AU

1.3 Analog 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 ref­erence 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.
Reference Description J25
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.
Reference Description J12
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 sup­plied from the screw terminals J23 and J27. With a jumper on J17, J22, J24, and J26 in the GND position, the inputs
4 DS487DBU1
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.
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.4 Digital Section

The digital section contains the microcontroller, USB interface, JTAG header, reset circuitry, and an ex­ternal interface header (J40). The microcontroller interfaces the SPI™ of CS5460A with the USB connec­tion 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.5 Power 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 bind­ing 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
DS487DBU1 5
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 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
+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.6 Auto-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 be­tween the microcontroller and the CS5460A are removed and the GUI software can not access the CS5460A registers and functions.
6 DS487DBU1
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
DS487DBU1 7

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.1 Installation

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.2 Using the Software

Before launching the software, check all jumper settings on the CDB5460AU evaluation board as de­scribed 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.3 Start-up Window

When the software is launched, the start-up window will appear. This window contains information con­cerning 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.
8 DS487DBU1
CDB5460AU

2.3.1 Setup Menu

Setup allows user to establish a USB communication connection with CDB5460AU board or select a pre­viously 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 mes­sage 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 prop­erly to the CDB5460AU. Reset the board (press the RESET button on the board) and try to setup the USB connection again.
DS487DBU1 9
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.2 Menu Pull-down

Excluding the Start-Up window, the Menu pull-down provides 7 options: Setup Window, Calibration Win­dow, 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
10 DS487DBU1
CDB5460AU

2.3.3 Quit 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
DS487DBU1 11
CDB5460AU

2.4 Setup 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 Setup Window, or by pressing <F2> on the keyboard.
In the Setup window, all of the CS5460A's registers are displayed in hexadecimal notation and are decod­ed 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.1 Refresh 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.2 Reset 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.
12 DS487DBU1
Loading...
+ 26 hidden pages