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
CDB5460AU
2.4.3CS5460A Crystal Frequency
The CS5460A accepts a wide range of crystal input frequencies, and can therefore run at many different
sample rates. The crystal frequency being used on the CS5460A should be entered in this box to provide
accurate frequency calculation in the FFT window. This will also help the software decide which functions
the evaluation system can perform reliably.
2.4.4Configuration Register
In the Configuration Register box, the contents of the Config register can be modified by typing a hexadecimal value in the HEX: field, or by changing any of the values below the HEX: field to the de sire d settings. Although the CDB5460AU software allows the user to modify any of the bits in the Config register,
changing certain bits may cause the software and board to behave erratically. For the evaluation system
to function properly, the Interrupt Output field should be set to the default Active Low. T his applies only to
the CDB5460AU evaluation system, and not to the CS5460A chip itself.
2.4.5Mask Register / Status Register
The Mask Register / Status Register box displays the values for these registers in hexadecimal and decodes them to indicate each bit's function. The Mask register can be modified by typing a value in the
HEX: field, or by checking the appropriate check boxes for the bits that are to be masked. The Status register cannot be directly modified. It can only be reset by pressing the Clear Status Register button. The
HEX: field for this register and the lamps are indicators only. A lamp which is on means that the corresponding bit in the Status register is set (except the Invalid Command bit, which is inverted). The value
present in the Mask register may be changed by the software during certain operations to provide correct
functionality of the CDB5460AU board.
2.4.6Cycle Count / PulseRate / Time Base 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 Value: or HEX: field.
2.4.7Control Register
The Control Register box is used to make changes to and display the contents of the Ctrl register. The
Ctrl register contains various bits used to activate or terminate various features of the CS5460A. Refer to
the CS5460A data sheet for descriptions of the b its. The user is able to t urn each bit on or o ff individually.
The value of the Ctrl register is displayed in hexadecimal format. Most of the Ctrl register bits are reserved
or unused. Only the usable bits are displayed in the Setup Window.
DS487DBU113
CDB5460AU
2.5Calibration Window
The Calibration window is used to display and write to the CS5460A offset and gain calibration registers.
The user is also able to initiate the CS5460A's calibration sequences that are used to set the calibration
values. Both AC and DC calibrations can be run for offset and gain, for either the voltage channel or the
current channel, or both simultaneously. The user should refer to the CS5460A data sheet for more details
on calibration.
The Refresh Screen button will update the contents of the screen by reading all the register values from
the part. It is a good idea to press the Refresh Screen button when entering the Calibration window, or
after modifying any registers to reflect the current status of the CS5460A.
Figure 9. Calibration Window
2.5.1Offset / Gain Register
In the Offset and Gain 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 two types of offset registers: DC offset and AC offset. The AC offset registers only
affect the RMS register values. The power offset registers only affect the active power register values.
The offset register is a two's complement number whose value ranges from -1 to +1. The gain register
value ranges from 0 to 4.
2.5.2Performing Calibrations
Offset and gain calibrations can be performed on both the voltage and current channels of the CS5460A.
Because the initial values in the calibration registers will affect the results of the calibrations, it is generally
a good idea to software reset the CS5460A before running calibrations. A software reset will reset these
registers back to the default values of zero offset and unity gain. Offset calibration should be performed
before gain calibration to ensure accurate results.
14DS487DBU1
CDB5460AU
2.5.2.1Offset Calibrations
1. Ground the channel(s) you want to calibrate directly at the channel header(s), J17 and J22 for the voltage
channel, J24 and J26 for current chann el. The channel(s) could also be grounded dire ctly at the screw-type
terminals.
2. Press the corresponding AC or DC offset calibrate button ( Cal V, Cal I, or Cal Both) beside or below the
offset register fields.
3. The calibration value(s) will automatically update when the calibration is completed.
2.5.2.2Gain Calibrations
1. Attach an AC or DC calibration signal to the screw-type terminals, and make sure the corresponding chan-
nel headers (J17, J22, J24, and J26) are set to the input position.
2. Press the corresponding AC or DC gain calibrate button (Cal V, Cal I, or Cal Both) beside or below the gain
register fields.
3. The calibration value(s) will automatically update when the calibration is completed.
The Calibration window also contains the Power Offset Register display and adjustment. The user can
read and write the values in the Power Offset register (Poff).
DS487DBU115
CDB5460AU
2.6Conversion 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 CS5460A. See Figure 10. The Conversion wi ndow can be accessed from the Menu pull-down and selecting Conversion Window, or by pressing <F4>.
Figure 10. Conversion Window
2.6.1Single Conversion Button
Pressing this button will cause a single conversion to be performed. After a single conversion is complete,
the Result column will be updated with the values present in each data register.
2.6.2Continuous Conversion Button
Pressing this button will cause continuous conversions to be performed until the user presses the Stop
button. After each conversion is complete, the Result column will be updated with the values present in
each data register. The Mean and Standard Deviation columns will be updated every N cycles, where N
is the number in the Samples to Average field. If the Samples to Average is set to a large number, it may
take many collection cycles after pressing the Stop button before the data actually stops being collected.
2.6.3Standby / Sleep Mode Buttons
When these buttons are pressed, the CS5460A will enter either standby or sleep power saving mode. To
return to normal mode, press the Power Up button.
16DS487DBU1
CDB5460AU
2.6.4Power Up Button
This button is used to send the Power Up/Halt command to the CS5460A. The part will return to normal
operating mode and halt any conversions that are being done at this time.
2.6.5Write Data to File
This box provides a means to write the conversion result data to a .txt text file for later analysis or print
out. The file path and name will be shown in Filename field. The Open File button is used to open a new
or existing .txt text file for data writing. Each time the Write Data button is pressed, the result data is written
into the file and the Number of Lines Written field value will be increased by 1.
2.7Pulse Rate Output Window
The CS5460A features a pulse-rate energy output. The CDB5460AU has the capability to demonstrate
the functionality of this output in the Pulse Rate Output window. See Figure 11. The Pulse Rate Output
window can be accessed by pressing <F5>, or by pulling down the Menu menu, and selecting the PulseRate Window item.
Figure 11. Pulse Rate Output Window
2.7.1Integration Seconds
This field allows the user to select the length of time over which pulses will be collected.
2.7.2Periods To Average
This field allows the user to average a number of integration periods.
2.7.3Start Button
When the Start button is pressed, the CDB5460AU will capture pulse rate data according to the values in
the Integration Seconds and Periods to Average fields. After each integration period, the Pulse Count,
Frequency columns will be updated. The Average Frequency and Standard Deviation columns will only
be updated after all the integrations have been collected. The software stops collecting data when the
user presses the Stop button, or when the data collection is finished. Due to speed limitations of the onboard microcontroller, some higher pulse rates cannot be accurately collected.
DS487DBU117
CDB5460AU
2.8Data Collection Window
The Data Collection window (Figure 12) allows the user to collect sample sets of data from the CS5460A
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
<F6>.
Figure 12. Data Collection Window
2.8.1Time Domain / FFT/ Histogram Selector
This menu selects the type of data processing to perform on the collected data and display in the plot area.
Refer to the Analyzing Data section for more information.
2.8.2Config Button
This button will bring up the Configuration window, in which the user can modify the data collection specifications. Refer to the Configuration Window section in this document for more information.
2.8.3Collect Button
This button will collect data from the part, to be analyzed in the plot area. See the Collecting Data Sets
section for more information.
18DS487DBU1
CDB5460AU
2.8.4Output Button
This button will bring up a window in which the user can output the collected 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.5Zoom 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.6Channel Select Button
After data collection, the two buttons labeled as “No Data” will be replaced with Current and Voltage buttons, allowing the user to choose the appropriate channel for display. In the time domain mode, an additional Overlay button will be present which allows the user to display all the channels on the same plot.
2.8.7Configuration Window
The Configuration window allows the user to set up the data collection and analysis parameters.
Figure 13. Configuration Window
2.8.7.1Number of Samples
This field allows the user to select the number of samples to collect, between 16 and 32768.
2.8.7.2Average
When performing FFT analyses, this field determines the number of FFTs to average. FFTs will be collected and averaged when the Collect button is pressed.
DS487DBU119
CDB5460AU
2.8.7.3FFT Window
This field 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.4Histogram Bin Width
This field determines the "bin width" when plotting histograms of the collected data. Each vertical bar in
the histogram plot will contain the number of output codes within a bin range. Decreasing this number may
allow the user to view histograms in more detail.
2.8.7.5Data to Collect
These three check boxes allow the user to select the data types that will be collected and returned to the
PC for processing.
2.8.7.6Cycle Count
The value in the Cycle Count field will be written to the Cycle Count register in the CS5460A. The Cycle
Count register determines the length of one computation cycle. The Cycle Count value should be selected
appropriately according to the Data to Collect setting. For example, if the Data to Colle ct is instantaneous
current, voltage, or power it is better to set Cycle Count to 1.
2.8.7.7Accept Button
When this button is pressed, the current settings will be saved, and the user will return to the Data Collection window.
2.8.8Collecting Data Sets
To collect a sample data set:
1. In the Data Collection window, press the Config button to bring up the Configuration window and view the
current settings.
2. Select the appropriate settings from the available options (see the Configuration Window section) and press
the Accept button.
3. The Data Collection window should still be visible. Press the Collect button to begin collecting data.
4. Once the data has been collected, it can be analyzed, printed, or saved to disk.
2.8.9Retrieving Saved Data From a File
The CDB5460AU software allows the user to save data to a file, and retrieve it later when needed. To load
a previously saved file:
1. Pull down the Setup menu and select the Disk menu item. A file menu will appear.
2. Find the data file in the list and select it. Press the Select button to return.
3. Go to the Data Collection window, and press the Collect button.
4. The data from the file should appear on the screen. The data will be ready for different types of analysis.
5. To select a different file, repeat the procedure.
20DS487DBU1
CDB5460AU
2.8.10Analyzing 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 ver-
sus 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). The histogram analysis processes acquired conversions to produce a histogram
plot. Statistical noise calculations are also calculated and displayed.
2.8.11Histogram Information
The following is a description of the indicators associated with histogram analysis. Histograms can be plotted in the Data Collection window by setting the analysis type pull-down menu to Histogram.
Figure 14. Histogram Analysis
2.8.11.1BIN
Displays the x-axis value of the cursor on the histogram.
2.8.11.2MAGNITUDE
Displays the y-axis value of the cursor on the histogram.
DS487DBU121
CDB5460AU
2.8.11.3MEAN
Indicates the mean of the data sample set. The mean is calculated using the following formula:
n1–
Xi
∑
Mean
2.8.11.4STD_DEV
Indicates the standard deviation of the collected data set. The standard deviation is calculated using the
following formula:
----------------=
i0=
n
STDDEV
n1–
∑
i0=
=
------------------------------------------------
–
()
Xi
MEAN
2
n
2.8.11.5VARIANCE
Indicates for the variance of the current data set. The variance is calculated using the following formula:
VARIANCE
------------------------------------------------=
n1–
∑
i0=
–
()
MEAN
Xi
2
n
2.8.11.6MAXIMUM
Indicates the maximum value of the collected data set.
2.8.11.7MINIMUM
Indicates the minimum value of the collected data set.
22DS487DBU1
CDB5460AU
2.8.12Frequency 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. FFT Analysis
2.8.12.1FREQUENCY
Displays the x-axis value of the cursor on the FFT display.
2.8.12.2MAGNITUDE
Displays the y-axis value of the cursor on the FFT display.
2.8.12.3S/PN
Indicates the signal-to-peak noise ratio (decibels).
2.8.12.4SINAD
Indicates for the signal-plus-noise-plus-distortion to noise-plus-distortion ratio (decibels).
2.8.12.5S/D
Indicates for the signal-to-distortion ratio, 4 harmonics are used in the calculations (decibels).
DS487DBU123
CDB5460AU
2.8.12.6SNR
Indicates for the signal-to-noise ratio, first 4 harmonics are not included (decibels).
2.8.12.7FS-Pdb
Indicates for the full-scale to signal Ratio (decibels).
2.8.12.8Time 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. Time Domain Analysis
2.8.12.9COUNT
Displays current x-position of the cursor on the time domain display.
2.8.12.10 MAGNITUDE
Displays current y-position of the cursor on the time domain display.
2.8.12.11 MAXIMUM
Indicates for the maximum value of the collected data set.
2.8.12.12 MINIMUM
Indicates for the minimum value of the collected data set.
24DS487DBU1
CDB5460AU
2.9EEPROM Window
CDB5460AU has an "Auto-Boot" demo feature that uses the on-board serial EEPROM, so that the
CDB5460AU can operate independently without being connected to a PC. CDB5460AU GUI software
also provides an EEPROM window for reading & writing the serial EEPROM.
Figure 17. EEPROM Window
2.9.1Bytes to Read/Write
The Bytes to Read/Write field allows the user to define the number of bytes to read or write.
2.9.2Read EEPROM
First input the number of bytes to read in the Bytes to Read/Write field. After pressing the Read button,
that number of bytes starting from the address 0x00 will be read from EEPROM and displayed in the EE-PROM table in hexadecimal format.
2.9.3Write EEPROM
Input the number of bytes to write in the Bytes to Read/Write field and input the hexadecimal byte values
in the EEPROM table starting from address 0x00. After pressing the Write button, the bytes in the EE-PROM table will be written to the EEPROM.
DS487DBU125
CDB5460AU
2.10Debug Panel
The Debug panel provides the user a way to access CS5460A registers and send commands to CS5460A
directly. See Figure 18. Refer to section 4.1 in the CS5460A data sheet for more detailed information
about the commands and registers.
Figure 18. Debug Panel
26DS487DBU1
APPENDIX A. BILL OF MATERIALS
CDB5460AU
BILL OF MATERIAL (Page 1 of 2)
0.25T TYPE E 24/19 BLU SQUIRES
ELEC. INC.
0.25T TYPE E 24/19 BLU SQUIRES
ELEC. INC.
111-0102-001REQUIRES WIRE, 1.5L X 0.25T X
111-0103-001REQUIRES WIRE, 1.5L X 0.25T X
COMPONENTS
COMPONENTS
ED 100/4DS
ED 100/2DS
TECHNOLOGY
TP-101-10
TECHNOLOGY
CORPORATION
SCREW
21115-00009-Z1AHDR 3x1 ML .1" 062 ST GLD NPb TH1J25SAMTECTSW-103-07-G-S
22115-00031-Z1AHDR 11x2 ML .1"CTR 062 S GLD NPb1J40SAMTECTSW-111-07-G-D
48061-00219-Z1AIC LOG UHS TINY ANA SWT 6P NPb SC702U9 U11FAIRCHILD
62312-00008-01AINSULATOR .312 x .145 FOR HC49U/US1XY1ECS700-9001INSULATOR FOR Y1
28DS487DBU1
APPENDIX B. SCHEMATICS
CDB5460AU
Figure 19. Schematic - Analog Inputs
DS487DBU129
CDB5460AU
Figure 20. Schematic - CS5460A & Socket
30DS487DBU1
CDB5460AU
Figure 21. Schematic - Microcontroller & USB Interface
DS487DBU131
CDB5460AU
Figure 22. Schematic - Power Supplies
32DS487DBU1
APPENDIX C. LAYER PLOTS
CDB5460AU
Figure 23. Top Silkscreen
DS487DBU133
CDB5460AU
Figure 24. Top Routing
34DS487DBU1
CDB5460AU
Figure 25. Bottom Routing
DS487DBU135
CDB5460AU
Figure 26. Bottom Silkscreen
36DS487DBU1
REVISION HISTORY
RevisionDateChanges
DB1JAN 2009Initial Release.
CDB5460AU
DS487DBU137
CDB5460AU
Contacting Cirrus Logic Support
For all product questions and inquiries contact a Cirrus Logic Sales Re presentative. To find the one near est to you
go to www.cirrus.com
IMPORTANT NOTICE
Cirrus Logic, Inc. and its subsidiaries ("Cirru s") believe that the information containe d in this document is accurate and reliable. However, the information is su bject
to change without notice and is provided "AS IS" without warranty of any kind (express or implied). Customers are advised to obtain the latest version of relevant
information to verify, before placing or ders, that in formatio n be ing relied on is current and comple te. All products a re sold s ubj ect to the term s and conditions of sa le
supplied at the time of order acknow ledgment, includin g those pertaining to warranty, indemni fication, and limitatio n of liability. No responsibility is assumed by Cirrus
for the use of this information, including use of this information as the basis for manufacture or sale of any items, or for infringement of patents or other rights of third
parties. This document is the prop erty o f C irrus a nd b y furn ishing this inform ation, Cirru s grants no lice nse, expres s or implied under any patents, mask work rights,
copyrights, trade marks, trad e secrets or other int ellectual property r ights. Cirr us owns the co pyrights a ssociated wit h the inf ormation contained herein and gives
consent for copies to be made of the inform ation only for us e withi n your o rgani zation w ith resp ect to Cir rus in tegrate d circui ts or other p rodu cts of C irrus. This co nsent does not extend to other copying such as copying for general distribution, advertising or promotional purposes, or for creating any work for resale.
CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ("CRITICAL APPLICATIONS"). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR
USE IN PRODUCTS SURGICALLY IMPLANTED INTO THE BODY, AUTOMOTIVE SAFETY OR SECURITY DEVICES, LIFE SUPPORT PRODUCTS OR OTHER
CRITICAL APPLICATIONS. INCLUSION OF CIRRUS PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER'S RISK
AND CIRRUS DISCLAIMS AND MAKES NO WARRANTY, EXPRESS, STATUTORY OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO ANY CIRRUS PRODUCT THAT IS USED IN SUCH A MANNER. IF THE CUSTOMER
OR CUSTOMER'S CUSTOMER USES OR PERMITS THE USE OF CIRRUS PRODUCTS IN CRITICAL APPLICATIONS, CUSTOMER AGREES, BY SUCH USE,
TO FULLY INDEMNI FY CIRRUS , ITS O FFICERS, DIRECTOR S, EMPLOY EES, DIST RIBUTORS AND OTHER AGENTS FROM ANY AND ALL LIABILI TY, INCLUDING ATTORNEYS' FEES AND COSTS, THAT MAY RESULT FROM OR ARISE IN CONNECTION WITH THESE USES.
Cirrus Logic, Cirrus, and the Cirrus Logic logo designs are trademarks of Cirrus Logic, Inc. All other brand and product names in this document may be trademarks
or service marks of their respective owners.
LabWindows and CVI are registered trademarks of National Instruments, Inc.
Windows, Windows 2000, and Windows XP are trademarks or registered trademarks of Microsoft Corporation.
PADS and PowerLogic are trademarks of Me ntor Graphics Corporation.
SPI is a trademark of Motorola Semiconductor, Inc.
38DS487DBU1
Loading...
+ 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.