STEVAL-ISB008V1 Standalone USB Li-Ion battery charger demonstration board based on the STw4102 and STM32F103C6 Data brief Features ■ The STw4102 Li-Ion battery charger IC: – supports battery charging by USB or external DC adaptor – includes an accurate gas gauge for monitoring battery capacity ■ On-board STM32F103C6 microcontroller enumerates and controls the STw4102 for compliance with USB specifications ■ Includes dual-color LEDs to indicate charging/discharging status ■ Suitable as a standalone Li-Ion battery charger in various applications ■ RoHS compliant STEVAL-ISB008V1 The STEVAL- ISB008V1 is equipped with both a USB and a DC adapter connector. Description The STEVAL-ISB008V1 demonstration board is based on the STw4102 battery charger device and the STM32F103C6 microcontroller. The board is designed as a complete standalone battery charger, and includes a gas gauge to monitor battery capacity using five LEDs to represent different capacity levels. Two status LEDs indicate battery charging, discharging and some fault conditions. The board can supply a maximum battery charging current of 400 mA for a USB port, extending to 800 mA for a DC adapter. By default, the firmware programmed in the demonstration board considers a battery capacity of 1200 mAh. This maximum capacity value is used to identify the percentage of available battery capacity, which is shown using the 5 LEDs. The demonstration board firmware allows the user to vary the maximum capacity up to 2100 mAh, in steps of 300 mAH. The STM32F103C6 microcontroller is used to control and monitor the STw4102 battery charger device. All communication between the STw4102 and the STM32F103C6 is done through an I2C interface. November 2009 Doc ID 16764 Rev 1 For further information contact your local STMicroelectronics sales office. 1/4 www.st.com 4 9 -7$*B-17567B3% '%*$&. '%*54 Q567 -7$*B-7'2B3% 57&. -7$*B-7&.B3$ -7$*B-706B3$ -7$*B-7',B3$ 5 N 5 N 5 N /2$' - 5 N ' ' 6 ' 6736/8 :$//B$'375 *1' ' ' * 8 6773)9627/ 8"--"%"1503 37& / 5 9,1 % 5 N 5 5 N 5 N 5 N 5(6(71 6'$ 6&/ 9,2 /'2'59 /'2)% &95() (2&+* 9 67'%<B3$ & Q) &.+=B3$ 5 PLOL2+0 5 . 86%B9&& 86%'0 86%'3 ,' 86%B*1' 6+(// 6+(// 6+(// 6+(// - & X) 6: 3$ 5 N 5 N &21 - *1' Q) & 9 "/5*5".1&3$*3$6*5 6(16( 9287 67'%< &.+= &9,6 ,6(7 6:B3%B6367 *1' %$77 ,&* ,&* 5 0 %$776(16( & Q) 64#4&$5*0/ 67Z 3:5'(7(&71 86%3:5 0$,1 8 3& 9 ,&B6'$B3% 5(6(71B3$ .04'&5@4551'7 3% 9 ,&B6&/B3% 5 N 5 N 5 N 3$ & Q) 86%9 :$//B$'375 (2&+*B3$ & Q) 5 N 3:5'(7(&71B3$ 3$ & Q) 458#"55&3:$)"3(&3 -7$*B&211 - 5 N '5,9(5 % % /2$' % % 86%9 ' 9,1 86%B'3 86%B'0 &21 - # # -0"% -0"% - &21 6736/8 86%9 86%B'0 86%9 ,2 ,2 5 N 86%B'3 86%B'0 5 5 & S) 86%'3B3$ & S) 86%'0B3$ ' /(' 5 ' /(' *1' & Q) 9 5 ' /(' & Q) 9 & S) < 0+] & S) 5 ' /(' & Q) 5 ' /(' & Q) 5 9 & Q) 26&B287 5 0 26&B,1 .*$30$0/50--&34&$5*0/ 86%B38B3$ & X)9 & Q) 86%/&3 ,2 *1' ,2 8 86%9 9%86 9 9 3& 3& 3& 26&B,1 26&B287 Q567 *1' 9 3$ 67'%<B3$ 86%B38B3$ %227 *1' 9 ,1 &21 - 9%$7 3&B$17B7$03 3&B26&B,1 3&B26&B287 3'B26&B,1 3'B26&B287 670)&7$ 1567 966$ 9''$ 3$B:.83 3$ 3$ 8 5 N 287 ,1+,%,7 /'$;; *1' %<3$66 8 #005+6.1&34 & Q) 108&34611-: 9 *1' 3% 5 N *1' 7(67 %227 ,&B6'$B3% ,&B6&/B3% 5 N 3% 3$ 3$ 3& Doc ID 16764 Rev 1 3& -7$*B-17567B3% -7$*B-7'2B3% -7$*B-7',B3$ -7$*B-7&.B3$ 2/4 9 &$%,& ' %227B3% 9''B 966B 3$ 3$ 3$ 3$ 3$ 3$ 3% 3% 3% 3% 9''B 966B 3% 3% %227 3% 3% 3% 3% 3% 3$ 3$ 9,1 3$ 5(6(71B3$ 3$ 3$ 3$ & Q) *1' 9 5 N 5 9 9 *1' -7$*B-706B3$ 86%'3B3$ 86%'0B3$ (2&+*B3$ 3:5'(7(&71B3$ &.+=B3$ 5 N Q567 3$ 3$ 3$ 3$ 3$ 3% 3% 3% 3% 3% 966B 9''B 5 &21 - & Q) Figure 1. *1' 9 1 %227B3% 3% +5"($0//&$503 Schematic diagrams STEVAL-ISB008V1 Schematic diagrams STEVAL-ISB008V1 schematic diagrams STEVAL-ISB008V1 2 Revision history Revision history Table 1. Document revision history Date Revision 10-Nov-2009 1 Changes Initial release. Doc ID 16764 Rev 1 3/4 STEVAL-ISB008V1 Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. © 2009 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 4/4 Doc ID 16764 Rev 1