Crystal CDB5400 User Manual

CDB5460
CDB5460 Evaluation Board and Software

Features

lDirect Shunt Sensor and Current
Transformer Interface
lRS-232 Serial Communication with PC lOn-board 80C51 Microco nt r oller lOn-board Voltage Reference lLab Windows/CVI
-Register Setup & Chip Control
-FFT Analysis
-Time Domain Analysis
-Noise Histogram Analysis
lOn-board Data SRAM lIntegrated RS-232 Test Mode
VIN+
TM
Evaluation Software
AGND
CRYSTAL
4.096 MHz

General Description

The CDB5460 is an inexpensive tool des igned to eval u­ate the functionality and performance of the CS5460. The CS5460 Data Sheet is required in conjunction with the CDB5460 evaluation board.
The evaluation board includes an LT1019 v oltage r efer­ence, an 80C51 microcontroller, an RS 232 transceiver, and firmware. The 8051 controls the ser ial communica­tion between the evaluation board and the PC via the firmware, enabling quick and easy acces s to all of the
CS5460’s registers and functions . The CDB5460 includes software for Data Capture, Time
Domain Analysis, Histogram Analysis, and Frequency Domain Analysis.

ORDERING INFORMATION

CDB5460 Evaluation Board
DGND
TEST
SWITCHES
VD+
Vu+VA-VA+
CRYSTAL
20.0 MHz RESET
CIRCUITRY
VIN-
IIN+
IIN-
REF
AGND
CS5460
VOLTAGE
REFERENCE
EOUT
VREF
Preliminary Product Information
P.O. Box 17847, Austin, Texas 78760 (512) 445 7222 FAX: (512) 445 7581 http://www.crystal.com
CS
SDI
SDO
SCLK
INT
EDIR
OUTIN
32k × 8
SRAM
80C51
Microcontroller
This document contains information for a new product. Cirrus Logic reserves the right to modify this product without notice.
Copyright  Cirrus Logic, Inc. 1999
(All Rights Reserved)
RS232 TRANS­CEIVER
CONNECTOR
LEDs
RS232
MAR ‘99
DS279DB1
1

TABLE OF CONTENTS

PART I: HARDWARE ..........................................................................................3
Introduction .............. ................................................................. .................. 3
Evaluation Board Overview ........................................................................ 3
Analog Section .....................................................................................3
Digital Section ...................................................................................... 3
Power Supply Section ..........................................................................9
Using the Evaluation Board ........................................................................ 9
PART II: SOFTWARE ........................................................................................ 10
Installation Procedure ............................................................................... 10
Using the Software ...................................................................................10
Selecting and Testing a COM Port ........................................................... 11
Register Access in the Setup Window ......................... ...... ....... ................11
Conversion Window .................................................................................. 12
Viewing Pulse Rate Output Data .............................................................. 13
Data Collection Window Overview ............................................................ 13
Config Window .......................................................................................... 14
Collecting Data Sets ....................................... ...... ....... ...... ....... ................14
Retrieving Saved Data From a File ........................................................... 15
Analyzing Data .......................................................................................... 15
Histogram Information ..............................................................................15
Frequency Domain Information ................................................................15
Time Domain Information .........................................................................16
PCB LAYOUT ....................................................................................................20
CDB5460
Contacting Cirrus Logic Support
For a complete listing of Direct Sales, Distributor, and Sales Representative contacts, visit the Cirrus Logic web site at:
http://www.cirrus.com/corporate/contacts/
IBM, AT and PS/2 are trademarks of International Business Machines Corporation. Windows is a trademark of Microsoft Corporation. Lab Windows and CVI are trademarks of National Instruments.
TM
SPI
is a trademark of Motorola.
TM
Microwire Preliminary product info rmation describes products which are i n p r od ucti on, b ut for which full characterizat i on da t a i s not yet available. Advance product i nfor-
mation describes products which are in development and subject to development changes. Cirrus Logic, Inc. has made best efforts to ensure that the information contained in this document is accurate and reli able. However , the i nformati on is sub ject to change with out no tice and i s provi ded “AS IS” withou t warranty of
any kind (express or implied). No responsibility is assumed by Cirrus Logic, Inc. for the use of this information, nor for infringements of patents or other rig ht s of third parties. This document i s the propert y of Cirru s Logic, Inc. and implie s no licen se under patent s, copyri ghts, trademarks, or tr ade secrets. No part of this publication may be copied, reproduced , stored in a retrieval system, or transmitted, in any form or by any means (electronic, mechanical, photographic, or otherwise) without the pri or wri tt en consen t of Ci rrus Logic, Inc. Items from any Cirrus Logic websi t e or di sk may be pri nted for use by the user. However, no part of the printout or electronic files may be copied, reproduced, stored in a retrieval system, or transmitted, in any form or by any means (electronic, mechanical, photographic, or otherwise) without the prior written consent of Cirrus Logic, Inc.Furthermore, no part of this publication may be used as a basis for manufacture or sale of any items without the prior written consent of Cirrus Logic, Inc. The names of products of Cirrus Logic, Inc. or other vendors and suppliers appearing in this document may be trademarks or service marks of their respective owners which may be registered in some jurisdictions. A list of Cirrus Logic, Inc. trade­marks and service marks can be found at http://www.cirrus.com.
2 DS279DB1
is a trademark of National Semiconductor.
CDB5460
PART I: HARDWARE Introduction
The CDB5460 evaluation board provides a quick means of evaluating the CS5460 Analog-to-Digital Converters (ADCs) and Computational Unit. The
CDB5460 evaluation board’s analog section oper­ates from either a single +5 V or dual ±2.5 V power
supply. The evaluation board interfaces the CS5460 to an IBMTM compatible PC via an RS­232 interface. To accomplish this, the board comes equipped with an 80C51 microcontroller and a 9­pin RS-232 cable which physically interfaces the evaluation board to the PC. Additionally, analysis software provides easy access to the internal regis­ters of the CS5460, and provides a means to display the performance in the time domain or frequency domain.

Evaluation Board Overview

The 3 dB corner of the filter is approximately 50K Hz differential and common mode.
The evaluation board provides three voltage refer­ence options, on-chip, on-board and external, as shown in Figure 2. Table 1 illustrates the options available. With HDR4’s jumpers in position RE­FOUT, the on-chip reference provides 2.5 volts. With HDR4’s jumpers in position LT1019, the LT1019 provides 2.5 volts (the LT1019 was chosen for its low drift, typically 5ppm/°C). By setting HDR4’s jumpers to position REF+, the user can supply an external voltage reference to J2’s REF+ and VA- inputs. Application Note 4 on the web (http://www.cirrus.com/products//pubs.html) de­tails various voltage references.
Reference Description HDR4
LT1019
Selects on board
LT1019 Reference
(5ppm/
°C)
O O LT1019 O O REF+ O O REFOUT
The board is partitioned into two main sections: an­alog and digital. The analog section consists of the CS5460 and a precision voltage reference. The dig­ital section consists of the 80C51 microcontroller, 32 Kilobytes of SRAM, the hardware test switches, the reset circuitry, and the RS-232 interface. The board also has a user friendly power supply con­nection.

Analog Section

The CS5460 is designed to accurately measure and calculate: Energy, Instantaneous Power, I V
while operating from a 4.096 MHz crystal.
RMS
As shown in Figure 1 there are four BNC connec­tors (J9, J10, J11, J12) provided for converter input connections. A Shunt Sensor or Current Trans-
former can be connected to the conver ter’s curr ent inputs via J10 (IIN+) and J9 (IIN-). A voltage di­vider can be connected to the converter’s voltage input via J12 (VIN+) and (J11) (VIN-). Note, a simple RC network filters the sensor’s output to re­duce any interference picked up by the input leads.
RMS
, and
REF+
REFOUT
Selects external
reference
Selects the reference
supplied by CS5460
Table 1. Reference Selection
O O LT1019 O O REF+ O O REFOUT
O O LT1019 O O REF+ O O REFOUT
The CS5460 serial interfaces are SPITM and Mi­crowireTM compatible. The interface control lines
(CS, SDI, SDO, and SCLK) are connected to the 80C51 microcontroller via port one. To interface an external microcontroller, these control lines are also connected to HDR6 (Header 6). However to accomplish this, the evaluation board must be mod­ified in one of three ways: 1) cut the interface con­trol traces going to the microcontroller, 2) remove resistors R4, R7, R8, and R13, or 3) remove the mi­crocontroller.

Digital Section

Figures 3 and 4 illustrate the schematic of the digi­tal section. It contains the microcontroller, test
DS279DB1 3
4 DS279DB1
HDR2X2
TP34
TP35
TP39
TP40
AGND
AGND
AGND
AGND
HDR1
12 34
HDR2X2
HDR2
21 43
HDR2X2
HDR8
21 43
HDR2X2
HDR9
12 34
AGND
AGND
AGND
AGND
C32
.01UF COG
C33
.01UF COG
C34
.01UF COG
C35
.01UF COG
VIN+
VIN-
IIN+
IIN-
AGND
J12
BNC_RA
J11
BNC_RA
J10
BNC_RA
J9
BNC_RA
R17 301
R18 301
0.1%
0.1%
301R25
0.1%
301R26
0.1%
C2 4700PF COG
C3 4700PF COG
D+
C30 10UF
DGND
XOUT
C15 .1UF
CPUCLK
VREFOUT
VREFIN
4.0960MHZ
C38
10PF COG
DGND
XOUT
SCLK
SDO /CS
VIN+ VIN-
Y2
U3
1
TP135
TP145 TP147
TP153 TP155 TP157
TP134 TP136TP137 TP138TP139 TP140TP141 TP142TP143 TP144 TP146 TP148TP149 TP150TP151 TP152 TP154 TP156
2 3 4 5 6 7 8 9 10 11
XOUT CPUCLK VD+ DGND SCLK SDO /CS NC VIN+ VIN­VREFOUT
/EDIR /EOUT
/INT
/RESET
PFMON
IIN+ IIN-
AGNDVREFIN
CS5460_EP
XIN
C39
10PF COG
HDR2X2
HDR10
21 43
DGND
CPUCLK
/CS SDI SDO
SCLK
/INT /EDIR /EOUT
/RESET
DGND
Figure 1. Analog Schematic Part 1
XIN SDI
VA+
24
TP111
23
TP113
22
TP115
21
TP117
20
TP119
19
TP121
18
NC
17 16
TP127
15
TP129 14 1312
TP133
HDR11X2
HDR6
TP110
XIN
TP112
SDI
TP114
/EDIR
TP116
/EOUT
TP118
/INT
TP120
/RESET
TP122TP123 TP124TP125
PFMON
TP126
IIN+
TP128
IIN-
TP130TP131 TP132
C14 .1UF
21
XTAL1
43 65 87 109 1211 1413 1615 1817 2019 2221
DCLK
DGND
PFMON
VA+
C29 10UF
A-
JP2
VA+
AGND
R19 10K
R28 15K
CDB5460
DS279DB1 5
VA+
2
C20 .1UF
A- A-
J2
REF+
A-
1
2
TERM_BLOCK
D+
10K
URESET /RESET
U4
LT1019CN8_2P5
OUTIN
TRIM
HTR
TEMP
GND
4
A-
R21 301
0.1%
A-
DGND
UCS
R12
USDI USCLK UDCLK
DGND
6
5 7 3
R31
U9
1 19
2 3 4 5 6 7 8 9
/G1 /G2
A1 A2 A3 A4 A5 A6 A7 A8
VCC
GND
TC74VHC541FW
R30 10K
Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8
R24
10K
49.9
A-
C1 .1UF
A- A-
20
18
/CS
17
SDI
16
SCLK
15
DCLK
14 13 12 11
10
DGND
VREFOUT
.1UF
DGND
C44
C16 .1UF
HDR3X2
HDR4
21 43
VREFIN
65
C40 .1UF
D+
1
1/G
2
SDO
/INT /EDIR /EOUT
XTAL1
1A1
4
1A2
6
1A3
8
1A4
19
2/G
11
2A1
13
2A2
15
2A3
17
2A4
SN74HCT244N
DGND
Figure 2. Analog Schematic Part 2
U8
VCC 1Y1
1Y2 1Y3 1Y4
2Y1 2Y2 2Y3 2Y4
GND
20
18 16 14 12
10
USDO UINT UEDIR UEOUT
JP1
9 7 5 3
UXTAL1
DGND
VDDD
C41
.1UF
CDB5460
DGND
6 DS279DB1
20.000 MHZ Y1
VDDD
URESET
1N4148
R9
R29
BYPASS CAP
D4
750K
DGND
200
C18
.1UF
JP4
NRST
SN74HC00N
SW_B3W_1100
DGND
RESET
S2
C19 .1UF
1 2
U2
VCC
GND
VDDD
DGND
DGND
TP33
TP32
TP31
TP30
TP11
TP10
TP9
TP8
UXTAL1
UM1 8751-8
19
XTAL1
18
XTAL2
31
EA
9
RST
1
1.0
2
3
4
5
6
7
8
1.7
8-BIT MICRO
PORT1
#
8751
PSEN
ALE
PROG
P0.0
PORT0
AD
P0.7 P2.0
PORT2
A
P2.7
P3.0/RXD
P3.1/TXD P3.2/\INT0 P3.3/\INT1
P3.4/T0 P3.5/T1 P3.6/\WR P3.7/\RD
TP14
29
30
39
38
37
36
35
34
33
32
21
22
23
24
25
26
27
28
10
11
12
13
14
15
16
17
TP15
TP38
TP23
TP24
TP29
TP28
TP27
TP26
TP25
TP69
TP1
TP2
TP3
TP4
TP5
TP6
TP7
FROM RS-232
TP43
TO RS-232
TP42
TP16
TP17
TP18
TP19
TP20
TP21
DGND
R1 R2 R3
DGND
TP22
200 200 200 200 200
DGND
R11
5.11K
C23 33PF COG
C24 33PF
COG
DGND
14
3
7
USCLK UDCLK
S1
OPEN
SW_DIP_3
USDI USDO
UCS
3 2 1
R13 R16
R4 R7 R8
R10
5.11K
DGND
D2
1
2
3
8
7
6
54
LED_555_5003
C7 47UF
P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 P2.0 P2.1 P2.2 P2.3 P2.4 P2.5 P2.6 P2.7
ALE
200 200 200
VDDD
DGND
C17 .1UF
HDR2X2
HDR7
21 43
P3.2 UINT UEDIR UEOUT P3.6 P3.7
CDB5460
Figure 3. Digital Schematic Part 1
DS279DB1 7
U6
VCC
/W
A13
A8 A9
A11
/G
A10
/E DQ7 DQ6 DQ5 DQ4 DQ3
SN74HC00N
9 10
1
C2+
2
GND
3
C2-
4
VSS
5
RX1
6
TX1
7
RX2
8
TX2
9
RX3
TX3
28 27 26 25 24 23 22 21 20 19 18 17 16 1514
U2
TP12 TP13
P3.6 P2.5 P2.0 P2.1 P2.3 P3.7 P2.2
P0.7 P0.6 P0.5 P0.4 P0.3
8
C27
10UF
10UF
FROM-PC
TO-PC
P2.6
C28
DGND
DGND
VDDDP2.6
C43 .1UF
U2 SN74HC00N
12 13
U2
SN74HC00N
4 5
DGND
DGND
11
6
5 9 4 8 3 7 2 6 1
DE9F_RA
CSUSBP2.7
J8
CDB5460
ALE P0.0
P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7
DGND
1
/OC
11
C
3
1D
4
2D
7
3D
8
4D
13
5D
14
6D 6Q
17
7D
18
8D
SN74HC373N
U5
VCC GND
1Q 2Q 3Q 4Q 5Q
7Q 8Q
2 5 6 9 12 15 16 19
20 10
C26
10UF
A0 A1 A2 A3 A4 A5 A6 A7
P0.0 P0.1 P0.2
DGND
P2.4
A7 A6 A5 A4 A3 A2 A1 A0
10UF
DGND
C42 .1UF
C25
R1410K
1
A14
2
A12
3
A7
4
A6
5
A5
6
A4
7
A3
8
A2
9
A1
10
A0
11
DQ0
12
DQ1
13
DQ2 VSS
MCM6206DP20
VDDD
VDDD
20
19
18
17
16
TP71
15
TP72
14
13
12
11 10
U1
C1+
VCC
C1-
VDD
DO1
DI1
DO2
DI2
DO3
DI3
MC145407P
Figure 4. Digital Schematic Part 2
8 DS279DB1
VA-
CON_BANANA
J3
DGND AGND
CON_BANANA
J14
Z1 P6KE6V8P
DGND
Vu+
CON_BANANA
J4
Z2 P6KE6V8P
DGND
CON_BANANA
J6
AGND
47UF C5
C6 47UF
HDR3X2
HDR3
21
A-
.1UF C10
AGNDAGNDAGND
C12 .1UF
AGND
43 65
DGND
DGNDDGND
VD+
CON_BANANA
J13
VA+
CON_BANANA
J5
Z4 P6KE6V8P
C11 47UF
C21 .1UF
DGND
VA+
AGND
Z3 P6KE6V8P
AGND
C8 47UF
AGND
C13 .1UF
Figure 5. Power Supply Schematic
R15
FERRITE_BEAD
10
HDR4X2
HDR5
21 43
L2
65 87
VDDD
D+
CDB5460
Loading...
+ 18 hidden pages