Home
CLC-CAPT-PCASM Data Capture Board User`s
Contents
1. IB ge AGS ao ao ao VODISVVL be be k MAS GDI rt lt i T x 2 a a me je MAS ca 66 LOLAD 66 LOLA
2. Next left click on the 12B_FFT button and you will see the following FFT plot and performance summary Note that if you are testing a 14 bit ADC you should set SW1 accordingly and click on the 14B_FFT button instead LA Figure No 2 32768 Point FFT Analysis Pinput dBFS 1 8979 Output SINAD 65 2295 Output SFDR 75 6141 THD dBFS 79 8175 IF floor 67 3712 ENOB 10 8575 MAGNITUDE dBFS 8 1 15 FREQUENCY For more information on the Matlab routines please refer to section IV of this manual or the analysis txt file in the Mfiles directory Configuring for Histogram Capture DNL and INL Analysis To configure the board for histogram capture right click on the capture control panel then left click on Configure Capture You will see the capture configuration menu http www national com Configure Capture Select Histogram Debug as shown above and click on OK When the data capture control panel returns you can verify your capture settings by positioning the mouse over the progress bar You will see the following display When you press Start now the SRAM will be cleared and then the board will count the number of times each code is output When any count reaches the number that you set with DIP switches 4 and 5 the counting will stop and the data will be transferred At 52 MSPS and a maximum count of 16384 the counting takes about 1 second You will see LED
3. 69 448 o o ENOB 11 302 Magnitude dBFS B L o 160 Frequency x 10 11 File Edit Window Help 32768 Point FFT Analysis Pinput dBFS 1 9779 Output SINAD 33 4956 s ces gida A E a s mr cc AA es Output SFDR 35 3348 THD dBFS 95 4999 AA A E gs ge ae se ot os pe JE floor 35 4012 ENOB 5 6016 MAGNITUDE dBFS EOE a a a a m mn a a O OR Se eee ee ee meee eee FREQUENCY The FFT plot above and the analysis results highlight several setup issues The poor SINAD and correspond ing ENOB is due to phase jitter spec d as SSB Phase Noise of the IF signal source an HP8656 was used here A better choice of signal synthesizer is the HP8644B which yields a SINAD of about 60dB under the same conditions The main portion of the noise power is contained in the carriers immediate sidebands 5KHZ Another point of interest is that there are several spectral lines about 75dBFS and 25KHz on either side of the fundamental These have been traced to the ground loop created by the PC serial interface Both serial interface cables were connected while this data was being collected Removing the cable to the DRCS will reduce the amplitude of these spurs Some of the ground loop remains because of the required Capture Board s serial interface to the PC Section IV Data Analysis Tools The Matlab scripts contained on the Evaluation Kit CDROM provide a conven
4. DIP switches and a jumper configure several capture functions Section II Capturing Data from ADC Evaluation Boards Getting Started To use the Data Capture board to capture data from a National Semiconductor Analog to Digital converter you will need the following hardware software and documentation National Semiconductor High Speed Converter Evaluation Test Bed CLCXXXX A D Converter Evaluation Board Data Capture Digital Receiver Board Evaluation Board 2000 National Semiconductor Corporation http www national com Printed in the U S A FILTERED SIGNAL SOURCE OPTIONAL CLOCK SOURCE amp Optional TTL Oscillator ADC Evaluation Board Capture Board Serial I O 64P 1 0 CONNECTOR To PC Serial COMM PORT 1 or 2 Hardware 1 2 CLC3790093 Data Capture Board CLC CAPT PCASM CLCXXXX Evaluation Board Several ADC products can be evaluated with this system Each product has a unique evaluation board which plugs into the data capture board In order to determine the compatibility of specific ADC evaluation boards to the data capture board please refer to the Basestation A D Converter Evaluation Board Interoperability Guide available on our website at http www national com appinfo wbp Personal Computer An IBM Compatible PC running Windows 95 Windows 98 or Windows NT The PC should have an available serial port capable of operatin
5. e 0 unos m oo ee 0007 L ae LZ E E SAUDP5EA1 06 80Sd 1 gt Net en ASt S AS 2222 RPceccc cecc Ee OND 2 er EEEE s tas nn Le PPP lt AGS 3070 Zw ZQ ZQ Zo Ar5632 58288352 RA9I828232 SA8S89538383 32 an p dzivos a ao VA sy llo ale o y ll ppal ele ee eo ol ob L Lo zz3a DupuccVpPIIZZz lt VIUVUDUDUS lt ZUDIZZ VIUDO Z 2 Z2 lt S 370252 w AG SHO DDL 63z FFFFO0OOF FFFKK AG 3322223222700 Z23220 l 2z C sag6o0 m II g on 8 O SSR ESQR Se BRIB99 SBRSSRRES ESRC 58253522228 8 40m 7 ia Z o PV Wve M tig a 35 25448 8 3 d 4 of vas HI Lv Wye mot sav gt m pv a Os eg Oe J ovo ao 12 a E a gia AE ye Ziv_Wvt Mg 99NId SOCNIA 1 AG 6r do p a z 22 de 4 get UNS e YAYA mR Nid SN bz we a OLY NAVY MH ania e0CNId E lene gt e e B L Te AL porn aona be e FR oe BUS ZNSOUSSUSPUSENS ZUS LU Nyy Y se 30 WYJ pg Nid BE o GA i P j k rq Ns DUNKS Ge u anos eww ec Z NId 65 NId por T T e gg Eid BOINI Ey anos au e A er SLY a mg 9NI 15INI 57 o a bd oq sd S5INI Ey a unos ve fe T e a DHDIDDA SOINI By BE Ta 0 gg Nid LOIOJA rep E DE ic vun mnoa oc AG 50 05 ad gg S9NId ES NIa Ey E gt 0 LMS gq B9NId cinta BT as ara ger SLO DENIA EE od 61 ul ie D SE ar ser usa NS N sE Zi ao PRIMI gy er axl E BLN L N e a eel s n nos c Zz yj PENI rm G LBN Ly te nL T x Ta Le BE z sia lt 0750 Ee la 5 at dis sore TE Nea LNIA My BINI
6. format From the Windows Start Programs menu launch the Capture program it s inside the C Insc folder Right click inside the Control Panel and select Configure I O and click the appropriate PC COM port button Next right click inside the Control Panel and select Configure Capture Select the following options Mode Capture Bits 24 Channel A From AOUT 1st Bit Capture 1st Bit Phase In Phase Only Click OK and then click the Start button in the Control Panel to start the data capture The progress bar should conclude in about 10 seconds Kk Launch Matlab Use the Matlab path browser to include the analysis Mfiles The installed default path is c nsc mfiles Add this to the Matlab paths save the directory file and exit the path browser At the Matlab command line enter analysis menu A GUI will appear Left click on the DRCS_Serial button to perform an FFT on the captured data nsc MIE Choose Analysis DRCS_Serial DRCS_Debug 14B_FFT 12B_FFT DNL_INL Plot Data Help EE E Soe E aaa al EA am Quit The menu disappears while the analysis routine is running The process takes 4 5 seconds on a 133MHz PC and plots the results when finished The FFT should report an input power of about 18dBFS 32768 Point FFT Analysis 20 i i Pinput dBFS 18 1087 S O Output SINAD 51 7058 O Output SFDR 56 0663 THD dBFS 100 7444 o o f E floor
7. 1 80 534 16 80 National does not assume any responsibility for use of any circuitry described no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications http www national com 15 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries TI reserve the right to make corrections modifications enhancements improvements and other changes to its products and services at any time and to discontinue any product or service without notice Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete All products are sold subject to Tl s terms and conditions of sale supplied at the time of order acknowledgment Tl warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with Tl s standard warranty Testing and other quality control techniques are used to the extent Tl deems necessary to support this warranty Except where mandated by government requirements testing of all parameters of each product is not necessarily performed Tl assumes no liability for applications assistance or customer product design Customers are responsible for their products and applications using TI components To minimize the risks associated with customer products and applications customers should provide adequate design and operating saf
8. calculated The supplied Matlab script DNL_INL uses this method Please refer to the IEEE Standard for Digitizing Waveform Recorders IEEE Std 1057 1994 for more information about this technique Hardware Configuration Jumpers The data capture board has 2 jumpers that must be configured before use The first jumper WCLK selects the clock source for the FIFO When capturing data from an ADC evaluation board WCLK should be set to RDY2 This selects the DR Data Ready clock line from the ADC evaluation board pin 20B The second jumper VCCD sets the supply voltage for the ADC output buff ers Unless the ADC evaluation board instructions specify otherwise this jumper should be set to 5 FIFO 18 bits 32k depth e 0 24 Jd SRAM Eurocard 24 bits Connector 32k depth Clock J9 9 pin Serial Cable Connector Data 12 18 Bits Serialized Data Stream FPGA Performs State Machine Signal Format Conversion Data Routing Note Primary data path shown Control lines not shown Data Capture Board Block Diagram DIP Switches Five of the eight DIP switches are used to configure several capture functions as follows DIP switch 1 This DIP switch specifies whether a Diversity Receiver Evaluation Board or an ADC Evaluation Board is attached to the Data Capture Board ON ADC Evaluation Board is attached Captured data is aligned to the least significant bit with unused higher bits set to Os DI
9. strobes per write cycle resulting in data decimation The SRAM is useful for displaying time records of data or collecting contiguous blocks of slower data that have been decimated by the CLC5902 DDC The SRAM is the memory element used for the board s hardwired histogram data generation Capture Board Hardware Configuration Options for DRCS data capture Place the WCLK FIFO write clock jumper in the PIN 120 position the VCCD should be in the 5 position and the eight SW7 switches in their OFF position Using the DATA CAPTURE Control Panel The Data Capture Program capture exe must be copied into a directory on the user s PC The setup install program on the CDROM automatically places this http www national com program in a default directory c nsc The program generates a user ini file within this same directory The file is used to store the user options and is updated each time the user changes the options and runs the program When the Data Capture Program is started a graphical user interface GUI Control Panel is placed on the PC desktop The left mouse button can be used to drag the control panel to the desired position on the desktop The Data Capture control panel should not be placed on top of the Windows task bar otherwise the software may behave erratically A left click on the button will open an informational text file The program configuration variables must be setup prior to
10. with one stop bit no parity and 8 bits per character Although the DSR CTS and RTS control signals are connected they are not used XON XOFF flow control is supported The flow of returned data pauses after an XOFF character DC3 ctrl S hexadecimal 13 has been received The flow of returned data resumes after an XON character DC1 ctrl Q hexadecimal 11 has been received The Data Capture Board initializes as if an XON character had been received Power Up the System Once the WCLK jumper VCCD jumper and the DIP switches have been set for example for the CLC5957 we have set WCLK at RDY2 VCCD at 5 and DIP switches 1 2 3 4 5 as ON ON ON OFF OFF connect the evaluation board to the data capture board apply power clock and signal to the boards and connect the serial cable to the PC Some PCs will need to be rebooted at this point but it may not be necessary with your PC In the software configuration section next we will check the communication between the PC and the data capture board Light Emitting Diode LED Status Monitors 3 of the 6 LEDs are used to provide status indications LED 1 This LED is connected to an address line of the static RAM ICs While the static RAM is being written or read it blinks After the Data Capture Board is powered up and the FPGA is initialized it is on to indicate that the board is ready After all the SRAM data has been output it is off LED 2 This LED is on when captured data
11. 1 flash as data is written to and read from the SRAM LED2 will again light for about 10 15 seconds as the data is transferred to the PC and stored in the file that you have selected To use the included m files to analyze the histogram data and extract the DNL and INL of the ADC start Matlab and run analysis_menu If you still have the Matlab analysis menu visible you can again click on Plot_Data to see the histogram information JFigure No 2 In this example we have captured data from a 12 Bit ADC Remember that the data that we are plotting is the bin count information The ADC output codes that were exercised ranged from code 236 to code 3865 The maximum count was set to 16384 with DIP switches 4 and 5 OFF and for this particular data record the maximum count was reached at the ADC output code of 3864 To analyze the converter s linearity you can left click on the DNL_INL button and you will see the following analysis window 12 Bit ADC Histogram Analysis 02 Feb 1999 10 53 40 ee ee ee 0 512 1024 1536 2048 2560 3072 3584 4096 2048 2560 3072 3584 4096 code 0 zil 1024 1536 NumPts 2401359 Vin dBFS 1 0467 Offset LSBs 3 5 For more information about this analysis technique please refer to Section IV of this document the com ments in the DNL_INL script file or the IEEE Standard for Digitizing Waveform Recorders IEEE Std 1057 1994 Section III Ca
12. BLINId as il aad a I Al IN a Ee DM SUSESS HU pal m k mm sl no Wweaanse avd as EC NE DODODOBADBBABDDa m ae ATOM s e x 6 ee 0 a ZO TREO 89 as 8 a a 5 s sala alal a 85 2 l 5 RASS Rae 8 51 ee hd NE Suidnoo q yn Ola 4 e 0 0 kd kd kd r a AS poo i Se 5 JODA es es S ol el nl ll al aolo e ale a au 558 8 5 5al al a sl 8al 8 al al 8 E o E G AAA A lla AA INRI A SEA S EEE Bas SI S S S S SS ojo Sa 8 81 8 al 81 8 SIR el als LIONATODAORONTONO Goby PSE ROSSA BSR AbBSRS5 555 SSG GSS ES ARPA Go o95988 00 RI AS 9598 ir age ao LUZ kdddd 359396 lt ax V s 22Puguggyggygugygg sos SSS EL 225 Oil en Oo 200222222222222222029600000009OFF oa ax u We sus SEEEEHBEEEEEBEFEEEHEEEEEEEEEEEEEE owe AAN ANA AL SIR R 83888 AE ASt a o y L m EEE G g 5 86 85 NE LLL aqo e AG a 600 1d AAMdVO SOA4G06991DS3 TINdMdS0VYdO dei id is ET ao 8 to 0 o 9 S kd V l L L J9 U9 Ubiseg SU 09 HO r e OED ezo ezo zo ZO Peo Ezo ezo Too Tero T S z 4 2 e oe o o o o o o d BuAd JOD JOJONPUOOIW9S jeuonen 666 1uyBUAdO E INA xn AL AL AL o o kd o o o gt kd kd 66 21 2 Add 600 2919 a yog JAINLAVI VLVG sangra gora yeu SORO PO TOTO 0 PO TO PO TOTO TO Ta GED PEO ED BEO EED PED EED BLO Oo TO T 60 750 TED T ZO e e ad ad hd hd hd ad ad ad NE Buijdnoosa LN Y d4 JopesH OIA
13. CLC CAPT PCASM CLC CAPT PCASM Data Capture Board User s Guide l Texas INSTRUMENTS Literature Number SNOS915B A block diagram of the evaluation test bed is shown below October 2000 O O National Semiconductor D C y O OO O gt CLC CAPT PCASM O 7 5 a Data Capture Board User s Guide gt D O W gt Section I Introduction Table of Contents o 0 The CLC3790093 Data Capture Board enables simple evaluation I Introduction of National Semiconductors High Speed Analog to Digital Con Il Capturing Data from ADC verters ADCs and the Diversity Receiver Chip Set DRCS The Evaluation Boards C Data Capture Board interfaces the outputs of these devices to the III Capturing Data from the DRCS Y standard serial port available on the back of most Personal Evaluation Boards O Computers PCs We have provided PC software to control the IV Data Analysis using Matlab Mm data capture function and Matlab scripts for data analysis Script Files O e O D The Data Capture Board contains a field programmable gate array FPGA that controls its operation An EPROM configures the FPGA after power is applied The serial interface is provided by a UART Universal Asynchronous Receiver Transmitter an oscillator and a level translator IC The captured data is stored in either three 32K x 8 static RAMs organized into 24 bit words or in a FIFO containing 32K 18 bit words LEDs provide a visual indication of activity
14. D 668 LOLAD RSS a NE Net ES CI Ava B g w bi pp ga Ci Wwe MG cl bi pd cw Wwe MF Cl bi pp Vive ne ely Awd ME s ew Ol Pg Dh Aga ely Wwe EF EY OW g Mov Ava ely Awe I aad Oy g Od ee a Do e HAG 091 viv Ave ME viv Ov Pg ov ed viv Ava ME meee rz ov Ww viv Ava ME AS Ov pg ov nd N ren B ooa 8 Hp sv ne Doran B re r LEA sn T Ar sv wvu G LOA E oran ME a Whe M iv Wwe Con me a iv pp iv nv ero a e SHBAG rasi ae se me e En con 9 AE sv iv corn NF ef vi ov F E we corn e EF Sv pe sv Ava SS E OND a nv Sv Hl ad m Sv E avd V vr V vr V GOOA BH o GOJA gan dsneaL r e AAN G40 EDA DDN coran ME Eon DDA cor sn BB DDA 5 Do e MAS 5021 sro Ly9 90 807 r zt ue 7 r El Es 7 AS L an oe vor am p Wed Pora My ron MA 7 am Wv worn MA amp Sn wy RNI kd FF non m e kd son wre iw sol an Ty got rz Ava sor 7 az vu T sor LN r 901 rz Med vu 307 an EB ar go ev hz Mev wey sors Mg v oz Mev wy z gt e CHEAG 39091 AG g T IOC Ln Mp 401 icv Ws org mE ar Lot ov Ge E Ava Loran My oie Biv an AN VONS EGNO ZONO LOND 30 Wd BH 30 A Aa 204 Ave BH 30 I A Vv 30 Ava Bb VU A ed oc EL 07 El DC El OZA0L Y SI LN dl SWHO 0 a A y a ov Wwe MA ov Dig LEB Ov va E race sore M0 va ov ave BFF De Move SLNIOd 153 1 GNNOYS devo O20 bY Sp zn Li an L sn um t rai INIA ao ao ao ao Net Age Age DEXOL Y SI LN dl SAHO O aan danes Ae gan ganot mo ao kn OEMOLY O 90 woo VO j 195
15. DDA O Oat egy 3 El B a goggg tt LNIA Gy ANDOA T c NTO fo ERE A gt 6 NB Lo ista Fane oy NOs D 6 T IND O30 gr 5 la ls ls F aiiai a a gi ale Sg re oe O aa A SLL eroso po on Pla anel rl Ong Nitau Ll Q Kri peri LNIA AS n ae eo 679 052 HnooL V par i N LL suns E EO ar mt UI gg 8Nld ZOIDON pp AAC at a AE sq 50100A LN p Ase a oq Na AN Ez zg PEN SLINI k r K mg 18NI4 PLN EF T aq SNA EN EF S vi ELNA Ey u oe 08 AG Za N qe OLIN Ep En ay Na S9 NIa Ey e Eg E NId B9INI oras ma PONS LINK faq 5 9 9 3 9 9 5 9 8 8 5 8 8 318 ES ONS WV pgp B5NId EOIDDA jpg Ml AC SSRSEgesegssss gss A oy wi eee GG GG a Li IPB BELLO SSG 6 Su E AC Mg 801008 BIN Es Tea E Edo co gg SONIA svava Egr e 26 END HONS f gof IN wiva Top 90 w H0INId 09 Nid ES ec par sd 40 00 Zp CONN EwLvO er a ox p NS 5 5 cvLvU kar sal Sn LBC Dh zzQ82Suz DIV SIIDD DD 22211105 2117 pst t je HOM Tor my OBS REISS Z 22222992222 Zz zz zzzz zzd rz z zzd sr ero NSLCPOLAO da f atbadis88Basass stas 2238 2882382882558 55 g rn wee T s oP ERE EE REESE BE B S S EE EEB SSE REE EEE EE E EEE E E EB EE ERE 30 avg HE Be S 8 e Rel al heee SS BS IB RS IN 8 8 8 8 BB R laa S 8 8 8 R 5 5 B5 S S 5 8 EOS 55 AS iz Es I OO ojo ojo o o jo jg g ID o 9 g a QO a lt E KCN lg NA lt I22222 lt zza 6 B e R P REER E R P E eee BeBe 9 lor FPOSEESESE FY jas z2 23 Pn z PS Na D
16. Matlab version 5 1 or higher to run analysis routines Documentation Applicable product data sheets and user guides can be found on the provided CD ROM with the most current versions available on our website at http www national com appinto wbp General Description and Program Options Data from the Diversity Receiver ChipSet DRCS Evaluation Board can be captured from either of its two serial outputs its parallel outputs or its debug outputs The serial in phase and quadrature phase data can also be captured simultaneously for quadrature data analyses The Data Capture Board always returns 32 768 24 bit words via the serial port as 96K bytes Each word is interpreted as a 24 bit two s complement integer and stored as 32K ASCII words in a user defined file Each value is terminated with a carriage return hexadecimal OD When a Diversity Receiver Evaluation Board is attached to the Data Capture Board data narrower than 24 bits is aligned to the most significant bit with unused lower bits set to Os Serial data is always 24 bits wide Because of the various DRCS data output formats care http Awww national com must be exercised to ensure that configuration conflicts do not occur between the Data Capture board and the DRCS board Such conflicts usually lead to unpredictable data formats The default DRCS settings VO Packed Mux_Mode are compatible with the Data Capture Board s 24 bit serial and 16 bit parallel format
17. NOO Y d4 NE CLC CAPT PCASM Schematic Diagram 14 ional com www nat http Data Capture Board User s Guide CLC CAPT PCASM Life Support Policy National s products are not authorized for use as critical components in life support devices or systems without the express written approval of the president of National Semiconductor Corporation As used herein 1 Life support devices or systems are devices or systems which a are intended for surgical implant into the body or b support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user 2 A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness National Semiconductor National Semiconductor National Semiconductor National Semiconductor Corporation Europe Asia Pacific Customer Japan Ltd Tel 1 800 272 9959 Fax 49 0 1 80 530 85 86 Response Group Tel 81 3 5639 7560 Fax 1 800 737 7018 E mail europe support nsc com Tel 65 25 2544466 Fax 81 3 5639 7507 E mail support nsc com Deutsch Tel 49 0 1 80 530 85 85 Fax 65 2504466 English Tel 49 0 1 80 532 78 32 E mail sea support nsc com Francais Tel 49 0 1 80 532 93 58 Italiano Tel 49 0
18. P switches 2 and 3 When DIP switch 1 is ON to indicate that an ADC Evaluation Board is attached DIP switches 2 and 3 specify the width of the ADC data so it can be aligned to the least significant bit and unused higher bits can be set to Os Number of Bits in ADC pC OFF OFF t8 OFF ON 16 p ON OFF Ji ON ON Ji DIP switches 4 and 5 These DIP switches specify the maximum histogram bin count The histogram capture terminates when any bin reaches the count specified by these switches OFF OFF 163840 pC OFF ON 8192 ON OFF 4096 S ON ON 2048 A maximum count of 16384 corresponds to approxi mately 2 5 million total samples for a 12 Bit ADC The capture is very fast on the order of 1 second for a 52 MSPS clock rate so there is not much advantage in set ting the switches for a lower maximum count The other settings are more useful for the DRCS evaluations because the effective clock rate can become very low with certain output formats and decimation ratios http www national com SMA Connectors The output clock SMA connector provides a signal that can be used to phase lock a signal source The frequency is that of the input clock signal divided by 2 For example with an attached CLC5958 ADC evaluation board at 52MSPS the clock output signal will be a 26MHz square wave The second SMA connector is currently unused Serial Port The serial port is configured at 115 200 baud
19. at the BOUT serial port is disabled b The Upper 16 Bits and Lower 16 Bits options enable the CLC5902 DDC s parallel outputs In this configuration the DDC parallel output mux is controlled by the FPGA through the 64 pin Euro connector be sure that the DRCS board SW1 POUT switches are OFF OPEN The user selects Channel and Phase and the FPGA instructs the DDC which channel phase and which half of the 32 bit output word to send out its parallel data bus This configuration uses the FIFO for temporary data storage 2 Histogram mode returns the Capture Board to the 24 bit serial data mode As before with the CLC5902 DDC in packed and mux_mode the AOUT data source contains both phases of both DDC channels A DDC change is required to enable the BOUT The Capture 1st Bit option should be selected as before In the Histogram configuration the program Start button first sets every SRAM location value to zero The hardware then samples the data reads the value at that memory location increments the value and writes back the updated value The process continues until one of the memory values reach the target value set by SW1 http www national com 4 amp 5 as indicated in the Histogram Max Target table Due to a high data resolution and relatively slow data rate a relatively long period of time is required for generating histogram data from the DRCS with high decimation values in the DDC Under some circ
20. data capture board If the data capture board responds and the COM port interface is operating correctly the Configure I O menu will disap pear and the Data Capture control panel will return If there is a problem with the COM port interface you will get the following message Captu re Program Verify the connections and if necessary try the other COM port Note that you must have a clock applied to the ADC Evaluation board during this communication verification stage Check to make sure that either an external clock or the TTL oscillator is installed and that LED6 is on at reduced intensity Once you get a proper exit from this step you are ready to configure the capture board Right click on the capture control panel then left click on Configure Capture You will see the following screen Configure Capture a ROUT ee ee SGU Tce Parallel Outputs to EIRO E Channel A Channel B en Upper 15 Bits 1 Lower 16 Bits Koen jatBit Capture Jst Bit t In Phase Then Buadrature Phase UC mPhase Only oo Euadrature Phase Only 4 dluadr t re Phase Themin Phase To configure the capture board for direct capture of a contiguous 32k point record of ADC output codes click on the selections shown above Left click on Capture Debug and select Upper 18 Bits The names of these selections may seem rather cryptic when you are simply capturing ADC data The label names are derived from
21. eguards TI does not warrant or represent that any license either express or implied is granted under any TI patent right copyright mask work right or other TI intellectual property right relating to any combination machine or process in which TI products or services are used Information published by TI regarding third party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof Use of such information may require a license from a third party under the patents or other intellectual property of the third party or a license from Tl under the patents or other intellectual property of TI Reproduction of Tl information in Tl data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties conditions limitations and notices Reproduction of this information with alteration is an unfair and deceptive business practice TI is not responsible or liable for such altered documentation Information of third parties may be subject to additional restrictions Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice TI is not responsible or liable for any such statements TI products are not authorized for use i
22. functions in the DRCS and CLC5902 so they might seem out of context for ADC capture uses Don t worry about the label names just make sure you have selected the modes as shown above Then click on OK One final configuration remains You need to tell the program where to store your data Right click on the capture control panel then left click on Change Data File You will see the following menu Data File Home temp Data Dat By left clicking on the little box to the right of the text entry window you can select any disk directory and file name that suits you However we recommend that you start with the default file name and location shown Click on Default and then on OK If you do not have a C temp directory please make one The reason for this is that the Matlab script files for data analysis look automatically for the file C ltemp data dat If you wish to store the data elsewhere you will need to modify the Matlab m files to look for your data file in a different location Obviously if you are using your own software for data analysis this is not a concern Capture Data We are finally ready to capture data from the ADC As a final check you can move the mouse until it is on top of the progress bar the big bar on the data capture control panel that now reads 0 You should see a little yellow box appear that confirms your capture settings Now simply left click on the Sta
23. g at 115 200 baud These ports are usually labeled and referred to as COM1 and COM2 The captured data is stored in a file on the PC to allow custom analysis Serial Cable A standard serial interface cable is provided This cable connects the data capture board to the PC Power Supply The data capture board requires a single 5V supply This power is applied at connector J3 A 2 amp supply will provide enough current for the evaluation board and the data capture board Note that the power for the evaluation board is provided from the data capture board through the 64 pin connector J1 Input signal You can provide any type of input signal that you feel is appropriate to your system testing The data analysis software provided with the data capture board is oriented toward analysis of single tone sinewave inputs Our recommendation for high purity low phase noise reference signal sources is the Hewlett Packard HP8644B synthesizer It provides an excellent input stimulus for evaluating ADC performance Bandpass or lowpass filter Even with a good sinewave source you will need to filter out the harmonics of the signal source A bandpass filter also enables filtering of the wideband noise of the reference source AS an example Allen Avionics http www national com Mineola NY passive filters are used for most of our converter testing 8 Clock Source If you wish to test the ADC with a fixed clock frequency
24. ient toolset for evaluation of National s Diversity Receiver ChipSet DRCS and high speed ADCs like the CLC595x family There are 4 FFT routines and 1 Sine Histogram routine which can be called from a user interface menu analysis menu Set the Matlab path and working directory to that of the Mfiles provided on the Evaluation Kit CDROM Run analysis_menu from the Matlab command window to open a graphical user interface Each of the called FFT routines has its appropriate variables set prior to the data analysis These variables are explained in the adjacent text and can be easily edited to adjust for a particular application from Matlab s script editor There are also comments within the routines that highlight various analysis blocks http www national com DRCS Serial DRCS_ser_fftm is the script intended for analysis of the DRCS 24 bit serial out put data Fsample is set to a default of 52e6 192 which is the GSM standard output rate of 270 833KS s The search option is enabled therefore excluding the DC bins the peak FFT bin is assumed to be the input fundamental A default 4 term data window is used DRCS Debug DRCS_par_fft m is the script intended for analysis of the DRCS 16 20 bit parallel debug data The hardware setting will determine the actual Fsample variable needed The data is always placed within a 24 bit word with MSB justification The default Fsample
25. in gt Ain Ain gt Ain Ain gt gt Ain Mid Scale Mid Scale Full Scale 01 0111 1111 1111 10 0000 0000 0000 11111111111111 Histogram Mode In the second mode of operation the Histogram mode the data capture board operates as a hardware histo grammer The board does not collect a contiguous record from the ADC instead it compiles statistical information by counting the number of times that the ADC outputs each code The most significant 15 bits of the converter define 32K histogram bins The MSB of the data is inverted before being stored all data is treated as offset binary format ADC data is aligned to the least significant bit and unused higher bits are set to Os Each bin is cleared initially The ADC output code is used as the address for the SRAM on the board and as each code is read by the Data Capture board the data at that location in the SRAM is read incremented and written back to the SRAM This counting requires multiple clock cycles so the data is not counted in real time In fact 11 samples of data are missed for each sample that is counted The histogram capture terminates when a bin reaches the count specified by DIP switches 4 and 5 The 32K histogram bin counts are then returned via the serial port If the input signal to the ADC is a pure sinusoid then the histogram information can be compared to the theoretical probability density of a sinusoid and the linearity of the ADC can be
26. is available to be output to the serial port After all the data has been output it is off LED 6 This LED is connected to the clock signal selected by DIP switch 1 When the clock is toggling it will be on at less than full intensity So at this point in your setup you should have LED 1 on at full intensity and LED 6 on at reduced intensity You are now ready to configure the software for data capture Software Configuration Run the program capture exe lt is located in the direc tory that you chose during the CD ROM installation The default directory is c lnscl You can also use the start menu start gt programs gt nsc S capture http www national com When you run capture exe you will see the following window pop up onto your PC This is the data capture control panel It is small to conserve monitor area for other programs The main function of the panel is to initiate data capture Before we capture data we must configure the computer and the board By clicking on the control panel with the RIGHT mouse button right click we bring up the following configuration menu The first thing to configure is the COM port on the computer so move the mouse to Configure I O and click with the LEFT mouse button This will bring up the following menu Configure K Select the COM port that you have attached to the data capture board and press OK The computer will then send a command to the
27. is set to the assumed clock frequency of 52MHz with no decimation If a debug port is selected which has decimated data the Fsample variable will require an appropriate adjust ment Carefully edit and save the new value into the script file The original file can be recovered from the CDROM 14 bit FFT b14_FFI m is the script intended for data analysis in conjunction with the 14 bit ADC evaluation boards All the FFT routines can be run with a rectangular window by setting the variable to 0 Setting the Dither variable excludes a lower portion of the spectrum from the FFT analysis and is intended to be used in conjunction with a base band dither signal being present at the ADC analog input 12 bit FFT b12_FFT m is the script intended for data analysis in conjunction with the 12 bit ADC evaluation boards http www national com 12 DNL INL dnl_inl m is the script intended for data analysis of the histogram data file generated by the Data Capture Board The data file has a fixed 2415 length i e the number of histogram bins SW1 on the Capture Board is set to LSB justify the ADC data within the 2415 bins 12 18 bit histograms are supported This Matlab script automatically scales to the data source In addition to the graphic plots the routine gives the number of samples input amplitude dBFS of ADC and data DC offset in LSBs See the Data Capture Board User Manual for more i
28. istogram file using the parallel data as the source The hardware requires multiple clock strobes to increment each SRAM value Even though the data used is not a contiguous block the probability density information is retained The SRAM depth 32K is used to store the data bin values therefore the histogram generator is limited to 15 bits of resolution there are only 32 767 bins The values of all 32K bins will be read out of the SRAM and sent out to the users PC regardless of the resolution of the data source The DRCS Debug data will be displayed at the 15 bit resolution limit this is also the case for the DRCS 24 bit Serial Out data and the histogram will be centered about 16 384 assuming there is no intentional DC offset The following figure displays the sine wave http www national com 10 histogram data of the DRCS output generated by the Capture Board at an input frequency of 150MHz and 16dBm in amplitude using all the default DRCS settings The data source was the DDC serial output Capture Histogram mode was used where Fsample is 270KHz and therefore took several minutes to collect In this scenario the 24 bit data source resolution is truncated to the 15 bits 32K of available SRAM The histogram peak target was set to 16K which required over 16 million data points be processed for the input level of 2dB below full scale The number of data points is proportional to the Max Target and the amplitude range of the data
29. n safety critical applications such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury or death unless officers of the parties have executed an agreement specifically governing such use Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications and acknowledge and agree that they are solely responsible for all legal regulatory and safety related requirements concerning their products and any use of TI products in such safety critical applications notwithstanding any applications related information or support that may be provided by TI Further Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety critical applications TI products are neither designed nor intended for use in military aerospace applications or environments unless the TI products are specifically designated by TI as military grade or enhanced plastic Only products designated by TI as military grade meet military specifications Buyers acknowledge and agree that any such use of TI products which TI has not designated as military grade is solely at the Buyer s risk and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use TI products are neither designed nor intended for use in automotive applications or environments unless the
30. nfo Plot Data this script is contained within analysis menu m lt simply clears the figure loads the data file from the default location and plots the new data No data manipulation occurs If the user wishes to view offset binary formatted data which has been normalized to 1 he should first run the appropriate FFT analysis then clear the plot figure use clf at Matlab command line and plot the variable u use plot u at Matlab command line A modified version of the DRCS serial FFT routine called drcs_ser_fft_excl m is included in the c nsc mfiles directory This routine is similar to the DRCS_ser_fft m routine The new routine provides the ability to exclude the signal generator phase noise near the fundamental The width of the exclusion region defaults to 2kHz It can be easily changed by editing the routine CLC CAPT PCASM Evaluation Board Layer 1 CLC CAPT PCASM Evaluation Board Layer 2 o Gs z e C HEHHEHE N0000 CLC CAPT PCASM Evaluation Board Layer 3 CLC CAPT PCASM Evaluation Board Layer 4 13 http Avww national com LOND
31. peration of Data Capture Board When evaluating the performance of an ADC the data capture board has two main modes of operation In the first mode data is captured from the evaluation board under test at the full sample rate of the ADC A contiguous set of 32k data samples is captured into a FIFO memory on the board and then this data is moved over to the PC at a slower rate The data set is stored in a file on the hard drive for later analysis The data is stored in an ASCII file in exactly the format that it is output from the converter For the CLC5957 the two s complement 12 Bit data is stored as numbers ranging from O to 4095 In the case of the 14 bit CLC5958 the two s complement data ranges from O to 16383 Each value is terminated with a carriage return hexadecimal OD Note that the two s complement number can be converted to offset binary by inverting the MSB This is the first step in the Matlab routine for FFT analysis CLC5956 Data Analog Input Condition Offset Binary Number ASCII Value Stored Ain gt gt Ain Full Scale 0000 0000 0000 1000 0000 0000 2048 0111 1111 1111 1111 11111111 4095 Ain gt Ain Mid Scale Ain gt gt Ain Full Scale 1111 1111 1111 1111 1111 1111 2047 CLC5958 Data Analog Input Condition Offset Binary Number ASCII Value Stored Ain gt gt Ain Full Scale 00 0000 0000 0000 10 0000 0000 0000 8192 111111 1111 1111 16383 00 0000 0000 0000 O 011111 1111 1111 8191 A
32. pturing Data from the Diversity Receiver Chipset DRCS Evaluation Board FILTERED I F SOURCE OPTIONAL CLOCK SOURCE x AM VCC 69 E E Data DRCS Capture Evaluation Board Board Serial I O 64P I O CONNECTOR To PC Serial COMM PORT 1 To PC Serial COMM PORT 2 Diversity Receiver Chipset Evaluation Setup Getting Started To use the Data Capture board to capture data from National s DRCS Evaluation Board you will need the following hardware software and documentation Several analysis tools are provided in the form of Matlab scripts It will prove helpful if the user has some familiarity with the CLC5902 data sheet and the Diversity Receiver Evaluation Board User Manual document Hardware 1 CLC730093 Data Capture Board CLC CAP T PCASM 2 CLC730090 DRCS Evaluation Board CLC DRCS PCASM 3 DC Power Supply The DRCS Evaluation and Capture Board combination require 5V at gt 1A 4 An IBM Compatible Personal Computer running Windows 95 Windows 98 or Windows NT with a serial port capable of 115 200 baud 5 Serial data cable to connect the data capture board to the PC 6 Low noise filtered IF Signal source for analog input to DRCS 7 OPTIONAL Low jitter clock source 10 16dBm sinewave if DRCS crystal oscillator is removed Software 1 Capture exe Contained in the provided CDROM 2 Data storage space on PC hard drive default path amp name c temp data dat 3
33. r the remainder of the configuration options After selecting the desired options a left mouse click on OK stores the configuration variables and returns to the Control Panel Positioning the mouse pointer over the Progress Bar inside the Control Panel pops up a text bubble which displays the configuration variables used when the Capture Program is started Next is a discus sion of the Mode functions and the related sub functions MODES There are four primary modes in which to run the data capture system each with its own associated options 1 Capture mode configures the Capture Board for data reception from the DRCS evaluation board Both serial and the parallel output ports can be used as the source data path a The 24 Bits option captures serial DRCS data FROM either of the two serial data ports The Capture 1st Bit option should be selected for this mode of data capture With CLC5902 DDC in packed and mux_mode the AOUT data source contains both phases of both DDC channels The two Channel buttons select the desired DDC channel to be stored in the SRAM The four Phase buttons select either or Q phase or the ordering of alternating l Q phases In this latter case the 32K RAM space is shared Therefore only 16K points of each phase are collected If the BOUT data source is selected the CLC5902 DDC must be instructed accordingly i e packed and mMmux mode off With the DDC in its default output form
34. rt button on the capture control panel to start the process You will see LED 2 light up on the board and the bar at the top of the capture control panel will show the progress of the data transfer At 52MSPS the 32768 samples are collected in only 630 microseconds the rest of the time is the serial port trans fer Typical times for this transfer are on the order of 10 to 15 seconds To analyze the data using the Matlab Mfiles that we have provided please start Matlab at this time To include the provided script files in your Matlab path type the following command at the Matlab command prompt gt gt path path c nsc mfiles Alternatively you can change directories at the Matlab prompt until this is the current directory From the Matlab command prompt type analysis menu This will bring up the following menu nsc MH x Choose Analysis DRCS_Serial DRCS Debug 148 FFT 128 FFT DNL INL Plot Data Help Quit EE SES A NA EA PE A a http www national com To look at the data that you have just captured left click on the Plot Data button If you have collected data with a 12 bit ADC at 52MSPS and a 2dBFS sinewave input at 5MHZ you will see two s complement data that looks like this JFigure No 2 4 A y V Ny Y A A N V V A V V V V V A KR Ye A NX X A 4 AX A NX NA gt gt X li X lt gt
35. running the program using the Start button Clicking the right mouse button within the control panel brings up the user configuration options menu The left mouse button is again used to select the desired menu option The following discusses the function of the various menu options The Exit button terminates the Data Capture Program The About button opens a window that displays the version of the Data Capture Program as well as the firmware revision of the FPGA on the Data Capture Board Clicking the left mouse button on the Sysinfo button in the About window replaces it with the System Information window that displays some details about your PC Clicking the left mouse button on the OK button in the System Information window closes it and returns you to the About window Clicking the left mouse button on the Visit our web page text will open National Semiconductors web page using your internet browser Clicking the left mouse button on the OK button in the About window will close it The Auto Hide and Always on Top selections enable and disable these functions A check mark to the left of each selection indicates when it is enabled The Configure I O button opens the user port option menu window Clicking the left mouse button selects the desired port the default Windows address and IRO is assumed Clicking the OK button sends an identification command out the
36. s The CLK SMA connector provides a buffered output of the DRCS Serial Clock SCLK divided by 2 The CLC5902 RATE register can be used to further divide this clock This clock output is intended for phase locking a signal source to the DRCS XTAL oscillator Because of the FPGA speed limitations DRCS Serial Clock RATE settings lt 2 are not recommended The default DRCS settings and XTAL oscillator yield a 13MHz output from this SMA jack Serial data from the CLC5902 DDC AGC can be configured for I Q_Packed Mux Mode in the majority of evaluations refer to the CLC5902 data sheet or the DRCS Evaluation Board User Manual For proper operation a decimation of at least 192 in the DDC is required to complete the transfer of the whole 96 bit word 24 bits each of CHA I amp O phase and CHB amp O phase The Data Capture board de serializes the DRCS data stream registers the selected channel and phase stores the data in SRAM then reads and formats the SRAM data to a 24 bit word for transmission to the PC via its serial communications port Parallel and Debug port data can be written directly to the 18 bit by 32K FIFO or to the 24 bit by 32K SRAM Because the FIFO has its own address counter it is capable of contiguous block capture up to 75MSPS and is the recommended means of data capture for Fourier Analysis of high speed data The SRAM address and write is controlled by the FPGA which requires about 6 clock
37. selected port and listens for the Capture board to echo back the command This function requires that DC power and data clock is present If the hardware is functional and the proper PC port connected the Configure I O window will then close and return back to the user Control Panel Capture Board LED 6 will be lit if the data clock is present If the incorrect serial port is selected or if the hardware is dysfunctional i e missing power or clock the program will return an error warning window Click the OK button to clear the warning and then try the other PC serial port in the VO Configuration window or correct the hardware problem The Change Data File button enables a dialog window where the user can direct the location of the captured data file The desired file name and path can be typed into the box Clicking the left mouse on the button on the right side of the file name box opens a standard browser window to search for an appropriate file name The Default button restores the default directory and file name The attached Matlab script analysis routines m files assume that the data is located at this location however the user can edit the routines to load from the appropriate location Clicking the OK button updates the Capture program s ini file and returns to the Capture Control Panel IC temp4D ata Dat I The Configure Capture button invokes the user dialog window fo
38. specific TI products are designated by TI as compliant with ISO TS 16949 requirements Buyers acknowledge and agree that if they use any non designated products in automotive applications TI will not be responsible for any failure to meet such requirements Following are URLs where you can obtain information on other Texas Instruments products and application solutions Products Applications Audio www ti com audio Communications and Telecom www ti com communications Amplifiers amplifier ti com Computers and Peripherals www ti com computers Data Converters dataconverter ti com Consumer Electronics www ti com consumer apps DLP Products www dlp com Energy and Lighting www ti com energy DSP dsp ti com Industrial www ti com industrial Clocks and Timers www ti com clocks Medical www ti com medical Interface interface ti com Security www ti com security Logic logic ti com Space Avionics and Defense www ti com space avionics defense Power Mgmt power ti com Transportation and Automotive www ti com automotive Microcontrollers microcontroller ti com Video and Imaging www ti com video RFID www ti rfid com OMAP Mobile Processors www ti com omap Wireless Connectivity www ti com wirelessconnectivity TI E2E Community Home Page e2e ti com Mailing Address Texas Instruments Post Office Box 655303 Dallas Texas 75265 Copyright 2011 Texas Instruments Incorporated
39. the X axis The Plot Data menu function of the analysis tools was used to generate the actual Matlab plot figure Pile Es Figure No 2 File Edit Window Help DRCS Evaluation Setup Sanity Check The following discussion is to confirm the DRCS evaluation setup The example uses a Fourier analysis of a simple single tone sinusoidal IF input to the DRCS It is assumed that Setup exe on the evaluation kit s CDROM has installed the necessary files in the user s PC and the DRCS and Data Capture hardware is configured as shown in the diagram at the front of Section III lt is also assumed that Matlab version 5 1 or higher is available Reconfiguration of the DRCS through its Control Panel software is not required for these two tests The DRCS default values contained within the micro controller with SW2 1 8 OFF on DRCS board will configure the CLC5902 with the proper values If the power has been applied while in another state or if the user has RESET the micro controller with a different switch setting then set the SW2 switches to OFF and press the RESET button on the DRCS Evaluation board Apply an IF input signal to the AIN1 jack on the DRCS Evaluation board at 150MHz and OdBm The DDC mixer is set to 5 97MHz which brings the aliased Fclk ADC 52MHz 3rd alias 156MHz signal down to 30KHz The DDC then filters and decimates the data and sends it out the serial port AOUT in the packed muxed_mode
40. umstances the serial PC interface will time out The program detects this condition and queries the user to continue Click Yes to continue and wait for the Progress Bar to run to completion Be patient it could take several minutes depending on the input amplitude and DDC decimation value and Histogram Target Value The last mode description Debug Histogram provides further description of the output file generated by the hard wired histogram generator Histogram Target Table Histogram SW1 4 SW1 5 Target Value 0 0 16K 0 1 8K 1 0 4K 1 1 2K Capture Debug mode configures the Capture Board to collect data from the DRCS evaluation board s 20 bit parallel debug data bus Because the FIFO memory is limited to 18 bits the user is given the option to collect the full data width in the SRAM by selecting the 20 Bits menu button As previously mentioned parallel data which runs at the full clock speed i e Mixer Out at Debug port gets decimated by 6 due to the fact that the FPGA requires multiple clock strobes to address and write data into the SRAM Choosing the Upper 18 Bits option will use the high speed FIFO for the memory element and collect a contiguous 32K block of data The Debug data port provides users access to nodes internal to the CLC5902 DDC Refer to the DRCS Evaluation Board User Manual and CLC5902 data sheet for more detailed information Histogram Debug mode configures the Capture Board to generate a h
41. you may install a standard TTL oscillator in the socket provided on the evaluation board Otherwise you will need to provide a low phase noise sinewave or square wave clock source at the appropriate SMA connector on the evaluation board An amplitude of 10 to 16dBm is recommended Here again the HP 8644B is a good choice Software 1 National Semiconductor Software All of the required software is provided on a CD ROM To install the software now insert the CD ROM into your computer and follow the directions The default installation copies all of the files to a directory called c nsc The data capture software is called capture exe 2 Matlab A copy of Matlab version 5 1 or later is required to operate the analysis routines lf you simply wish to capture data to a file on your PC and process the data with your own analysis software then you will not need Matlab For more information about Matlab please see their website at http www mathworks com 3 Matlab script files The Matlab script files for data analysis are located in the c nsc mfiles directory These script files are run from the Matlab command prompt Documentation Applicable product data sheets and user guides can be found on the provided CD ROM with the most current versions available on our website at http www national com appinto wbp If you are evaluating the Diversity Receiver Chip Set please refer to Section III of this manual O
Download Pdf Manuals
Related Search
Related Contents
INSULATED GATE BIPOLAR TRANSISTORS BASED REVERSIBLE race result 11: Advanced Users Guide Invisorb® Spin Cell RNA Mini Kit Aufbauanleitung Calligaris PLANET User`s Manual TZ950 パラメータ設定ツール 取扱説明書 Copyright © All rights reserved.
Failed to retrieve file