Home
AD5235 Evaluation Kit User Manual Application
Contents
1. 0 oo a 0 0 Ld 9090 a eee 8606 9990 6 909 9 0 0 6 9999 HAAAAAAAAAAAAAAAALAAALAAA Ld Figure 19 Bottom Layer N o u m N u N m N u c L 0 2850 56 ULA E n JPt 4 L1jejeeeeseeeeeee LLLLLICH H RL 0 eee eee e 90900 0000 900 a a HIAAAAAAAAA HAAAAAAAAA e Eval Board Rev B TP PR TP LIP TPRDY ANALOG DEVICES 5232 Figure 20 Top Overlay Silkscreen 15 REV 0 AN 627 PCB LAYOUT CONSIDERATIONS To stabilize voltage supplies bypass Pin 5 V and Pin 5 V with a 4 7 uF or 10 uF capacitor with proper polari ties Adding 0 1 uF decoupling capacitors very close to the supply pins of the active component can minimize high frequency noise as well Table X PCB Parts List Designator Footprint Comment TPSDO Test poi
2. 1 1 D 1 1 D 1 1 1 1 Write contents of Data Bytes W2 and 1 to RDAC ADDR 0 O REV 0 5 AN 627 EVALUATION BOARD SCHEMATIC section Other op amps in PDIP can replace the AD820 For a The general purpose op amp AD820 U3A can be configured single supply 2 5 V voltage reference AD1582 can be as various building block circuits in conjunction with the used to offset the op amp bias point for ac operation AD5235 for various circuit evaluations see the Applications AD5235 MAIN CIRCUIT LOWER TO 2 5V IF DUAL SUPPLIES C10 c11 Toka Toko ko T Aw T DGND 0 TPRDY TP PR TP WP HIGH 61 LOW 12 1 i gt WP L Ll 3 V 11 23 10 TP CSO 22 B js mn TPCLKO SW DIP4 3 Wi Bi B2 W2 2 TPSDIO 7 1 19 6 w1 18 1 B1 5 17 CS1000 R CLK 1000 4 SDI 1000 w2 182 NOTES USERS SHOULD IGNORE U1A ADN2850CSP U1B SIGNAL GROUND WITH NET DGND JP14 AD5235TSSOP POWER GROUND WITH NET AGND HEADER c4 JP15 O 1pF 4 7 SD L 5v HEADER 5V LOWER TO 2 5V IF DUAL SUPPLIES ADDITIONAL OP AMP FOR GENERAL PURPOSE APPLICATIONS V v Vo JP2 HEADER V DC Sd REPLACEABLE OP AMP IN PDIP Figure 3 Evaluation Board Schematic 6 REV 0 AN 627 Table 1 AD5235 24 Bit Serial Data Word MSB Instruction Byte 0 Data Byte 1 Data Byte 0 LSB RDAC 2
3. TECHNICAL SUPPORT Due to the variations in computer platforms and con figurations Analog Devices Inc cannot guarantee the software described in this application note to work on all systems you encounter problems send email to digital pots analog com or call 1 408 382 3082 for applications support If you are interested in the AD5235 source code send email to alan li analog com for more information REV 0 AN 627 amp 05235 Eval Board Rev H Part Select Connect Parallel Port Pin 2 3 4 15 and 25 to 501 5 500 and DGND respectively Direct Control SDI Bit Control Indicator 23 22 2120 1918 1716 15 14 13 12 11 10 9 ajajajaj ajajaja ajajaja ajajaja PPC PPI Command Bits Address Bits Data Byte 1 Data Byte 0 Store RDAC A0 Data Wrote to SDI to EEMEM Command Address Data Retreive 11 1 256 peration Decr 6dB Decr All Decr 1 step RwB1 12530 RwB2 6295 Decr All 1 Ste Incr 6dB Verify result with Multi Meter Data Read from SDO Read EEMEM For RWB Approximation Incr All amp dB Command Address Data Stored Setting Enter Measured RWB_FS 25000 OHM Incr 1 Step 5 5 65535 Read Wiper defaults 25000 Ohm Incr 1 Step Setting Eull Scale Mid Scale Zero Scale Figure 2 AD5235 Software Graphical Interface D 1 1 1 D 1 1 1 D 1 1 1 1
4. USER1 Allow able to address in 13 locations with maximum 16 bits of data 335555 32AAAA Stores data 5555 into spare EEMEM location USER2 Allow able to address 13 locations with maximum 16 bits of data Table VIII Reading Back Data from Various Memory Locations SDI SDO Action 92 Prepares data read from USER1 location OOXXXXy 92 instruction 0 sends 24 bit word out of SDO where the last 16 bits contain the contents of USER1 location NOP command ensures device returns to idle power dissipation state Table IX Reading Back Wiper Setting SDI SDO Action 200 Sets RDAC1 to midscale COXXXXy 00200 Doubles RDAC1 from midscale to full scale AOXXXXy COXXXX Prepares reading wiper setting from RDAC1 register XXXXXXy Reads back full scale value from RDAC1 register REV 0 AN 627 APPLICATIONS AD5235 100mV R1 R2 10kO Vi R1 ARDAC p R2 EXTERNAL R2 Vo EXTERNAL 200mV 0 0 5 1 0 5V 2 5V 45V 2 51 lt Vo lt RI RAB XVI 9 v DC 2 5 Figure 4 Inverting Gain and Attenuator U1 AD5235 A2 SIGNAL INPUT HERE 1V R R Vo RDAC 45V 42 54 0 0 5 1 0 V Vo 1 lt Vo POTSETTING Vi lt 1 5V 2 5V Figure 5 Bipolar Unity Gain Amplifier U1 AD5235 FB INPUT 1 2
5. 1 0 0 0 X X X X X D9 D8 D7 D6 05 D4 D3 D2 D1 C2 C1 2 1 AO 015 D14 D13 012 D11 D10 D9 D7 D6 05 D4 D3 D2 D1 Command bits are CO to C3 Addresses bits are A3 to AO Data bits DO to D9 are applicable to the RDAC wiper register whereas DO to D15 are applicable to the EEMEM register Command instruction codes are defined in Table ll Table AD5235 Instruction Operation Truth Table Instruction Byte 0 Data Byte 1 Data Byte 0 Instruction 23 16 B15 ooo B8 7 BO No C2 C1 CO 2 A1 AO XeeeD9 D8 D7 DO Operation 0 0000 X X X X Xeee X Do nothing See Table V 1 0001 O 0 0 AO XeeeX X Xeee X Write the contents of EEMEM AO to RDAC AO This command leaves the device in the read program power state To return the device to the idle state perform instruction 0 See Table V 2 0010000 XeeeX X Xeee X Save wiper setting Write the contents of RDAC AO to See Table IV 34 O 0 1 1 A3A2A1A0 D15 eee D8 D7e ee DO Write the contents of serial register data bytes 0 and 1 total 16 bit to EEMEM ADDR See Table VII 4 0 1 0 0 0 0 0 XeeeX X Xeee X Decrement 6 dB Right sh
6. 8245 d LA A A AU HAAAAAAAAAAAAAAAAAAAAAAA AA 22244442 Wi m 1 RJ O JD 123 ut 2092088 5 2 lt 132425 d UG TTTIITI TT TTIT TTTIIII 0000000 0000000 TTTIITI eeeeeee eeeeeee eeeeeee HAAAAAAAAAAAAAAAAAAAAAAAAAJ Figure 18 Top Layer 14 AN 627 e LE E E EE 08664 eo HIAAAAAAAAJ 0 ees 9000 a HIAAAAAAAAA 900 12
7. ANALOG DEVICES AN 627 APPLICATION NOTE One Technology Way Box 9106 Norwood MA 02062 9106 Tel 781 329 4700 Fax 781 326 8703 www analog com AD5235 Evaluation Kit User Manual by Alan Li 7 STEPS TO EVALUATION KIT SETUP The AD5235 evaluation kit AD5235EVAL25 consists of a demonstration board and software for evaluating the AD5235 It is a user friendly tool that you can control o 1 INSTALL THE AD5235 SOFTWARE 2 INSTALL THE DRIVER 3 CONNECT THE PARALLEL PORT CABLE 4 CONFIGURE THE EVALUATION BOARD 5 APPLY THE POWER SUPPLY with your personal computer through the printer port The driving program is self contained so no program ming languages or skills are needed Figure 1 provides an overview of how to set up the kit 500 and OGNO lt Direct Como T 3553 n 58 89 n EP EEE PRE 44441444 6 OPEN THE AD5235 SOFTWARE AND PROGRAM THE RESISTANCE SETTINGS 7 MEASURE THE RESULT Figure 1 Evaluation Kit Setup REV 0 AN 627 SETTING UP THE AD5235 EVALUATION BOARD Step 1 Installing the AD5235 Software To install the AD5235 software from the Revision CD run setup exe under D AD5235 Evaluation Software Package During the installation select Ignore or Yes to bypass error messages if they occur You may need to install the software a few times to get a successful
8. IA THE CONTROL PORT NTPORT1 ADDRESS 890 REMAINING 8 PINS ARE GROUNDED Figure 21 Parallel Port Connector Configuration For VB Program Developers Only BIT3 PR PINS 1 1 1 1 1 1 1 1 1 1 1 1 2 CS I EE PIN 4 1 1 1 1 1 1 1 BIT 1 CLK PIN 3 1 1 1 1 1 1 1 1 BITO SDI PIN 2 l l l l 1000 1010 1 1 i 1 BINARY CODE 1100 1001 1011 11100 1 1 1 DECIMALCODE 12 9 11 8 1 101 12004000412 SEND OUT SEND OUT NO ACTIVITY TOGO 1 TOGO 0 LATCH DATA Figure 22 Timing Definition For VB Program Developers Only 17 18 19 2004 Analog Devices Inc All rights reserved Trademarks and registered trademarks are the property of their respective owners 20 03554 0 3 04 0
9. V Ig 10nA 100 0 RDAC 10k R1 10 0 0 5 1 0 V Vo POTSETTING 5V 2 5V Figure 6 High Sensitivity I V Coverter REV 0 9 AN 627 ViN V A RDAC B Vi R1 ARDAC B Vo Rwa E R1 _ x D Rag Vo Qn x Ri Vi ARDACB Vo R e Pwes RwA D X 5021 5V 2 5V 5V 2 5V AD5235 5V 2 5V Figure 7 Buffered Output Voltage u1 AD5235 5V Rag 10k2 0 0 5 1 0 V Vo POTSETTING 0 1 R1 5 Rag 10kQ 0 5 1 0 V Vo POTSETTING 7 2 5 Figure 8 Inverting Linear Gain and Attenuator Ui AD5235 10V Vj 2 01V Rag 10 7100 0 5 1 0 V Vo POTSETTING 2 5V Figure 9 Inverting Quasi Log Gain and Attenuator 10 REV 0 REV 0 AN 627 AD5235 Vv A RDAC B R2 10V V 2 01V Rag 10 R2 1000 9 JP8 3 Vo 5V 2 5V 100 6 0 5 1 0 5V 2 5V V Vo 282 POTSETTING Rwa Vo 2X 2 x R2 2 D x Rap 5V 2 5V Figure 10 Inverting Exponential Gain and Attenuator AD5235 R1 B R1 5kQ Rag 10 Vo Vi 0 5 1 0 V Vo Gals Bun POTSETTING D x Rag Vo E Vis Figure 11 Noninverting Linear Gain 01 GND AD5235 10V A RDAC B 01V Rag 10kQ 100mV U3 G Rwe AD820AR Rwa D vo wx 0 5 1 0 V
10. Vo POTSETTING Figure 12 Noninverting Quasi Log Gain AN 627 GND Ui AD5235 10V Vj 2 01V Rag 10 R2 10 0 ARDAC B R2 100mv 0 0 5 1 0 V Vo POTSETTING R2 G 1 Rwa 2n x R2 Vo V x 1 n D x Ras x R1 EXTERNAL 5V 2 5V VW V x y Rwa 8 Y 5 2 5 Figure 14 Ultrafine Adjustment 12 REV 0 AN 627 R1 R2 RDAC 2 180 2tan 1wRC VA RDAC Vo VREF VB REV 0 01 AD5235 5V 2 5V 5V 2 5V Figure 15 Phase Shifter AD5235 5V 2 5V 5V 2 5V Figure 16 Level Detector 13 2 0V 2 0V 0s 100ps 200ps 300ps TIME 5 0V VA V 2 5V VB V 2 2 5V Vrer OV 0 0 5 1 0 POTSETTING AN 627 PCB LAYOUT t JEJE J 7690090990960 0 9 2 TPCLK 552327405235 Eval Board Rev B c e 2 0000090000006 8 CE AL ULA ai gi E c7 ANALOG DEVICES INC TPSDO TP PR TPRDY 1042890658 44 jpg ANALOG DEVICES INC lt TP DO TD PR TPRDY im B JP d a 4 4 05232 052351 550 JP e2 c GP O8208R sr 8 1 2 9
11. ift contents of RDAC AO stops at all zeros 55 0 101 X X X X XeeeX X Xeee X Decrement all 6 dB Right shift contents of all RDAC registers stops at all zeros 65 O 1 1 0 0 0 0 XeeeX X Xeee X Decrement contents of RDAC AO by stops at all zeros 75 0 1 11 X X X X XeeeX X Xeee X Decrement contents of all registers by one stops at all zeros 8 10000000 X Reset Load all RDACs with their corresponding EEMEM previously saved values 9 1 0 0 1 A3A2A1A0 XeeeX X Xeee X Write contents of EEMEM ADDR to serial register data bytes 0 and 1 SDO activated See Table VIII 10 1 0 1 0 O 0 O AO XeeeX X Xeee X Write contents of RDAC AO to serial register data bytes 0 and 1 SDO activated See Table IX 11 1 O 1 1 0 O O AO XeeeD9D8 D7 eeeD0 Write contents of serial register data bytes 0 and 1 total 10 bit to RDAC AO See Table Ill 125 1 1 0 0 O 0 O AO XeeeX X Xeee X Increment 6 dB Left shift contents of RDAC AO stops at all ones See Table VI 135 1101 X X X X XeeeX X X Increment all 6 dB Left shift contents of all RDAC registers stops at all ones 145 1 1 1 0 0 O 0 XeeeX X Xeee X Increment contents of RDAC AO by one stops at all ones See Table IV 155 1111 X X X X XeeeX X Xeee X Increment contents of all RDAC registers by one stops at all ones NOTES The SDO output shifts out the last 24 bits of data cl
12. installation Step 2 Installing the Driver for PC Parallel Port Communications In addition to installing the AD5235 software you need to install a third party driver NTPORT from Upper Canada Technologies UCT for access to the PC parallel port UCT offers a free trial with a nominal license fee after 30 days 1 Download the driver from www uct on ca From the UCT website download NTPORT OCX Save ntport zip in the default or specified directory Unzip and extract all the files to the directory 2 Run setup exe If the setup procedure indicates file violations during installation select Ignore to bypass them 3 Ensure that the driver file dlportio sys is in the correct system directory a Run loaddrv exe under c program files project1 or the specified directory A dialog box appears LoadDry x Full pathname of driver ic windows system32 drivers Install Start Stop Remove Status Note If Windows displays an error message such as Can t connect to service control manager contact the IS department for authority to continue installation b Change the pathname of the driver according to the operating system e On a Windows 2000 or Window NT system enter c winnt system32 drivers dlportio sys e On a Windows XP system enter c windows system32 drivers dlportio sys c Click the Install button then the Start button If the status message indicates success the driver is installed and o
13. nt 0 09 TPCLK Test point 0 09 TPSDI Test point 0 09 TP CS Test point 0 09 5 V Post pin 0 125 GND Post pin 0 125 B1 Post pin 0 125 W1 Post pin 0 125 A1 Post pin 0 125 V DC Post pin 0 125 V AC Post pin 0 125 C9 RAD 0 1 A2 Post pin 0 125 W2 Post pin 0 125 B2 Post pin 0 125 5 V Post pin 0 125 VO Post pin 0 125 V Post pin 0 125 V Post pin 0 125 JP8 Jumper 0 3 JP9 Jumper 0 3 JP7 Jumper 0 3 JP6 Jumper 0 3 JP1 Jumper 0 3 JP11 Jumper 0 3 JP10 Jumper 0 3 16 Designator Footprint Comment TPRDY Test point 0 09 TP WP Test point 0 09 TP PR Test point 0 09 DGND DGNDPAD C12 RAD 0 1 0 1 uF C7 RAD O 1 0 1 uF C11 RAD 0 1 0 1 uF C6 RAD 0 1 0 1 uF C5 RAD 0 1 0 1 uF CS Axial 0 3 100 Axial 0 3 100 SDI 0 3 100 R4 Axial 0 3 10 kQ R3 Axial 0 3 10 kQ R2 Axial 0 3 10 kQ R1 Axial 0 3 1 C8 RAD 0 2 C13 RAD 0 2 4 7 uF C10 RAD 0 2 4 7 uF U2 SOT 23 AD1582 U1B TSSOP 16 AD5235TSSOP U1A LFCSP 16 ADN2850CSP 5mmx5mm U3B DIP8 AD820AN U3A SO 8 AD820AR J1 DB25SL DB25 JP15 SIP2 Header JP14 SIP2 Header JP5 SIP2 Header JP3 SIP2 Header JP2 SIP2 Header JP4 SIP2 Header JP12 SIP2 Header JP13 SIP2 Header 51 DIP8 SW DIP4 REV 0 AN 627 REV 0 NOTES 8 OUTPUT PINS ACCESSED VIA THE DATA PORT NTPORT1 ADDRESS 888 5 INPUT PINS 1 INVERTED ACCESSED VIA THE STATUS PORT NTPORT1 ADDRESS 889 4 OUTPUT PINS 3 INVERTED ACCESSED V
14. ocked into the serial register for daisy chain operation Exception For any instruction following instruction 9 or 10 the selected internal register data will be present in data byte 0 and 1 The instructions following 9 and 10 must also be a full 24 bit data word to completely clock out the contents of the serial register The RDAC register is a volatile scratchpad register that is refreshed at power on from the corresponding nonvolatile EEMEM register 3 Execution of the above operations takes place when the CS strobe returns to logic high Instruction 3 writes two data bytes total 16 bit to EEMEM However in the cases of addresses 0 and 1 only the last 10 bits are valid for wiper position setting 5 The increment decrement and shift commands ignore the contents of the shift register data bytes 0 and 1 REV 0 7 AN 627 PROGRAMMING EXAMPLES The following programming examples illustrate the typical sequence of events for various features of the AD5235 Refer to Table Il for the instructions and data word format The instruction numbers addresses and data appearing at the SDI and SDO pins are displayed in hexadecimal format in the tables Table Ill Scratchpad Programming SDI SDO Action B00100 Loads data 100 into the RDAC1 register Wiper 1 moves to the 1 4 full scale position B10200 00100 Loads data 200 into the RDAC2 register Wiper 2 mo
15. perating Click OK 4 Set up the driver for automatic startup Use the following steps that apply to your operating system For Windows 2000 and XP Systems a Go to the Device Manager e On a Windows 2000 system click Start Settings Control Panel 5 System Hardware Device Manager e On a Windows XP system click Start 5 Control Panel System Hardware Device Manager REV 0 AN 627 b Locate Non Plug and Play Drivers and dlportio in the Device Manager If the Non Plug and Play Drivers entry is not vis ible click the View menu in Device Manager and Device Manager select show Hidden Devices to make sure that hidden driver files are listed If you do not see diportio reboot Windows rerun loaddrv exe and then reboot Windows Action gt m amp Floppy disk drives 52 IDE ATA ATAPI controllers E Infrared devices 3 Keyboards D Mice and other pointing devices 428 Modems Monitors El Network adapters gt Non Plug and Play Drivers gt AFD Networking Support Environment lt gt Diskperf lt gt dmboot lt gt dmload Fs Rec lt gt Generic Packet Classifier lt p IPSEC driver lt gt IrDA Protocol lt gt KSecDD x mnmdd lt gt mountmar lt gt 5 0 access control c Double click dlportio in the Non Plug and Play Drivers list The dlpor
16. tio Properties page appears diportio Properties 2 General Driver gt dipartio Service name dlportio Display name DLPORTIO r Current status Status Started Start f r Startup Type Automatic X Driver Details DK Cancel d At the Driver tab select Startup Type as Auto matic click Current status to Start and click OK Note If Startup is not active and you cannot change Type your computer may be administered by your IS depart ment You may need to consult them to change your PC administrative setting REV 0 E AN 627 For Windows NT Systems a From the Windows NT Control Panel select the Devices icon The Devices dialog box appears Status Close Start Stop Startup Disk Started Boot Started Manua Disabled 7 dtc329x Disabled B et4000 Disabled Hw Profiles Fastfat Started Disabled Fat32 Started System b Select dlportio and click the Startup button The Device Startup Type dialog box appears From the option buttons select Automatic and then click OK Device DriverLIN Port Driver Startup Type OK Pus OK System Cancel C Manual C Disabled Step 3 Connecting the Parallel Port Cable Connect the parallel port cable from LPT1 on your PC to the AD5235 evaluation board Step 4 Configuring the Evaluation Board Follow these requiremen
17. ts to configure the AD5235 evaluation board e For a single supply connect JP14 and JP13 to ground Vss of U1 03 Apply 5 V to Pin 5 V Note Some boards do not come with jumper caps You should supply suitable caps or simply short the jumpers for proper operation For dual supplies connect JP15 and JP12 to connect the 5 V pin to Vss of U1 and U3 Warning Apply 2 5 V to Pin 5 V and 2 5 V to Pin 5 V instead Select the states of PR and WP from the DIP switches on the evaluation board e SDO can be monitored at TPSDO Step 5 Applying the Power Supply Provide a power supply to the AD5235 evaluation board according to Step 4 for a single supply or for dual supplies Step 6 Using the Evaluation Board To open the AD5235 software program from Windows click Start Programs gt AD5235 Rev Figure 2 shows the graphical interface In the Direct Con trol pane on the right you can move the scroll bars or click the buttons to control the device In the top pane you can adjust the bit pattern and then click Run to pro gram the device In the bottom pane you can approximate Rwa Ryg by first entering the measured Rag after power is applied Step 7 Measuring the Result Use a multimeter to measure the result of your program applications on the AD5235 evaluation board UNINSTALLING SOFTWARE To uninstall the AD5235 software and NTPORT driver use Add Remove Programs in the Control Panel
18. ves to the 1 2 full scale position Table IV Incrementing RDAC Followed by Storing the Wiper Setting to EEMEM SDI SDO Action 100 XXXXXXy Loads data 100 into the RDAC1 register Wiper 1 moves to the 1 4 full scale position B001004 Increments the RDAC1 register by one to 1014 EOXXXX Increments the RDAC1 register by one 102 Continue until the desired wiper position is reached 20XXXXy Saves RDAC1 register data into EEMEM1 22 Optionally tie WP to GND to protect EEMEM values Table V Restoring EEMEM Values to RDAC Registers SDI SDO Action 10 XXXXXX Restores EEMEM1 value to RDACT1 register OOXXXXy 10 Recommended step to minimize power consumption 8 00XXXX Resets EEMEM1 and EEMEM2 values to RDAC1 and RDAC2 registers respectively EEMEM values for RDACs can be restored by power on strobing the PR pin or programming as shown above Table VI Using Left Shift by One to Increment 6 dB Steps SDI SDO Action COXXXXj XXXXXXy Moves wiper 1 to double the present data contained in the RDAC1 register C1XXXXy COXXXXy Moves wiper 2 to double the present data contained in the RDAC2 register Table VII Storing Additional User Data EEMEM SDI SDO Action 32AAAA Stores data AAAA into spare EEMEM location
Download Pdf Manuals
Related Search
Related Contents
Modèle WT3-201M Manuel d`utilisation - Mark-10 IN190 Supermicro SuperChassis 502-200B Black 2. The main window - NCT Ipari Elektronikai Kft. 8 i al Fractional Whirlpool Front Loading Automatic Washer Washer User Manual Personal Computer Family Service Information Manual - IBM User Manual - Amazon Web Services Copyright © All rights reserved.
Failed to retrieve file