CDB5464U CDB5464U Engineering Board and GUI Software Features 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.
CDB5464U TABLE OF CONTENTS 1. HARDWARE ............................................................................................................................. 3 1.1 Introduction ........................................................................................................................ 3 1.2 Evaluation Board Overview ................................................................................................ 3 1.3 Analog Section .........................................................
CDB5464U 1. HARDWARE 1.1 Introduction 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.
CDB5464U 1.3 Analog 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.
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.
CDB5464U 1.5 Power Supply Section Table 4 illustrates the power supply connections to the evaluation board. The +5V binding post (J3) supplies 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.
CDB5464U 1.6 Auto-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).
CDB5464U 2. SOFTWARE 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®/CVI®, a software development package from national Instruments. The evaluation software is available for download on the Cirrus Logic web site at http://www.cirrus.com/industrialsoftware and was designed to run under Windows® 2000 or Windows XP®. 2.1 Installation To install the software, go to the Cirrus Logic web site at http://www.
CDB5464U 2.3.1 Setup 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.
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.
CDB5464U 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.
CDB5464U 2.4 Setup 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 Setup Window, or by pressing on the keyboard. In the Setup window, all of the CS5464's registers are displayed in hexadecimal notation and are decoded to provide easier readability. Refer to the CS5464 data sheet for information on register functionality and definitions.
CDB5464U 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 CS5464. 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 CS5464. 2.4.2 Reset DUT Button The Reset DUT button will hardware reset the CS5464. The CS5464 will perform a reset as discussed in the CS5464 data sheet.
CDB5464U is displayed in hexadecimal. Many of the Modes register bits are reserved or unused. Only the usable bits are displayed in the Setup window. 2.4.8 Cycle Count / Pulse Output Registers These fields display the values of corresponding register in both hexadecimal and decimal format. Each register can be modified by typing a value in the corresponding Decimal Value or HEX: field. 2.4.
CDB5464U 2.5.1 Offset / Gain Register In the offset and gain register boxes, the offset and gain registers for all channels are displayed in hexadecimal and decimal. These registers can be modified directly by typing the desired value in the hexadecimal display boxes. There are three types of offset registers: DC offset, AC offset and power offset. The AC offset registers only affect the RMS register values. The power offset registers only affect the active power register values.
CDB5464U 2.6 Conversion Window The Conversion Window allows the user to see the results of single and continuous conversions, perform data averaging, and utilize the power-saving modes of the CS5464. See Figure 10. The Conversion Window can be accessed from the Menu pull-down and selecting Conversion Window, or by pressing . Figure 10. Conversion Window 2.6.1 Single Conversion Button Pressing this button will cause a single conversion to be performed.
CDB5464U 2.6.3 Standby / Sleep Mode Buttons When these buttons are pressed, the CS5464 will enter either standby or sleep power saving modes. To return to normal mode, press the Power Up button. 2.6.4 Power Up Button This button is used to send the Power Up/Halt command to the CS5464. The part will return to normal operating mode and halt any conversions that are being done at this time. 2.6.
CDB5464U 2.7.1 Integration Seconds This field allows the user to select the length of time over which pulses will be collected after the Start button is pressed. Because there is a time delay (2x N / OWR) from start conversion to pulse output, the Integration Seconds field is normally set to a delay longer than the actual pulsing period. 2.7.2 Periods To Average This field allows the user to average a number of integration periods. 2.7.
CDB5464U 2.8 Data Collection Window The Data Collection Window (Figure 12) allows the user to collect sample sets of data from the CS5464 and analyze them using time domain, FFT, and histogram plots. The Data collection Window can be accessed by pulling down the Menu menu, and selecting the Data Collection Window item, or by pressing . Figure 12. Data Collection Window 2.8.
CDB5464U 2.8.4 Output Button This button will bring up a window in which the user can output the data to a file for later use, print out a plot, or print out the entire screen. When saving data, only the data channel being displayed on the plot will be saved to a file. 2.8.5 Zoom Button This button allows the user to zoom in on the plot by selecting two points in the plot area. Press the Restore button to return to the normal data plot, or press the Zoom button again to zoom in even further. 2.8.
CDB5464U 2.8.7.3 FFT Window This box allows the user to select the type of windowing algorithm for FFT processing. Windowing algorithms include the Blackman, Blackman-Harris, Hanning, 5-term Hodie, and 7-term Hodie. The 5-term Hodie and 7-term Hodie are windowing algorithms developed at Crystal Semiconductor. 2.8.7.4 Histogram Bin Width This field determines the "bin width" when plotting histograms of the collected data.
CDB5464U 2.8.10 Analyzing Data The evaluation software provides three types of analysis tests: Time Domain, Frequency Domain, and Histogram. The time domain analysis processes acquired conversions to produce a plot of magnitude versus conversion sample number. The frequency domain analysis processes acquired conversions to produce a plot of magnitude versus frequency using the Fast-Fourier transform (results up to Fs/2 are calculated and plotted).
CDB5464U 2.8.11.3 MEAN Indicates the mean of the data sample set. The mean is calculated using the following formula: n–1 ∑ Xi i=0 Mean = ---------------n 2.8.11.4 STD_DEV Indicates the standard deviation of the collected data set. The standard deviation is calculated using the following formula: n–1 ∑ ( Xi – MEAN ) STDDEV = 2 i=0 -----------------------------------------------n 2.8.11.5 VARIANCE Indicates for the variance of the current data set.
CDB5464U 2.8.12 Frequency Domain Information The following describe the indicators associated with FFT (Fast Fourier Transform) analysis. FFT data can be plotted in the Data Collection Window by setting the analysis type selector to FFT (Figure 15). Figure 15. FFT Analysis 2.8.12.1 FREQUENCY Displays the x-axis value of the cursor on the FFT display. 2.8.12.2 MAGNITUDE Displays the y-axis value of the cursor on the FFT display. 2.8.12.3 S/PN Indicates the signal-to-peak noise ratio (decibels). 2.8.12.
CDB5464U 2.8.12.6 SNR Indicates for the signal-to-noise ratio, first 4 harmonics are not included (decibels). 2.8.12.7 FS-Pdb Indicates for the full-scale to signal Ratio (decibels). 2.8.12.8 Time Domain Information The following controls and indicators are associated with time domain analysis. Time domain data can be plotted in the Data Collection Window by setting the analysis type selector to Time Domain (Figure 16). Figure 16. Time Domain Analysis 2.8.12.
CDB5464U 2.8.12.12 MINIMUM Indicates for the minimum value of the collected data set. 2.9 EEPROM Window CDB5464U has an "Auto-Boot" demo feature that uses the on-board serial EEPROM, so that the CDB5464U can operate independently without being connected to a PC. CDB5464U GUI software also provides an EEPROM Window for reading & writing the serial EEPROM (Figure 17). Figure 17. EEPROM Window 2.9.
CDB5464U 2.10 Debug Panel The Debug panel provides the user a way to access CS5464 registers and send commands to CS5464 directly (Figure 18). Refer to 7.6 in the CS5464 data sheet for more details. Figure 18.
Cirrus P/N 001-06872-01 001-02779-01 001-02189-01 012-00010-01 001-04344-01 001-03266-01 001-06685-01 012-00012-01 001-07078-01 070-00055-01 165-00004-01 115-00003-01 110-00041-01 110-00010-01 110-00008-01 115-00016-01 115-00014-01 115-00013-01 110-00056-01 110-00055-01 115-00009-01 115-00031-01 080-00004-01 304-00001-01 020-03378-01 020-01848-01 020-01588-01 020-01816-01 020-01667-01 021-00759-01 020-03355-01 Item 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
DS847DB1 Cirrus P/N 021-00606-01 020-02748-01 020-01473-01 020-02273-01 120-00002-01 110-00045-01 062-00124-01 061-00250-01 062-00079-01 060-00061-01 061-00190-01 065-00176-Z2 061-00002-01 061-00219-01 062-00122-01 080-00003-01 300-00001-01 135-00014-01 100-00049-01 070-00006-01 422-00013-01 422-00037-01 240-00213-Z1 600-00213-01 603-00213-01 602-00213-01 110-00013-01 115-00014-01 020-01473-01 110-00045-01 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 5
CDB5464U Figure 19. Schematic - Analog Inputs APPENDIX B.
Figure 20.
Figure 21.
Figure 22.
CDB5464U Figure 23. Top Silkscreen APPENDIX C.
Figure 24.
Figure 25.
Figure 26.
CDB5464U REVISION HISTORY Revision Date DB1 OCT 2007 Changes Initial Release. Contacting Cirrus Logic Support For all product questions and inquiries contact a Cirrus Logic Sales Representative. To find the one nearest to you go to www.cirrus.com IMPORTANT NOTICE Cirrus Logic, Inc. and its subsidiaries ("Cirrus") believe that the information contained in this document is accurate and reliable.