– CS3302A hydrophone amplifier
– CS5373A ∆Σ modulator + test DAC
– CS5378 digital filter + PLL
– Precision voltage reference
z On-board Microcontroller
– SPI™ interface to digital filter
– USB communication with PC
z Board Design
– Compact board size: 5” x 1.25” x 0.5”
– Detachable acquisition and telemetry nodes
z PC Evaluation Software
– Register setup & control
– FFT frequency analysis
– Time domain analysis
– Noise histogram analysis
General Description
The CRD5378 board is a compact reference design for
the Cirrus Logic single-channel seismic chip set. Data
sheets for the CS3302A, CS5373A, and CS5378 devices should be consulted when using the CRD5378
reference design.
Pin headers connect an external differential sensor to
the analog inputs of the measurement channel. An onboard test DAC creates precision differential analog signals for in-circuit performance testing without an external
signal source.
The reference design includes an 8051-type microcontroller with hardware SPI™ and USB serial interfaces.
The microcontroller communic ates with the digital filter
via SPI and with the PC evaluation software via USB.
The PC evaluation software controls register and coefficient initialization and performs time domain, histogram,
and FFT frequency analysis on captured data.
The CRD5378 board features a special breakout connector used to detach the acquisition and telemetry
sections for remote sensor applications.
ORDERING INFORMATION
CRD5378Reference Design
www.cirrus.com
Reference Design Panel (Actual Size)
Data Aquisition Board (Actual Size)Control Board (Actual Size)
RD1JAN 2007Initial release.
RD2JAN 2008Upgrade from CS3302 to CS3302A-ISZ/G (U19).
Change (R27,R28,R29,R30) from 0ohms to 680ohms.
CRD5378
2DS639RD2
CRD5378
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 tha t the information conta ined in this document is ac curate and reliable. However, the information is subject
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 placin g or ders, tha t inform atio n be in g relied on is cu rrent an d com plete. All prod ucts ar e sold subject to the terms and conditions of sale
supplied at the time of order a cknowledgme nt, including those pertaining to war ranty, indemnification, a nd limitation of li ability. 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 property of Cirrus and by furnishing this information, Cirrus grants no license, express or implied under any patents, mask work rights,
copyrights, trademarks, trade secrets or other intellectual property rights. Cirrus owns the copyrights associated with the information contained herein and gives consent for copies to be made of the information only for use within your organization with respect to Cirrus integrated circuits or other products of Cirrus. This consent
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 INDEMNIFY CIRRUS, ITS OFFICERS, DIRECTORS, EMPLOYEES, DISTRIBUTORS AND OTHER AGENTS FROM ANY AND ALL LIA BIL I 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 desig ns are tradem arks of Cirru s Log ic, Inc. All o ther bran d and prod uct nam es in thi s docum en t may b e trad emar ks
or service marks of their respective owners.
Windows, Windows XP, and Windows NT ar e tra de m ar ks or registered trad emark of Microsoft Corporation.
SPI is a trademark of Motorola, Inc.
USBXpress is a registered trademark of Silicon Laboratories, Inc.
The PC hardware requirements for the Cirrus Seismic Evaluation system are:
CRD5378
• Windows XP
• Intel Pentium 600 MHz or higher microprocessor
• VGA resolution or higher video card
• Minimum 64MB RAM
• Minimum 40MB free hard drive space
®
, Windows 2000™, Windows NT
®
1.3.2Seismic Evaluation Software Installation
Important: For reliable USB communication, the USBXpress® driver must be installed after the Seismic
Evaluation Software installation but before launching the application. The USBXpress driver files are in-
cluded in a sub-folder as part of the installation.
To install the Cirrus Logic Seismic Evaluation Software:
• Go to the Cirrus Logic Industrial Software web page (http://www.cirrus.com/industrialsoftware
the link for “Cirrus Seismic Evaluation GUI” to get to the download page and then click the link for “Cir-rus Seismic Evaluation GUI Release Vxx” (xx indicates the version number).
• Read the software license terms and click “Accept” to download the “SeismicEvalGUI_vxx.zip” file to
any directory on the PC.
• Unzip the downloaded file to any directory and a “Distribution\Volume1” sub-folder containing the in-
stallation application will automatically be created.
• Open the “Volume1” sub-folder and run “setup.exe”. If the Seismic Evaluation Software has been pre-
viously installed, the uninstall wizard will automatically remove the previous version during install.
• Follow the instructions presented by the Cirrus Seismic Evaluation Installation Wizard. The default in-
stallation location is “C:\Program Files\Cirrus Seismic Evaluation”.
). Click
An application note, AN271 -
Logic web site with step-by-step instructions on installing the Seismic Evaluation Software.
Cirrus Seismic Evaluation GUI Installation Guide, is available from the Cirrus
1.3.3USBXpress® Driver Installation
Important: For reliable USB communication, the USBXpress® driver must be installed after the Seismic
Evaluation Software installation but before launching the application. The USBXpress driver files are in-
cluded in a sub-folder as part of the installation.
The Cirrus Logic Seismic Evaluation Software communicates with CRD5378 via USB using the USBXpress driver from Silicon Laboratories (http://www.silabs.com
files are included as part of the installation package.
To install the USBXpress driver (after installing the Seismic Evaluation Software):
• Connect CRD5378 to the PC through an available USB port and apply power. The PC will detect
CRD5378 as an unknown USB device.
8DS639RD2
). For convenience, the USBXpress driver
CRD5378
• If prompted for a USB driver, skip to the next step. If not, using Windows Hardware Device Manager
go to the properties of the unknown USB API device and select “Update Driver”.
• Select “Install from a list or specific location”, then select “Include this location in the search” and then
browse to “C:\Program Files\Cirrus Seismic Evaluation\Driver\”. The PC will recognize and install the
USBXpress device driver.
• After driver installation, cycle power to CRD5378. The PC will automatically detect it and add it as a
USBXpress device in the Windows Hardware Device Manager.
An application note, AN271 - Cirrus Seismic Evaluation GUI Installation Guide, is available from the Cirrus
Logic web site with step-by-step instructions on installing the USBXpress driver.
1.3.4Launching the Seismic Evaluation Software
Important: For reliable USB communication, the USBXpress driver must be installed after the Seismic
Evaluation Software installation but before launching the application. The USBXpress driver files are in-
cluded in a sub-folder as part of the installation.
To launch the Cirrus Seismic Evaluation Software, go to:
Noise and distortion self-tests can be performed once hardware and software setup is complete.
First, initialize the CRD5378 reference design:
• Launch the evaluation software and apply power to CRD5378.
• Click ‘OK’ on the About panel to get to the Setup panel.
• On the Setup panel, select Open Target on the USB Port sub-panel.
• When connected, the Board Name and MCU code version will be displayed.
1.4.1Noise Test
Noise performance of the measurement channel can be tested as follows:
• Set the controls on the Setup panel to match the picture:
10DS639RD2
• Once the Setup panel is set, select Configure on the Digital Filter sub-panel.
• After digital filter configuration is complete, click Capture on the Data Capture sub-panel.
• Once the data record is collected, the Analysis panel is automatically displayed.
• Select Noise FFT from the Test Select control to display the calculated noise statistics.
• Verify the noise performance (S/N) is 124 dB or better.
1.4.2Distortion Test
• Set the controls on the Setup panel to match the picture:
CRD5378
• Once the Setup panel is set, select Configure on the Digital Filter sub-panel.
• After digital filter configuration is complete, click Capture on the Data Capture sub-panel.
• Once the data record is collected, the Analysis panel is automatically displayed.
• Select Signal FFT from the Test Select control to display the calculated noise statistics.
• Verify the distortion performance (S/D) is 109 dB or better.
DS639RD211
2. HARDWARE DESCRIPTION
2.1Block Diagram
CRD5378
Figure 1. CRD5378 Block Diagram
Major blocks of the CRD5378 reference design include:
• CS3302A Hydrophone Amplifier
• CS5373A ∆Σ Modulator + Test DAC
• CS5378 Digital Filter + PLL
• Precision Voltage Reference
• Microcontroller with USB
• RS-485 Transceivers
• Voltage Regulators
12DS639RD2
CRD5378
2.2Analog Hardware
2.2.1Analog Inputs
2.2.1.1External Inputs - INA
External signals into CRD5378 are from two major classes of sensors, moving coil geophones and piezoelectric hydrophones. Geophones are low-impedance sensors optimized to measure vibrations in land
applications. Hydrophones are high-impedance sensors optimized to measure pressure in marine applications. Other sensors for earthquake monitoring and military applications are considered as geophones
for this data sheet.
External signals connect to CRD5378 through a 3-pin header on the left side of the PCB. This header
makes a connection to the differential INA amplifier inputs and to either a GND or GUARD signal for connection to the sensor cable shields, if present.
Signal InputPin Header
CH1 INAJ4
Table 6. Pin Header Input Connections
2.2.1.2GUARD Output, GND Connection
The CS3302A hydrophone amplifier provides a GUARD signal output on pin 13 designed to actively drive
the cable shield of a high impedance sensor with the common mode voltage of the sensor differential signal. This GUARD output on the cable shield minimizes leakage by minimizing the voltage differential between the sensor signal and the cable shield. The CS3301A geophone amplifier does not have a GUARD
output. Instead, the CS3301A amplifier expects an MCLK clock input to pin 13, which is needed for its
chopper stabilization circuitry. When using a CS3301A amplifier, a cable shield termination to GND is provided for the sensor connection.
By default, CRD5378 uses the CS3302A amplifier. Therefore, the GUARD signal is connected to pin 3 of
the input signal header, J4.
To configure CRD5378 with the CS3301A geophone amplifier, simply make th e following three changes:
1) De-solder the 0 Ω resistor at R10 to remove the GUARD signal from pin 3 of J4.
2) Populate R8 with a 0 Ω resistor to provide a cable shield termination to GND.
3) Populate R9 with a 0 Ω resistor so that the CS3301A amplifier can receive its required master clock
(MCLK) from the CS5378 digital filter.
2.2.1.3Internal Inputs - DAC_OUT, DAC_BUF
The CS5373A test DAC has two high performance differential test outputs, a precision outpu t (DAC_OUT)
and a buffered output (DAC_BUF). The DAC_OUT signal is wired directly to the INB inputs of the
CS3302A amplifier for testing the performance of the electronics channel. The DAC_BUF signal is wired
to the INA inputs of the amplifier and is used to test the performance of the measurement channel with a
sensor attached.
DS639RD213
CRD5378
2.2.1.4Input Protection
Sensor inputs must have circuitry to protect the analog electronics from voltage spikes. Geophone coils
are susceptible to magnetic fields (especially from lightning) and hydrophones can produce large voltag e
spikes if located near an air gun source.
Discrete switching diodes quickly clamp the analog inputs to the power supply rails when the input voltage
spikes. These diodes are reverse biased in normal operation and have low reverse bias leakage and capacitance characteristics to maintain high linearity on the analog inputs.
Specification Value
Dual Series Switching Diode - ON Semiconductor BAV99LT1
Surface Mount Package Type SOT-23
Non-Repetitive Peak Forward Current (1 µs, 1 ms, 1 s)
Reverse Bias Leakage (25 C to 85 C)
Reverse Bias Capacitance (0 V to 5 V) 1.5 pF - 0.54 pF
2.2.1.5Input RC Filters
2.0 A, 1.0 A, 500 mA
0.004 µA - 0.4 µA
Following the diode clamps is an RC filter network that bandwidth limits the sensor inputs into the amplifiers to 'chop-the-tops-off' residual voltage spikes not clamped by the discrete diodes. In addition, all Cirrus Logic component ICs have built in ESD protection diodes guaranteed to 2000 V HBM / 200 V MM
(JEDEC standard). The small physical size of these ESD diodes restricts their current capacity to 10 mA.
For land applications that use the CS3301A amplifier, the INA input has a common mode and differentia l
RC filter. The common mode filter sets a low-pass corner to shunt very high frequency components to
ground with minimal noise contribution. The differential filter sets a low-pass corner high enough not to
affect the magnitude response of the measurement bandwidth.
For marine applications that use the CS3302A amplifier, the inherent capa citance of the piezoelectric sensor is combined with large resistors to create an analog high-pass RC filter to eliminate the low-frequency
components of ocean noise.
14DS639RD2
Land Common Mode Filter Specification Value
Common Mode Capacitance 10 nF + 10%
Common Mode Resistance
200 Ω
Common Mode -3 dB Corner @ 6 dB/octave 80 kHz + 10%
Hydrophone Group Capacitance 128 nF + 10%
Differential Resistance
412 kΩ + 2 kΩ
-3 dB Corner @ 6 dB/octave 3 Hz + 10%
CRD5378
2.2.1.6Common Mode Bias
Differential analog signals into the CS3301A/02A amplifiers are required to be biased to the center of the
power supply voltage range, which for bipolar supplies is near ground potential. Resistors to create the
common mode bias are selected based on the sensor impedance and may need to be modified from the
CRD5378 defaults depending on the sensor to be used. Refer to the recommended operating bias conditions for the selected sensor, which are available from the sensor manufacturer.
The CS3301A/02A amplifiers act as a low-noise gain stage for internal or e xternal differe ntial analog signals.
Analog Signals Description
INA Sensor analog input
INB Test DAC analog input
OUTR, OUTF Analog rough / fine outputs
GUARD
Digital Signals Description
MUX[0..1] Input mux selection
GAIN[0..2] Gain range selection
PWDN Power down mode enable
CLK
2.2.2.1MCLK Input vs. GUARD Output
CS3302A guard output (R10 = 0 Ω, R9 = NO POP)
CS3301A clock input (R10 = NO POP, R9 = 0 Ω)
By default, CRD5378 uses the CS3302A hydrophone amplifier. The CS3302A amplifier is a very high input impedance device and achieves a 1/f noise performance typically buried below the low-frequency
ocean noise. To minimize leakage from high impedance sensors connected to the CS3302A amplifier, pin
13 produces a GUARD signal output to actively drive a sensor cable shield with the common mode voltage of the sensor signal.
Comparing the CS3301A and CS3302A amplifiers, the functionality of pin 13 (MCLK input vs. GUARD
output) is the only external difference. The CS3301A amplifier is chopper-stabilized requiring a clock
source on input pin 13. In order to run the chopper circuitry synchronous to the modulator analog sampling
clock, the CS3301A amplifier pin 13 connects to the CS5378 digital filter (MCLK).
CRD5378 can be converted to use either the CS3301A and CS330 2A amplifiers by installing the amplifier
device and populating R8, R9, and R10 with 0 Ω resistors accordingly.
AmplifierCS3301ACS3302A
U19R8 + R9*R10
Table 7. Amplifier Pin 13 Resistor Settings
Replacement amplifiers can be requested as samples from the local Cirrus Logic sales representative.
2.2.2.2Rough-Fine Outputs - OUTR, OUTF
The analog outputs of the CS3301A/02A differential amplifiers are split into rough charge and fine charge
signals for input to the CS5373A ∆Σ modulator.
16DS639RD2
CRD5378
Analog signal traces out of the CS3301A/02A amplifiers and into the CS5373A modulator are 4-wire
INR+, INF+, INF-, INR- quad groups, and are routed with INF+ and INF- as a traditional differential pair
and INR+ and INR- as guard traces outside the respective INF+ and INF- traces.
2.2.2.3Anti-alias RC Filters
The CS5373A ∆Σ modulator is 4th order and high frequency input signals can cause instability. Simple
single-pole anti-alias RC filters are required between the CS3301A/02A amplifier outputs and the
CS5373A modulator inputs to bandwidth limit analog signals into the modulator.
For the CRD5378, the CS3301A/02A amplifier outputs are connected to external 680
and a differential anti-alias RC filter is created by connecting 20 nF of high linearity differential capacitance
(2x 10 nF C0G) between each half of the rough and fine signals.
Ω series resistors
2.2.3Delta-Sigma Modulator
The CS5373A ∆Σ modulator performs the A/D function for differential analog signals from the
CS3301A/02A amplifier. The digital output from the modulator is an oversampled ∆Σ bit stream.
Analog Signals Description
INR, INF Modulator analog rough / fine inputs
VREF Voltage reference analog inputs
Digital Signals Description
MDATA Modulator delta-sigma data output
MFLAG Modulator over-range flag output
MCLK Modulator clock input
MSYNC Modulator synchronization input
2.2.3.1Rough-Fine Inputs - INR, INF
The modulator analog inputs are separated into rough and fine signals, each of which has an anti-alias
RC filter to limit the signal bandwidth into the modulator inputs.
DS639RD217
CRD5378
2.2.4Delta-Sigma Test DAC
The CS5373A test DAC creates differential analog signals for system tests. Multiple test mod es are available and their use is described in the CS5373A data sheet.
Analog Signals Description
OUT Precision differential analog output
BUF Buffered differential analog output
CAP Capacitor connection for internal anti-alias filter
VREF Voltage reference analog inputs
Digital Signals Description
TDATA Delta-sigma test data input
MCLK Clock input
SYNC Synchronization input
MODE[0..2] Test mode selection
ATT[0..2] Attenuation range selection
2.2.4.1Precision Output - DAC_OUT
The CS5373A test DAC has a precision output (DAC_OUT) that is routed directly to the amplifier INB inputs. The input impedance of the CS3301A/02A INB amplifier inputs are high enough that the precision
output can be directly connected to the INB inputs.
2.2.4.2Buffered Output - DAC_BUF
The CS5373A test DAC has a buffered output (DAC_BUF) that is routed to the amplifier INA inputs. This
output is less sensitive to loading than the precision outputs, and can drive a sensor attached to the amplifier INA inputs provided the sensor meets the impedance requirements specified in the CS5373A data
sheet.
2.2.5Voltage Reference
A voltage reference on CRD5378 creates a precision voltage from the regulated analog supplies for the
modulator and test DAC VREF inputs. Because the voltage reference output is generated relative to the
negative analog power supply, VREF+ is near GND potential for bipolar power supplies.
Specification Value
Precision Reference - Linear Tech LT1019AIS8-2.5
Surface Mount Package Type SO-8
Output Voltage Tolerance +/- 0.05%
Temperature Drift 10 ppm / degC
Quiescent Current 0.65 mA
Output Voltage Noise, 10 Hz - 1 kHz 4 ppm
Ripple Rejection, 10 Hz - 200 Hz > 100 dB
RMS
18DS639RD2
CRD5378
2.2.5.1VREF_MOD
The voltage reference output is provided to the CS5373A ∆Σ modulato r and test DAC through a low-pass
RC filter. By filtering the voltage reference to the device, high-frequency noise is eliminated and any signal-dependent sampling of VREF is isolated. The voltage reference signal is routed as a separate differential pair from the large RC filter capacitor to control the sensitive VREF source-return currents and keep
them out of the ground plane. In addition to the RC filter function, the 68 uF filter capacitor provides a large
charge-well to help settle voltage reference sampling transients.
2.3Digital Hardware
2.3.1Digital Filter
The CS5378 digital filter performs filtering and decimation of the ∆Σ bit stream from the CS5373A modulator. It also creates a ∆Σ bit stream output to create analog test signals in the CS5373A test DAC.
The CS5378 requires several control signal inputs from the external system.
Configuration and data collection are through the SPI port.
SPI1 Signals Description
DRDYz Data ready output, active low
SCK Serial clock
MISO Master in / slave out serial data
MOSI Master out /slave in serial data
SS: EECSz Serial chip select, active low
Modulator ∆Σ data is input through the modula tor interface, and test DAC ∆Σ data is generated by the test
bit stream generator.
Modulator Signals Description
MCLK Modulator clock output
MSYNC Modulator synchronization output
MDATA Modulator delta-sigma data input
MFLAG Modulator over-range flag input
TBSDATA Test DAC delta-sigma data output
DS639RD219
CRD5378
Amplifier, modulator and test DAC pin settings are controlled through the GPIO port.
GPIO Signals Description
GPIO[0]:MUX[0] Amplifier input mux selection
GPIO[1..3]:MODE[0..2] Test DAC mode selection
GPIO[4..6]:GAIN[0..2] Amplifier gain / test DAC attenuation
GPIO[7]:MUX[1] Amplifier input mux selection
2.3.1.1Reset Options - BOOT, PLL
Immediately following the reset signal rising edge, the CS5378 digital filter latches the states of the
GPIO[4..6]:PLL[0..2] and GPIO7:BOOT pins. The reset states of the GPIO[4..6]:PLL[0..2] pins select the
master clock input frequency and type, while the reset state of the GPIO7:BOOT pin selects how the
CS5378 digital filter receives configuration data.
At reset, the CS5378 digital filter GPIO pins default as inputs with weak pull-up resistor s enable d. Therefore, if left floating, the GPIO state will read high upon reset.
The CRD5378 provides the option to connect the GPIO[4..6]:PLL[0..2] and GPIO7:BOOT pins to 10k Ω
pull-down resistors (R15, R41, and R42) so they will read low at reset. Because the pin states are latched
only during reset, GPIO pins can be programmed and used normally after reset without affecting the PLL
and BOOT selections.
Detailed information about the PLL input clock and BOOT mode selections at reset can be found in the
CS5378 data sheet.
2.3.1.2Configuration - SPI Port
On CRD5378, configuration of the digital filter is through the SPI port by the on-board 8051 microcontroller, which receives commands from the PC evaluation software via the USB interface. Evaluation software
commands can write/read digital filter registers, specify digital filter coefficients and start/sto p dig ital filter
operation.
By default the BOOT signal is set low to indicate configuration information is written by the microcontroller.
2.3.1.3Phase Locked Loop
To make synchronous analog measurements throughout a distributed system, a synchronous system
clock needs to be provided to each measurement node. For evaluation testing purposes, the CRD5378
can receive an external system clock by access through J1 and by non-population of R2, R3, R4, R60,
and R70. With this external clock, a synchronous local clock can be created using the CS5378 PLL. The
20DS639RD2
CRD5378
CS5378 PLL input frequency is specified at reset by the state of the GPIO[4..6]:PLL[0..2] pins, as detailed
in the CS5378 data sheet.
Specification Value
Input Clock Frequency 1.024, 2.048, 4.096 MHz
Distributed Clock Synchronization ± 240 ns
Maximum Input Clock Jitter, RMS 1 ns
Specification Value
PLL Internal Clock Frequency 32.768 MHz
Maximum Jitter, RMS 300 ps
Loop Filter Architecture Internal
If no external system clock is supplied to CRD5378, the CRD5378 can select a PLL input clock from a
local oscillator. Using a clock divider, the on-board oscillator produces 1.024 MHz, 2.048 MHz, 4.096 MHz
and 32.768 MHz clock outputs that can be applied to the CS5378 CLK input.
.
Specification Value
Oscillator - Citizen 32.768 MHz VCXO CSX750VBEL32.768MTR
Surface Mount Package Type Leadless 6-Pin, 5x7 mm
Supply Voltage, Current 3.3 V, 11 mA
Frequency Stability, Pullability ± 50 ppm, ± 90 ppm
Startup Time 4 ms
Specification Value
Clock Divider - TI LittleLogic D-Flop SN74LVC2G74DCTR
Surface Mount Package Type SSOP8-199
Supply Voltage, Current
3.3 V, 10 µA
DS639RD221
CRD5378
2.3.2 Microcontroller
Included on CRD5378 is an 8051-type microcontroller with integrated hardware SPI and USB interfaces.
This C8051F320 microcontroller is a product of Silicon Laboratories (http://www.silabs.com
of the C8051F320 microcontroller are:
• 8051 compatibility - uses industry standard 8051 software development tools
• In-circuit debugger - software development on the target hardware
• Internal memory - 16k flash ROM and 2k static RAM included on-chip
• Multiple serial connections - SPI, USB, I
• High performance - 25 MIPS maximum
• Low power - 0.6 mA @ 1 MHz w/o USB, 9 mA @ 12 MHz with USB
• Small size - 32 pin LQFP package, 9mm x 9mm
• Industrial temperature - full performance (including USB) from -40 C to +85 C
• Internal temperature sensor - with range violation interrupt capability
• Internal timers - four general purpose plus one extended capability
• Power on reset - can supply a reset signal to external devices
• Analog ADC - 10 bit, 200 ksps SAR with internal voltage reference
• Analog comparators - arbitrary high/low voltage compare with interrupt capability
2
C, and UART
). Key features
The exact use of the microcontroller features is controlled by embedded firmware.
C8051F320 has dedicated pins for power and the USB connection, plus 25 general purpose I/O pins th at
connect to the various internal resources through a programmable crossbar. Hardware connections on
CRD5378 limit how the blocks can operate, so the port mapping of microcontroller resources is detailed
below.
22DS639RD2
CRD5378
.
Pin # Pin Name Assignment Description
1 P0.1 SYNC SYNC signal output
2 P0.0 SYNC_IO SYNC signal inp ut from RS- 485
3 GND Ground
4 D+ USB differential data transceiver
5 D- USB differential data transceiver
6 VDD +3.3 V power supply input
7 RE GIN + 5 V power supply input
8 VBUS USB voltage sense input
Pin # Pin Name AssignmentDescription
9 /RST
C2CK
10 P3.0
C2D
11 P2.7 AIN- ADC input
12 P2.6 AIN+ ADC input
13 P2.5 GPIO General Purpose I/O (unused in CRD5378)
14 P2.4 MODE2 CS5373A mode control
15 P2.3 MODE1 CS5373A mode control
16 P2.2 MODE0 CS5373A mode control
RESETz Power on reset output, active low
Clock input for debug interface
GPIO General purpose I/O
Data in/out for debug interface
Pin # Pin Name AssignmentDescription
17 P2.1 GPIO General Purpose I/O (unused in CRD5378)
18 P2.0 GPIO General Purpose I/O (CS5378 RESETz)
19 P1.7 BYP_EN I2C bypass switch control
20 P1.6 SDA_DE I2C data driver enable
21 P1.5 SCL I2C clock in/out
22 P1.4 SDA I2C data in/out
23 P1.3 SS SPI chip select output, active low
24 P1.2 MOSI SPI master out / slave in
Pin # Pin Name AssignmentAssignment
25 P1.1 MISO SPI master in / slave out
26 P1.0 SCK SPI serial clock
27 P0.7 Internal VREF bypass capacitors
28 P0.6 DRDYz Data ready input, active low
29 P0.5 RX UART receiver
30 P0.4 TX UART transmitter
31 P0.3 4.096MHZ External clock input
32 P0.2 TIMEB Time Break output
DS639RD223
CRD5378
Many connections to the C8051F320 microcontroller are inactive by default, but are provided for convenience during custom reprogramming. Listed below are the default active connections to the microcontroller and how they are used.
2.3.2.1SPI Interface
The microcontroller SPI interface communicates with the CS5378 digital filter to write/read configuration
information and collect conversion data from the SPI port. Detailed information about interfacing to the
digital filter SPI port can be found in the CS5378 data sheet.
2.3.2.2USB Interface
The microcontroller USB interface communicates with the PC evaluation software to rece ive configuration
commands and return collected conversion data. The USB interface uses the Silicon Laboratories API
and Windows drivers, which are available free from the internet (http://www.silabs.com
2.3.2.3Reset Source
By default, the C8051F320 microcontroller receives its reset signal from the internal power-on reset. This
reset signal can be used to output to the CS5378 digital filter.
).
2.3.2.4Clock Source
By default, the C8051F320 microcontroller uses an internally generated 12 MHz clock for compatibility
with USB standards.
2.3.2.5Timebreak Signal
By default, the C8051F320 microcontroller sends the TIMEB signal to the digital filter for the first collected
sample of a data record. By default, 100 initial samples are skipped during data collection to ensure the
CS5378 digital filters are fully settled, and the timebreak signal is automatically set for the first ‘real’ collected sample.
2.3.2.6C2 Debug Interface
Through the PC evaluation software, the microcontroller default firmware can be automatically flashed to
the latest version without connecting an external programmer. To flash custom firmware, software tools
and an inexpensive hardware programmer that connects to the C2 Debug Interface on CRD5378 is available for purchase from Silicon Laboratories (DEBUGADPTR1-USB).
2.3.3RS-485 Telemetry
By default, CRD5378 communicates with the PC evaluation software through the microcontroller USB
port. Additional hardware is designed onto CRD5378 to use the microcontroller I
local telemetry, but it is provided for custom programming convenience only and is not directly supported
by the CRD5378 PC evaluation software or microcontroller firmware.
2
C port as a low-level
24DS639RD2
CRD5378
Telemetry signals enter CRD5378 through RS-485 transceivers, which are differential current mode
transceivers that can reliably drive long distance communication. Data passes through the RS-485 transceivers to the microcontroller I
Specification Value
RS-485 Transceiver - Linear Tech LTC1480IS8
Surface Mount Package Type SOIC-8, 5mm x 6mm
Supply Voltage, Quiescent Current
Maximum Data Rate 2.5 Mbps
Transmitter Delay, Receiver Delay 25 - 80 ns, 30 - 200 ns
Transmitter Current, Full Termination (60 Ω)
Transmitter Current, Half Termination (120 Ω)
2.3.3.1CLK, SYNC
Clock and synchronization telemetry signals into CRD5378 are received through RS-485 twisted pairs.
These signals are required to be distributed through the external system with minimal jitter and timing
skew, and so are normally driven through high-speed bus connections.
2
C interface and the clock and synchronization inputs.
3.3V, 600 µA
25 mA
13 mA
Specification Value
Synchronous Inputs, 2 wires each CLK±, SYNC±
Specification Value
Distributed SYNC Signal Synchronization ± 240 ns
Distributed Clock Synchronization ± 240 ns
Analog Sampling Synchronization Accuracy ± 480 ns
Synchronization of the measurement channel is critical to ensure simultaneous analog sampling across
a network. Several options are available for connecting a SYNC signal through the RS-485 telemetry to
the digital filter.
A direct connection is made when the SYNC_IO signal is received over the dedicat ed RS-485 twisted pair
and sent directly to the digital filter SYNC pin (with a 0 Ω resistor installed at R71). The incoming SYNC_IO
signal must be synchronized to the network at the transmitter since no local timing adjustment is a vailable.
A microcontroller hardware connection is made when the SYNC_IO signal is received over the dedicated
RS-485 twisted pair and detected by a microcontroller interrupt. The microcontroller can then use an internal counter to re-time the SYNC signal output to the digital filter SYNC input as required.
A microcontroller software connection is made when the SYNC signal output is created by the microcontroller on command from the system telemetry. The microcontroller can use an internal counter to re-time
the SYNC signal output to the digital filter SYNC input as required.
DS639RD225
2.3.3.2I2C - SCL, SDA, Bypass
CRD5378
The I2C® telemetry connections to CRD5378 transmit and receive through RS-485 twisted pairs. Because
signals passing through the transceivers are actively buffered, full I
2
C bus arbitration and error detection
cannot be used (i.e. high-impedance NACK).
2
The I
C inputs and outputs can be externally wired to create either a daisy chain or a bus type network,
depending how the telemetry system is to be implemented. Analog switches included on CRD5378 can
2
bypass the I
C signals to create a bus network from a daisy chain network following address assignment.
Specification Value
I2C Inputs, 2 wires each SCL±, SDA±
I2C Outputs, 2 wires each BYP_SCL±, BYP_SDA±
I2C Bypass Switch Control BYP_EN
When CRD5378 is used in a distributed measurement network, each node must have a unique add ress.
This address is used to transmit individual configuration commands and tag the source of returned conversion data. Address assignment can be either dynamic or static, depending how the telemetry system
is to be implemented.
Dynamic address assignment uses daisy-chained I
surement node. Once a node receives an address, it enables the I
so it can be assigned an address.
2
C connections to assign an address to each mea-
2
C bypass switches to the next node
Static address assignment has a serial number assigned to each node during manufacturing. When
placed in the network the location is recorded and a master list of serial numbers vs. location is maintained. Alternately, a location dependent serial number can be assigned during installation.
2.3.4UART Connection
A UART connection on CRD5378 provides a low-speed standardized connection for telemetry solutions
not using I
rectly supported by the CRD5378 PC evaluation software or microcontroller firmware.
2
C. UART connections are provided for custom programming convenience only and are not di-
Specification Value
UART Connections, 2 wires each TX/GND, RX/GND
26DS639RD2
CRD5378
2.3.5External Connector
Power supplies and telemetry signals route to J26, a 20-pin double row connector with 0 .1" spacing. This
header provides a compact standardized connection to the CRD5378 external signals.
Power is supplied to CRD5378 through the +3.3 V and -3.3 V voltage inputs on the external connector
(J26), which are typically from an external AC-DC or DC-DC converter. Digital circuitry on CRD5378 is
driven directly from the +3.3 V input, while on-board linear regulators create +2.5 V and - 2.5 V analog
power supplies from +3.3 V and -3.3 V.
The +3.3 V and -3.3 V power supply inputs have zener protection diodes that limit the maximum input voltages to +5 V or -5 V with respect to ground. Each input also has 68 uF bulk capacitance for bypassing
and to help settle transients and another 0.01 uF capacitor to bypass high frequency noise.
2.4.1Analog Voltage Regulators
Linear voltage regulators create the positive and negative analog power supply voltages to the analog
components on CRD5378. These regulate the +3.3 V and -3.3 V power supply inputs to create the +2.5 V
and -2.5 V analog power supplies.
Specification Value
Positive Analog Power Supply +2.5 V
Low Noise Micropower Regulator - Linear Tech LT1962ES8-2.5
Surface Mount Package Type MSOP-8
Load Regulation, -40 C to +85 C +/- 25 mV
Quiescent Current, Current @ 100 mA Load
Output Voltage Noise, 10 Hz - 100 kHz
30 µA, 2 mA
20 µV
RMS
Ripple Rejection, DC - 200 Hz > 60 dB
DS639RD227
CRD5378
Specification Value
Negative Analog Supply -2.5 V
Low Noise Micropower Regulator - Linear Tech LT1964ES5-BYP
Surface Mount Package Type SOT-23
Load Regulation, -40 C to +85 C +/- 30 mV
Quiescent Current, Current @ 100 mA Load
Output Voltage Noise, 10 Hz - 100 kHz
Ripple Rejection, DC - 200 Hz > 45 dB
The +2.5 V and -2.5 V power supplies to the analog components on CRD5378 include reverse biased
Schottky diodes to ground to protect against reverse voltages that could latch-up the CMOS analog components. Also included on +2.5 V and -2.5 V are 68 uF bulk capacitors for bypassing and to help settle
transients plus individual 0.1 uF bypass capacitors local to the power supply pins of each device.
2.5PCB Layout
2.5.1Layer Stack
30 µA, 1.3 mA
20 µV
RMS
CRD5378 layers 1 and 6 are dedicated as analog routing layers. All critical routes are on these two layers. Some microcontroller digital routes are also included on these layers away from the analog signal
routes.
CRD5378 layer 2 is a solid ground plane without splits or routing. A solid ground plane provides the best
return path for bypassed noise to leave the system. No separate analog ground is required since analog
signals on CRD5378 are differentially routed.
CRD5378 layer 3 is dedicated for power supply routing. Each power supply net includes at least 68 µF
bulk capacitance as a charge well for settling transient currents.
CRD5378 layer 4 is dedicated as a digital routing layer.
CRD5378 layer 5 is a solid ground plane without splits or routing. A solid ground plane provides the best
return path for bypassed noise to leave the system. No separate analog ground is required since analog
signals on CRD5378 are differentially routed.
2.5.2Differential Pairs
Analog signal routes on CRD5378 are differential with dedicated + and - traces. All source and return a nalog signal currents are constrained to the differential pair route and do not return through the ground
28DS639RD2
CRD5378
plane. Differential traces are routed together with a minimal gap between them so that noise events affect
them equally and are rejected as common mode noise.
INA-
INA-
INA+
INA+
Figure 2. Differential Pair Routing
Analog signal connections into the CS3301A/02A amplifiers are 2-wire IN+ and IN- differential pairs, and
are routed as such. Analog signal connections out of the CS3301A/02A amplifiers and into the CS5372
modulators are 4-wire INR+, INF+, INF-, INR- quad groups, and are routed with INF+ and INF- as a traditional differential pair and INR+ and INR- as guard traces outside the respective INF+ and INF- traces.
INR+
INF+
INF-
INR-
INR+
INF+
INF-
INR-
Figure 3. Quad Group Routing
DS639RD229
CRD5378
2.5.3Bypass Capacitors
Each device power supply pin includes 0.1 µF bypass capacitors placed as close as possible to the pin.
Each power supply net includes at least 68 µF bulk capacitance as a charge well for transient current
loads.
CS3302A
Device
VD
Bypass
VA- bypass
Figure 4. Bypass Capacitor Placement
VA+ bypass
30DS639RD2
CRD5378
3. SOFTWARE DESCRIPTION
3.1Menu Bar
The menu bar is always present at the top of the software panels and provides typical File and Help pulldown menus. The menu bar also selects the currently displayed panel.
ControlDescription
File
Load Data SetLoads a data set from disk.
Save Data SetSaves the current data set to disk.
Copy Panel to ClipboardCopies a bitmap of the current panel to the clipboard.
Print Analysis ScreenPrints the full Analysis panel, including statistics fields.
Print Analysis GraphPrints only the graph from the Analysis panel.
High Resolution PrintingPrints using the higher resolution of the printer.
Low Resolution PrintingPrints using the standard resolution of the screen.
QuitExits the application software.
Setup!Displays the Setup Panel.
Analysis!Displays the Analysis Panel.
Control!Displays the Control Panel.
DataCapture!Displays the Setup Panel and starts Data Capture.
Help
ContentsFind help by topic.
Search for help onFind help by keywords.
AboutDisplays the About Panel.
DS639RD231
3.2About Panel
CRD5378
The About panel displays copyright information for the Cirrus Seismic Evaluation software.
Ö
Click OK to exit this panel. Select Help
32DS639RD2
About from the menu bar to display this panel.
3.3Setup Panel
CRD5378
The Setup panel initializes the evaluation system to perform data acquisition. It consists of the following
sub-panels and controls.
• USB Port
• Digital Filter
• Analog Front End
• Test Bit Stream
• Gain/Offset
• Data Capture
• External Macros
DS639RD233
CRD5378
3.3.1USB Port
The USB Port sub-panel sets up the USB communication interface between the PC and the target board.
ControlDescription
Open TargetOpen USB communication to the target board and read the board name and micro-
controller firmware version. When communication is established, the name of this
control changes to ‘Close Target’ and Setup, Analysis and Control panel access
becomes available in the menu bar.
Close TargetDisconnects the previously established USB connection. On disconnection, this con-
trol changes to ‘Open Target’ and the Setup, Analysis and Control panel access
becomes unavailable in the menu bar. The evaluation software constantly monitors
the USB connection status and automatically disconnect s if the target board is turned
off or the USB cable is unplugged.
Board NameDisplays the type of target board currently connected.
MCU code versionDisplays the version number of the microcontroller code on the connected target
board.
Reset TargetSends a software reset command to the target board.
Flash MCUPrograms the microcontroller code on the target board using the .thx file found in the
“C:\Program Files\Cirrus Seismic Evaluation” directory. This feature permits reprogramming of the microcontroller (without using a hardware programmer ) when a new
version of the MCU code becomes available.
34DS639RD2
CRD5378
3.3.2Digital Filter
The Digital Filter sub-panel sets up the digital filter configuration options.
By default the Digital Filter sub-panel configures the system to use on-chip coefficients and test bit
stream data. The on-chip data can be overwritten by loading custom coefficients and test bit stream da ta
from the Customize sub-panel on the Control panel.
Any changes made under this sub-panel will not be applied to the target board until the Configure button
is pushed. The Configure button writes the new configuration to the target board and then enables the
data Capture button.
ControlDescription
Channel SetSelects the number of channels that are enabled in the digital filter. For the CS5378
digital filter, only 1 can be enabled.
Output RateSelects the output word rate of the digital filter. Output word rates from 4000 SPS to
1 SPS (0.25 mS to 1 S) are available.
Output FilterSelects the output filter stage from the digital filter. Sinc output, FIR1 output, FIR2
output, IIR 1st order output, IIR 2nd order output, or IIR 3rd order output can be
selected. FIR2 output provides full decimation of the modulator data.
FIR CoeffSelects the on-chip FIR coefficient set to use in the digital filter. Linear phase or min-
imum phase FIR coefficients can be selected.
IIR CoeffSelects the on-chip IIR coefficient set to use in the digital filter. Coefficient sets pro-
ducing a 3 Hz high-pass corner at 2000 SPS, 1000 SPS, 500 SPS, 333 SPS, and
250 SPS can be selected.
Filter ClockSets the digital filter internal clock rate. Lower internal clock rates can save power
when using slow output word rates.
MCLK RateSets the analog sample clock rate. The CS5373A modulator and test DAC typically
run with MCLK set to 2.048 MHz.
ConfigureWrites all information from the Setup panel to the digital filter. The data Capture but-
ton becomes available once the configuration information is written to the target
board.
DS639RD235
CRD5378
3.3.3Analog Front End
The Analog Front End sub-panel configures the amplifier, modulator, and test DAC pin options. Pin options are controlled through the GPIO outputs of the digital filter.
Any changes made under this sub-panel will not be applied to the target board until the Configure button
is pushed. The Configure button writes the new configuration to the target board and then enables the
data Capture button.
ControlDescription
Amp MuxSelects the input source for the CS3301A/02A amplifiers. An internal termination,
external INA inputs or external INB inputs can be selected.
DAC ModeSelects the operational mode of the CS5373A test DAC. The test DAC operational
modes are AC dual output (OUT&BUF), AC precision output (OUT only), AC buffered
output (BUF only), DC common mode output (DC Common), DC differential output
(DC Diff), or AC common mode output (AC Common). The test DAC can also be
powered down (PWDN) when not in use to save power.
GainSets the amplifier gain range and test DAC attenuation. Amplifier gain and DAC
attenuation settings of 1x, 2x, 4x, 8x, 16x, 32x, or 64x can be selected and are controlled together.
SwSelects how the DAC_BUF to INA analog switches are enabled when connected to
the CRD5376. This control is not applicable to the CRD5378 and is disabled.
3.3.4Test Bit Stream
The Test Bit Stream sub-panel configures test bit stream (TBS) generator parameters. The digital filter
data sheet describes TBS operation and options.
The DAC Quick Set controls automatically set the Interpolation, Clock Rate, and Gain Factor controls
based on the selected Mode, Freq, and Gain. Additional configurations can be programmed by writing theInterpolation, Clock Rate, and Gain Factor controls manually.
Any changes made under this sub-panel will not be applied to the target board until the Configure button
is pushed. The Configure button writes the new configuration to the target board and then enables the
data Capture button.
ControlDescription
DAC Quick SetAutomatically sets test b it stream options. Mode selects sine or impulse output mode,
Freq selects the test signal frequency for sine mode, an d Gain se lec t s the test sig nal
amplitude in dB.
InterpolationManual control for the data interpolation factor of the test bit stream generator.
Clock RateManual control for the output clock and data rate of the test bit stream generator.
Gain FactorManual control to set the test bit stream signal amplitude.
SyncEnables test bit stream synchronization by the MSYNC signal.
LoopbackEnables digital loopback from the test bit stream generator output to the digital filter
input.
36DS639RD2
CRD5378
3.3.5Gain/Offset
The Gain / Offset sub-panel controls the digital filter GAIN and OFFSET registers for each channel.
The OFFSET and GAIN registers can be manually written with any 24-bit 2’s complement value from
0x800000 to 0x7FFFFF. The USEGR, USEOR, ORCAL, and EXP[4:0] values enable gain correction, offset correction, and offset calibration in the digital filter.
The offset calibration routine built into the digital filter is enabled by writing the ORCAL and EXP[4:0] bits.
The EXP[4:0] value can range from 0x00 to 0x18 and represents an exponential shift of the calibration
feedback, as described in the digital filter data sheet. Offset calibration results are automatically written to
the OFFSET registers and remain there, even after offset calibration is disabled.
ControlDescription
GainDisplays the digital filter GAIN1 to GAIN4 registers.
OffsetDisplays the digital filter OFFSET1 to OFFSET4 registers.
ReadReads values from the GAIN and OFFSET registers.
WriteW rites values to the GAIN and OFFSET registers.
USEGREnables gain correction. When enabled, output samples are gained down by the
value in the GAIN register.(Output = GAIN / 0x7FFFFF).
USEOREnables offset correction. When enabled, output samples are offset by the value in
the OFFSET register. (Output = Sample - OFFSET).
ORCALEnables offset calibration using the exponent value from the EXP[4:0] control.
Results are automatically written to the OFFSET registers as they are calculated.
EXP[4:0]Sets the exponential value used by offset calibration.
DS639RD237
CRD5378
3.3.6Data Capture
The Data Capture sub-panel collects samples from the target board and sets analysis parameters.
When the Capture button is pressed, the requested number of samples are collected from the target board
through the USB port. The maximum number of samples that can be collected is 1,048,576 (1M). The
number of samples per channel should be a power of two for the analysis FFT routines to work properly.
After data is collected, analysis is performed using the selected parameters and the re sults are disp layed
on the Analysis panel. The selected analysis window, bandwidt h limit, full scale code, and full scale volt-age parameters can be modified for the data set currently in memory and the analysis re-run by pressing
the REFRESH button on the Analysis Panel.
ControlDescription
Total SamplesSets the total number of samples to be collected. Multichannel acquisitions split the
requested number of samples among the channels. A maximum of 1,048,576 (1M)
samples can be collected.
WindowSelects the type of analysis windowing function to be applied to the collected data
set. Used to ensure proper analysis of discontinuous data sets.
Bandwidth Limit (Hz) Sets the frequency range over which to perform analysis, used to exclude higher-fre-
quency components. Default value of zero performs analysis for the full Nyquist frequency range.
Full Scale CodeDefines the maximum positive full-scale 24-bit code from the digital filter. Used during
FFT noise analysis to set the 0 dB reference level.
Full Scale VoltageDefines the maximum peak-to-peak input voltage for the nV/√Hz
sis.
Total CapturesSets the number of data sets to be collected and averaged together in the FFT mag-
nitude domain. The maximum number of data sets that can be averaged is 100.
CaptureStarts data collection from the target board through the USB port. After data collec-
tion, analysis is run using parameters from this sub-panel.
Remaining CapturesIndicates how many more data captures are remaining to complete the requested
number of Total Captures. A zero value means that the current data capture is the
last one.
Skip SamplesSets the total number of sam ples to be s kip pe d pr ior to data collection. A maximum
of 64K samples can be skipped
Spot Noise analy-
38DS639RD2
CRD5378
3.3.7External Macros
Macros are generated within the Macros sub-panel on the Control panel. Once a macro has been built
it can either be saved with a unique macro name to be run within the Macros sub-panel, or saved as an
external macro and be associated with one of the External Macro buttons.
A macro is saved as an External Macro by saving it in the . /macros/ subdirectory using the name
‘m1.mac’, ‘m2.mac’, etc. Depending on the selected name the macro will be associated with the corresponding External Macro button M1, M2, etc.
• M1 = . /macros/m1.mac
• M2 = . /macros/m2.mac
•etc.
External Macro buttons can be re-named on the panel by right clicking on them. The button name will
change, but the macro associated with that button is always saved as ‘m1.mac’, ‘m2.mac’, etc., in the
./macros/ subdirectory. The External Macro button names are stored in the file ‘Mnames.txt’, also in the
./macros/ subdirectory.
External Macros allow up to eight macros to be accessed quickly without having to load them into the Mac-
ros sub-panel on the Control panel. These External Macros operate independently of the Macros subpanel and are not affected by operations within it, except when a macro is saved to the ./macros/ subdi-
rectory to replace a currently existing External Macro.
ControlDescription
M1 - M8Runs the External Macro associated with that button.
DS639RD239
3.4Analysis Panel
CRD5378
The Analysis panel is used to display the analysis results on collected data. It consists of the following
controls.
• Test Select
• Statistics
• Plot Enable
• Cursor
• Zoom
• Refresh
• Harmonics
• Spot Noise
• Plot Error
40DS639RD2
CRD5378
3.4.1Test Select
The Test Select control sets the type of analysis to be run on the collected data set.
ControlDescription
Time DomainRuns a min / max calculation on the collected data set and then plots sample data
value vs. sample number.
HistogramRuns a histogram calculation on the collected data set and then plot s sample occur-
rence vs. sample value. Only valid for noise data since sine wave data varies over
too many codes to plot as a histogram.
Signal FFTRuns an FFT on the collected data set and then plots frequency magnitude vs. fre-
quency . Statistics are calculated using the largest frequency bin as a full-scale signal
reference.
Noise FFTRuns an FFT on the collected data set and then plots frequency magnitude vs. fre-
quency . Statistics are calculated using a simulated full-scale signal as a full-scale signal reference.
DS639RD241
CRD5378
3.4.2Statistics
The Statistics control displays calculated statistics for the selected analysis channel. For multichannel
data captures, only one channel of calculated statistics are displayed at a time and is selected using the
Statistics channel control.
Errors that affect statistical calculations will cause the Plot Error control to appear. Information about errors on specific channels can be accessed by enabling the plot of the channel using t he Plot Enable control and then accessing the Plot Error controls.
ControlDescription
Time Domain
MaxMaximum code of collected data set.
MinMinimum code of collected data set.
Histogram
MaxMaximum code of collected data set.
MinMinimum code of collected data set.
MeanMean of collected data set.
Std D evStandard Deviation of collected data set.
VarianceVariance of collected data set.
Signal FFT
S/NSignal to Noise of calculated FFT.
S/PNSignal to Peak Noise of calculated FFT.
S/DSignal to Distortion of calculated FFT.
S/N+DSignal to Noise plus Distortion of calculated FFT.
# of binsNumber of Bins covering the Nyquist frequency.
Noise FFT
S/NSignal to Noise of calculated FFT.
S/PNSignal to Peak Noise of calculated FFT.
Spot Noise dBSpot Noise in dB/√Hz
Spot Noise nVSpot Noise in nV/√Hz
# of binsNumber of Bins covering the Nyquist frequency.
of calculated FFT.
of calculated FFT.
3.4.3Cursor
The Cursor control is used to identify a point on the graph using the mouse and then display its plot values.
When any point within the plot area of the graph is clicked, the Cursor will snap to the closest plotted point
and the plot values for that point display below the graph.
42DS639RD2
CRD5378
When using the Zoom function, the Cursor is used to select the corners of the area to zoom.
3.4.4Zoom
The ZOOM function allows an area on the graph to be expanded.
To use the zoom function, click the ZOOM button and select the box corners of the area on the graph to
expand. The graph will then expand to show the details of this area, and the plot axes will be re-scaled.
While zoomed, you can zoom in farther by repeating the process.
To restore the graph to its original scale, click the RESTORE button that appears while zoomed. If multiple
zooms have been initiated, the RESTORE button will return to the previo usly viewed plot scale. Repeated
RESTORE will eventually return to the original plot scale. From within multiple zooms the original scale
can be directly restored by clicking the REFRESH button.
3.4.5Refresh
The REFRESH button will clear and re-plot the current data set. Refresh can be used to apply new anal-
ysis parameters from the Data Capture sub-panel, or to restore a ZOOM graph to its default plot scale.
3.4.6Harmonics
The HARMONICS control is only visible during a Signal FFT analysis and highligh ts the fundamental and
harmonic bins used to calculate the Signal FFT statistics. HARMONICS highlighting helps to understand
the source of any Signal FFT plot errors.
3.4.7Spot Noise
The Spot Noise control (lab eled dB or nV) is only visible during a Noise FFT analysis a nd selects the units
used for plotting the graph, either dB/√Hz
from the Data Capture sub-panel on the Setup panel to determine the 0 dB point of the dB axis. The
nV/√Hz
determine the absolute scaling of the nV axis.
plot applies the Full Scale Voltage value from the Data Capture sub-panel on the Setup panel to
or nV/√Hz. The dB/Hz plot applies the Full Scale Code value
3.4.8Plot Error
The PLOT ERROR control provides information about errors that occurred during an analysis. Analysis
errors are only reported if the channel that has the error is currently plotted.
An analysis error stores an error code in the numerical display box of the PLOT ERROR control. If more
than one error occurs, all error codes are stored and the last error code is displayed. Any o f the accumulated error codes can be displayed by clicking on the numerical box and selecting it.
Once an error code is displayed in the numerical box, a description can be displayed by clicking the PLOTERROR button. This causes a dialog box to display showing the error number, the error channel, and a
text error message.
DS639RD243
3.5Control Panel
CRD5378
The Control panel is used to write and read register settings and to send commands to the digital filter.
It consists of the following sub-panels and controls.
• DF Registers
• DF Commands
• SPI1
• Macros
•GPIO
• Customize
• External Macros
44DS639RD2
CRD5378
3.5.1DF Registers
The DF Registers sub-panel writes and reads registers within the digital filter. Digital filter registers control operation of the digital filter and the included hardware peripherals, as described in the digital filter
data sheet.
ControlDescription
AddressSelects a digital filter register.
DataContains the data written to or read from the register.
ReadInitiates a register read.
WriteInitiates a register write.
3.5.2DF Commands
The DF Commands sub-panel sends commands to the digital filter. The digital filter commands and their
required parameters are described in the digital filter data sheet.
Not all commands require write data values, and not all commands will return read data values. Some
commands require formatted data files for uploading custom coefficients or test bit stream data Example
formatted data files are included in the SPI sub-directory of the software installation.
ControlDescription
CommandSelects the command to be written to the digital filter.
Write Data 1Contains the SPI1DAT1 data to be written to the digital filter.
Write Data 2Contains the SPI1DAT2 data to be written to the digital filter.
Read Data 1Contains the SPI1DAT1 data read from the digital filter.
Read Data 2Contains the SPI1DAT2 data read from the digital filter.
SendInitiates the digital filter command.
3.5.3SPI
The SPI sub-panel writes and reads registers in the digital filter SPI register space. They can be used to
check the SPI serial port status bits or to manually write commands to the digital filter.
ControlDescription
Start AddressSelects the address to begin the SPI transaction.
Data Word 1Contains the first data word written to or read from the SPI registers.
Data Word 2Contains the second data word written to or read from the SPI registers.
Data Word 3Contains the third data word written to or read from the SPI registers.
Read 1 WordInitiates a 1 word SPI read transaction.
Read 3 WordsInitiates a 3 word SPI read transaction.
Write 1 WordInitiates a 1 word SPI write transaction.
Write 3 WordsInitiates a 3 word SPI write transaction.
DS639RD245
CRD5378
3.5.4Macros
The Macros sub-panel is designed to write a large number of registers with a single command. This allows the target evaluation system to be quickly set into a specific state for testing.
The Register control gives access to both digital filter registers and SPI1 registers. These registers can
be written with data from the Data control, or data can be read and output to a text window. The Register
control can also select special commands to be executed, with the Data control used to define a parameter value for the special command, if necessary.
ControlDescription
Write / ReadSelects the type of operation to be performed by the inserted macro command.
RegisterSelects the target register for the inserted macro command. Also selects special
commands that can be performed.
DataSets the register data value for the inserted macro command. Also sets the parame-
ter value for special commands.
ClearClears the currently displayed macro.
LoadLoads a previously saved macro.
SaveSaves the currently displayed macro. Macros can be saved with unique names or
can be saved as External Macros.
InsertInserts a macro command at the selected macro line. The macro command is built
from the Write/Read, Register, and Data controls.
DeleteDeletes the macro command at the selected macro line.
Macro1 - Macro4Selects which of the four working macros is displayed.
RunRuns the currently displayed working macro.
3.5.5GPIO
The GPIO sub-panel controls the digital filter GPIO pin configurations. GPIO pins have dedicated functions on the target board, but can be used in any manner for custom designs.
ControlDescription
DirectionSets the selected GPIO pin as an output (*) or input ( ).
Pull UpTurns the pull up resistor for the selected GPIO pin on (*) or off ( ).
DataSets the selected output GPIO pin to a hig h (*) or low ( ) level.
WriteInitiates a write to GPIO registers.The Direction, Pull Up and Data controls are read
to determine the register values to be written.
ReadInitiates a read from GPIO registers.The Direction, Pull Up and Data controls are
updated based on the register values that are read.
46DS639RD2
CRD5378
3.5.6Customize
The Customize sub-panel sends commands to upload custom FIR and IIR filter coefficients, upload custom test bit stream data, start the digital filter, stop the digital filter, and write/read custom EEPROM configuration files to the on-board boot EEPROM. Example data files are included in a sub-directory of the
software installation.
ControlDescription
Load FIR CoefWrite a set of FIR coefficients into the digital filter from a file.
Load IIR CoefWrite a set of IIR coefficients into the digital filter from a file.
Load TBS DataWrite a set of test bit stream data into the digital filter from a file.
Start FilterEnables the digital filter by sending the Start Filter command.
Stop FilterDisables the digital filter by sending the Stop Filter command.
3.5.7External Macros
Macros are generated within the Macros sub-panel on the Control panel. Once a macro has been built
it can either be saved with a unique macro name to be run within the Macros sub-panel, or saved as an
external macro and be associated with one of the External Macro buttons.
A macro is saved as an External Macro by saving it in the ./macros/ subdirectory using the name‘m1.mac’, ‘m2.mac’, etc. Depending on the selected name the macro will be associated with the corresponding External Macro button M1, M2, etc.
• M1 = . /macros/m1.mac
• M2 = . /macros/m2.mac
•etc.
External Macro buttons can be re-named on the panel by right clicking on them. The button name will
change, but the macro associated with that button is always saved as ‘m1.mac’, ‘m2.mac’, etc., in the
./macros/ subdirectory. The External Macro button names are stored in the file ‘Mnames.txt’, also in the
./macros/ subdirectory.
External Macros allow up to eight macros to be accessed quickly without having to load them into the Mac-
ros sub-panel on the Control panel. These External Macros operate independently of the Macros subpanel and are not affected by operations within it, except when a macro is saved to the ./macros/ subdi-
rectory to replace a currently existing External Macro.
ControlDescription
M1 - M8Runs the External Macro associated with that button.