DEMO C IR C U IT 1 2 2 3 A-B DC1223A-B Q U IC K S TAR T G U IDE U S B to S MBU S / S P I In te rfa c e DESCRIPTION Demonstration Circuit 1223A-B facilitates communication betw een PC-based user interface softw are and Linear Tech SM Bus/I2C demonstration boards. DC1223A-B connects to the computer via U SB. It receives pow er from the U SB and isolates the computer ground from the SM Bus/I2C demonstration board. DC1223A-B adds to DC1223A the SM Bus M onitoring feature. The DC1223A-B can be used in three w ays, depending on the softw are available for the demonstration board under evaluation (DBU E): QuickEval mode. Q uickEval mode is the easiest w ay to communicate w ith a Linear Technology SM Bus/I2C demonstration board. H ow ever this is limited to new er Battery Charger demoboards like the DC1259A. Q uickEval application specific user interfaces are available at http://w w w .linear.com/designtools/softw are/. Figure 2 show s an example of an application specific user interface for DC1259A demo board. D C410 Emulation mode. A number of Linear Tech demonstration boards offer softw are for use w ith the DC410 Serial Port-to-SM Bus Interface Board, e.g. DC285 (LTC1695), DC182 (LT1786F), DC286 (LTC1960), DC486 (LTC1760), DC496 (LTC4008), and DC512 (LTC4100). For these boards, the DC1223A-B can be used to replace DC410. These Demo Boards have application specific user interface programs but they are not part of the Q uickEval softw are program. These application specific programs are available from Linear Technology sales department. N O TE. This is not a standard mode of operation. Please see detailed Instructions in Appendix A to replace DC410 w ith DC1223A-B . General U ser Interface mode. General user interface mode is for demo boards that do not offer customized softw are. The general user interface is PC-based, and graphical, but not application specific. It can send out discrete commands to any SM Bus/I2C device (see Figure 2 and Appendix B), supporting nine different SM Bus command protocols: Send Byte, R eceive Byte, W rite Byte, R ead Byte, W rite W ord, R ead W ord, Block W rite, Block R ead and Block W rite-R ead Process calls. It also supports additional command protocols for PM Bus: Extended R ead Byte, Extended W rite Byte, Extended R ead W ord, Extended W rite W ord and Group Send. It can also M onitor the SM Bus traffic of an existing communication betw een a M aster and a Slave. Contact the Linear Technology sales department for the latest general user interface softw are. L, LTC, LTM , LT, Burst M ode, O PTI-LO O P, O ver-The-Top and PolyPhase are registered trademarks of Linear Technology Corporation. Adaptive Pow er, C-Load, DirectSense, Easy Drive, FilterCAD, H ot Sw ap, LinearView , M odule, M icropow er Sw itcherCAD, M ultimode Dimming, N o Latency , N o Latency Delta-Sigma, N o R SEN SE, O perational Filter, PanelProtect, Pow erPath, Pow erSO T, SmartStart, SoftSpan, Stage Shedding, Sw itcherCAD, ThinSO T, U ltraFast and VLDO are trademarks of Linear Technology Corporation. O ther product names may be trademarks of the companies that manufacture the products. 1 DC1223A-B Q U ICK STA RT PROCEDU RE (Q U ICK EV A L M ODE) Demonstration circuit 1223A-B is easy to set up to evaluate the performance of Linear Tech SM Bus/I2C demonstration boards DC1223A-B. R efer to Figure 1 for proper measurement equipment setup and follow the procedure below : N O TE. The DC1223A-B Is pow ered from the H ost PC via U SB. 1. Dow nload the Q uickEval softw are from http://w w w .linear.com/designtools/softw are/. Follow the installation instructions carefully. 2. W hen prompted to plug in the Demo Board, first connect the U SB cable to the DC1223A-B and then connect the Demonstration Board U nder Evaluation (DBU E) to the DC1223A-B. Pow er up the DBU E as recommended in its Q uick Start Guide. USB CABLE TO HOST PC DC1223 3. Check to see if there are already pull up resistors on the DBU E. If yes, set jumpers JP1 and JP2 on DC1223A-B to O pen. 4. Check to make sure jumper JP4 is on "Direct". JP4 should only be on "VCP" if it is doing R S232 emulation for replacing DC410. See Appendix A for this feature. 5. The "Found N ew H ardw are W izard" w indow may pop up. If it does then choose the "R ecommended" Installation. N O TE. IfW indow s cannot find the device driver, then select "Install from a list or specific location(Advanced)". Enter the installation path as "C:\\Program Files\LTC\Q uikEval\driver". The associated softw are for the DBU E should pop up. SMBus Comms Demo Bd Under Evaluation +Vin Gnd Power As Required Figure 1. Typical Equipment Setup 2 DC1223A-B Figure 2. D C1259A Application Specific U ser Interface Program (QuickEval) 3 DC1223A-B A PPENDIX A : DC4 1 0 EM U L A TION M ODE A number of older Battery Charger demonstration boards, including the DC286 (LTC1960), DC486 (LTC1760), DC496 (LTC4008) and DC512 (LTC4100) used the DC410 to send SM Bus commands to/from a PC via a serial R S232 com port. The softw are developed for this configuration w as based on Labview . This softw are is provided w hen you order these older demoboards. Please contact Linear Tech Applications if you need a copy. H ow ever, as R S232 is disappearing, and is being replaced by U SB, the DC1223A-B replaces the DC410. The DC1223A-B can be used to emulate a R S232 com port for backw ards compatibility w ith the existing application-specific Labview softw are. N O TE. If you don't w ant to use the legacy Labview softw are w hich requires R S232 emulation, you can alternatively use a General U ser Interface(GU I) softw are developed to communicate using DC1223A-B w hich does not require R S232 emulation (use U SB directly). H ow ever you w ill be missing the user friendly interface specific to a particular device, for example the LTC1760, LTC4100 or LTC1960 available in the legacy Labview program. Instead the GU I requires you to input the parameters yourself. For the GU I program, skip the below instructions and go to the Appendix B. So the new configuration is a DC486 (for example) and a DC1223A-B. The same Labview softw are can still be used. H ow ever you need to follow these steps as it involved R S232 emulation. IN STALLIN G SO FTW ARE TO EM ULATE DC410 (R S232) 1. Connect the hardw are as show n (Figure 3). Do not connect the U SB port to the computer yet. 2. DC1223A-B jumper positions should be: - JP5 on "5V" - JP4 on "VCP" (Virtual Com Port). N O TE. This is a very important step. W hen you change the jumper to JP4, you are telling the FTDI chip to emulate a R S232 port. IfJP4 is on "Direct", the FTDI chip w ill communicate directly as a U SB. 3. Install DC1223A-B.msi, but don't run it. If you need a copy of the softw are please contact Linear Technology Sales Department. N O TE. For W indow s Vista users, please follow the instructions available in the DC1223A-B.zip folder. R ead the "Installing DC1223AB_Vista.htm" file. 4. Connect the U SB cable to the PC now . W ith JP4 on "VCP", you may need to install a driver on your computer. If prompted to install the driver (see Figure 4) for U SB Serial, select "Install from a list or specific location (Advanced)". Type in the path for "C:\Program Files\LTC\DC1223A-B\driver". If asked to overw rite driver, click "Yes". You do not need to launch DC1223A-B. 5. If prompted to install the driver for U SB Serial Port, follow step 4. O therw ise go to the next step. 6. Exit DC1223A-B if it is launched. 4 DC1223A-B Figure 3. H ardw are Setup betw een a D C1223A-B and a D C486 (can be D C512, D C486, D C286, etc). JP4 should be on VCP. Figure 4. D river Installation 7. Go to the Computer's Device manager by choosing (Start Control Panel System H ardw are tab Device M anager). Look at the Ports (CO M & LPT). N otice the U SB Serial Port (CO M 4). This tells you that a Virtual Com Port now exists (the U SB emulated a R S232 com port) so that you can continue using the legacy Labview program. See Figure 5. 8. If the R S232 com port emulated is higher than 4, please change it to any number betw een 1 and 4 by right clicking on Ports (CO M & LPT), select the Port Settings tab and select Advanced... . Change the Com port number to a number from 1 to 4. See Figure 6. 9. Launch the softw are for the demo board under evaluation (eg. DC486) and w hen prompted to enter the R S232 com port, use the number you obtained from step 8. If you need a copy of the softw are please contact Linear Technology Sales Department. For DC486, you w ill need dc486v2.exe. See Figure 7. 5 DC1223A-B Figure 5. D evice M anager Figure 6. Change the CO M port that U SB is emulating Figure 7. Launch D C486 softw are and select the CO M port emulated in step 8. 6 DC1223A-B A PPENDIX B: U SING DC1 2 2 3 A -B'S G ENERA L U SER INTERF A CE 1. M ake sure you have the latest version of DC1223AB.zip. Do not connect the U SB cable to the PC yet. Install the DC1223A-B.msi softw are if not already done. Please contact Linear Technology Sales Department if you need a copy of the softw are. N O TE. For W indow s Vista users, please follow the instructions available in the DC1223A-B.zip folder. R ead the "Installing DC1223AB_Vista.htm" file. 2. M ove JP4 of D C1223A-B to Direct if it is not already done. This is very important! 3. Connect the hardw are the same w ay as show n in the previous section (Figure 3). N O TE. It is not necessary to use a DC486. Any SM Bus device w ith SCL, SDA, GN D can be connected to DC1223A-B via the P2 connector. For example you can use a Smart Battery as a SM Bus device as show n in Figure 8. Smart Battery is a M aster/Slave device. 5. Launch DC1223A-B_M onitor.exe. 6. A General U ser Interface w indow appears as show n in Figure 9. Input the Slave Address and the commands to talk to the Smart Battery or LTC1760. 16H EX is the Slave address of the Smart battery. A 16H EX device command is the AlarmW arning() command sent to the battery. The read w ord result is 00C0H EX , meaning no Alarms raised except that the battery is currently discharging. For more information about the meaning of device command 16H EX go to View SBS SBS Table. 7. To go into SM Bus M onitor mode, go to Tools M onitor. You w ill see the w indow s in Figure 10. For more detail instructions go to H elp H elp Topics. Figure 8. SCL, SD A, G N D connections to any SM Bus D evice 4. You may be prompted w ith a H ardw are Driver Installation w indow w hen the U SB cable is connected to the PC. If prompted to install the driver for LTC O N BO AR D R S232 CN TLR , select "Install from a list or specific location (Advanced)" and type in the path for "C:\Program Files\LTC\DC1223A-B\driver" and follow the instructions to install the driver completely. If asked to overw rite driver, say Yes. Figure 9. G eneral U ser Interface for SM Bus communication 7 DC1223A-B Figure 10. G eneral U ser Interface SM Bus M onitor mode 8 DC1223A-B A PPENDIX C: SCH EM A TICS A ND BIL L OF M A TERIA L S Table 1. Bill of Material for the DC1223A-B ITEM 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 QTY 15 1 1 1 1 1 2 2 2 3 2 2 1 3 1 1 1 1 1 1 2 3 2 R EFERENCE C1-C3,C5-C11,C13-C16,C18 C4 C12 C17 C19 C20 C21, C23 C22, C24 D1,D3 D2,D4,D5 D6,D7 E1,E2 FB1 JP1-JP3 JP4 JP5 J1 P1 P2 Q1 Q 2,Q 3 R 1,R 2,R 8 R 3,R 4 PART DESCR IPTIO N Cap., X7R 0.1uF 16V 10% Cap., X5R 1uF 16V 10% Cap., X7R 0.01uF 25V 10% Cap., X5R 100uF 6.3V 20% Cap., N PO 330pF 25V 5% Cap., X7R 2200pF 1KV 20% Cap., X5R 22uF 25V 20% Cap., X5R 10uF 10V 10% LED, GR N Schottky (Comm-Anode) Diode Schottky Diode, Dual SO T23 Turret, Testpoint Ferrite Bead, PbF H eaders, Dbl. R ow 2x3 2mm Ctrs. H eaders Sq. Post, Dbl. R ow 2x3 0.1"Ctrs. H eaders, 1x3 2mm Ctrs. U SB Conn, Type B R eceptacle Conn,, DB15-M 2mm H eaders, Dbl. R ow 0.1Ctrs. XSTR . N PN 40V 350M W SM D SO T23 M O SFET, N -CH . 60V 115M A SO T23 R es., Chip, 15K, 0.1W , 5% , 0603 R es., Chip, 750, 0.1W , 5% , 0603 M AN U FACTUR ER /PAR T # AVX 0603YC104KAT2A Taiyo Yuden EM K107BJ105KA-T AVX 06033C103KAT2A Taiyo Yuden JM K325BJ107M M -T AVX 06033A331JAT2A AVX 1206AC222M AT2A AVX 12103D226M AT2A Taiyo Yuden LM K212BJ106KG-T Panasonic LN 1351CTR Diode Inc. BAT54A-7-F Diodes Inc. BAT54S-7-F M ill M ax 2308-2-00-80-00-00-07-0 Stew ard M I0805K400R -10 SAM TEC, TM M -103-02-L-D SAM TEC, TSW -103-07-L-D Samtec TM M -103-02-L-S M ill-M ax 897-43-004-90-000000 PbF AM P Inc. 574-9767-1 PbF Samtec TSW -112-07-L-D Diodes Inc. M M BT3904-7-F Diodes Inc. 2N 7002-7-F YAGEO , R C0603JR -0715KL YAGEO , R C0603JR -07750R L 24 11 R 5,R 6,R 9,R 10,R 12,R 16,R 19,R 32R 34,R 36 R es., Chip, 10K, 0.1W , 5% , 0603 Panasonic ER J3GEYJ103V 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 2 1 1 1 3 0 2 1 2 1 2 0 1 1 1 1 1 1 1 R 7,R 37 R 11 R 13 R 14 R 15,R 26,R 29 R 17 (O pt) R 18,R 25 R 20 R 21,R 28 R 22 R 23,R 24 R 27,R 31 (O pt) R 30 R 35 R 38 R 39 R 40 S1 T1 R es., Chip, 49.9K, 1/16W , 1% , 0603 R es., Chip, 5.1K, 0.1W , 5% , 0603 R es., Chip, 5.11K, 1/16W , 1% , 0603 R es., Chip, 80.6, 1/16W , 1% , 0603 R es/Jumper, Chip, 0, 1 AM P, 0603 R es/Jumper, Chip, 0, 1 AM P, 1206 R es., Chip, 1.5K, 0.1W , 5% , 0603 R es., Chip, 100K, 0.1W , 5% , 0603 R es., Chip, 1M , 0.1W , 5% , 0603 R es., Chip, 470, 0.1W , 5% , 0603 R es., Chip, 27, 0.1W , 5% , 0603 R es/Jumper, Chip, 0, 1 Amp R es., Chip, 2.2K, 0.1W , 5% , 0603 R es., Chip, 16.9K, 0.1W , 1% , 0603 R es., Chip, 26.7K, 0.1W , 1% , 0603 R es., Chip, 102K, 0.1W , 1% , 0603 R es., Chip, 41.2K, 0.1W , 1% , 0603 SW ITCH , EVQ PJS05K Transformer, 2.5:1:1 YAGEO , R C0603FR -0749K9L Panasonic ER J-3GEYJ512V YAGEO , R C0603FR -075K11L YAGEO , R C0603FR -0780R 6L YAGEO , R C0603FR -070R L YAGEO , R C1206FR -070R L YAGEO , R C0603JR -071K5L VISH AY, CR CW 0603100KJN EA YAGEO , R C0603JR -071M L YAGEO , R C0603JR -07470R L YAGEO , R C0603JR -0727R L YAGEO , R C0603FR -070R L YAGEO , R C0603JR -072K2L VISH AY, CR CW 060316K9FKEA YAGEO , R C0603FR -0726K7L YAGEO , R C0603FR -07102KL YAGEO , R C0603FR -0741K2L Panasonic EVQ PJS05K Pulse PA0510N LT 9 DC1223A-B 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 10 1 1 1 1 1 1 1 1 1 1 1 3 1 1 4 1 1 1 1 1 1 U1 U2 U 3 lot#422706.1, d/c0651 U4 U5 U6 U7 U 8 lot#427266.4, d/c0703 U 9 lot#410137.1, d/c0636 U 10, lot#398534.2, d/c0622 U 11 XJP1 - XJP2, XJP5 XJP4 Y1 M TG 4 CO R N ER S I.C., SM Bus Accelerator I.C., Analog M ultiplexer I.C., 3-Supply M onitor I.C., M icroController,(#FW 410V3) PR O GR AM I.C., Low Pw r. R esistor Set O sc. I.C., Serial Data Transfer I.C., Isolator N arrow Body I.C., EEPR O M I.C., DC/DC XFM R Driver I.C., LDO R EGU LATO R I.C., Low Dropout W /Shutdow n Shunt, 2mm Ctrs. Shunt, 2 x 2 0.1"Ctrs. Cer. R esonator, 6M H z STAN D-O FF, N YLO N , 0.25"TALL CABLE A-B M ALE DBL SH IELD 2M FAB, PR IN TED CIR CU IT BO AR D STEN CIL:ST-1223A-R ev0 3781-12-0 3781-12-6 3781-12-9 Linear Tech. Corp. LTC1694CS5 Texas Inst. SN 74LV4052ADR E4 Linear Tech. Corp. LTC1326CS8 M ICR O CH IP, PIC16F76-I/SO Linear Tech. Corp. LTC1799CS5 Future Tech.Devices Int'l FT232BL(PbF) AVAGO Tech. H CPL-091J-000E (PbF) M icroChip 93C46B-I/M S Linear Tech. Corp. LT3439EFE Linear Tech. Corp. LT1761ES5-SD Linear Tech. Corp. LT1121CS8-5 Samtec 2SN -BK-G Samtec M N T-102-BK-G muR ata CSTCR 6M 00G15L**-R 0 KEYSTO N E, 8831 (SN AP O N ) ASSM AN N ELECTR O N ICS AK672 DEM O CIR CU IT 1223A R ev2 STEN CIL 1223A Pomona M iniGrabber Patch Cord Black Pomona M iniGrabber Patch Cord Blue Pomona M iniGrabber Patch Cord W hite DC1223A-B 11 DC1223A-B 12 DC1223A-B 13