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 STEVAL-ISB008V1 in various applications RoHS compliant The STEVAL- ISB008V1 is equipped with both a USB and a DC adapter connector. Description The board can supply a maximum battery The STEVAL-ISB008V1 demonstration board is charging current of 400 mA for a USB port, based on the STw4102 battery charger device extending to 800 mA for a DC adapter. 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. 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 2 STM32F103C6 is done through an I C interface. November 2009 Doc ID 16764 Rev 1 1/4 For further information contact your local STMicroelectronics sales office. www.st.com 4 6767 3636 / / 9, 37 //B 3 62629 9 677677 3)3) 636636 6:6: % % 3& 3737 /2 6:6: 8 8 6 /2 3 % 3 92 87 6&/ 67 <B % 3 3 9 67 %< 9, 67 <B 3 3 & += / (75 (& 3: & & 6767 3 / 59 *B &+ (2 3 3 &B &9,6 3 3& 3 3 ,6 &95() 3& 3& 17 0 3& 9 S)S) *B &+ (2 (73:(&7 (75 (& 3: ,&* 3 ,&* 0 37 //B < < S)S) % % 6767 3636 / / 3% B %22 %22 9, S)S) 86 *1 , 6+(/ 6B *B 86 6+(/ 86 6+(/ *1 86 9&& 6+(/ 8 8 S)S) ,1 *1 ,1 287 %< 8 8 Schematic diagrams STEVAL-ISB008V1 1 Schematic diagrams Figure 1. STEVAL-ISB008V1 schematic diagrams ) Q) Q ) Q) Q NN Q576 NN * 3B607B - 3B 3 3B0 3 1B 73 3.B 5 5 1 % % 3% 3% 3% 3% 7 966 B 3 B B 37 - 7 .B-& *B 3 3 7 - *B 3% 7 - 3% - 7 B B* 3% 7,%,+ 3% 3% 3% 7 B %22 3% 3% 3% 3% 3% 6 B B & , 2 7 3 // 7 %22 3 3 3% 3 6 6 7 7 0 0 )) 3 3% 3 3% 3 : 3 3 7 B 1 B 3 3 NN )) 9% B B&3 & B3 B 3 B 156 966 . B 7 B 73 2, B6&1 7 B8&622 16,2 7&2B628 7 :83 Q Q 7 4 005 +6.1&3 108&3 4611- ,B&1 7B8&2 67 3 % 83B3 B / )) 3 3B 0B 3 Q Q 3& )) 1&B, &B287 Q Q 3& )) Q Q 3 B B )) Q Q ++ 3 9 9 ) X ) X Q Q) ) , 2 , 2 Q) Q) 6 8 9% B83B3 3% .* 30 0/50--&3 4& 5*0 3 3 // , 2 , 2 9 9 B B 1 -0 % -0 % 88 9 B 9 ) X X) 5 .. * 6 )) Q Q 3 0% 3 % * % B B% PP Q)) Q .B3 % 3 3 & N N 1 / / / / . 5 (7 77% (6(16 * . 5 64 4& 5*0 % 776(16( / N N / 7 6 ) Q Q ) 7B%3B7B%3B 5 , (9 5 *1 NN NN NN N N 8 5 ( 5 1, :56%3 1 2&+* 2 )%2 2 (6(17 NN NN )) NN NN 1 N N Q Q : 5 9 1B37 6 NN )) 88 Q Q )) 7 * Q Q NN /7 /7 : 5 1 7- 76 5*4 * B7*B - *B-7 3 307 7- - 3 B* .B &-7 N N NN 5 5 4 && / / 5 & B 317 3 &*2 &B*1B2111 4 3% 38 --150 3+5 ( 0//& 50 458 55&3: 3(&3 0 . 2/4 Doc ID 16764 Rev 1 9 & & 5 5 5 5 5 5 5 5 9 & & & & 5 5 86% & & 86% 5 5 & & & & - - 86% 5 5 9 86% 0 -73%56 17 5 5 - - 86% 86% 0 -7,B 86% 0 86% 3 86% 3 5 5 86% 86%86% & & -7 & & & & 5 5 5 5 &. 57 0 0 N N *B -7 2B 3% 5 5 86% Q5 - - - - % 5 5 86% 9 9 5 5 5 5 % &. *1 *1 5 5 &2&2 1 1 &2&2 1 1 -7-7 &2&2 1 1 & & 26 - - & & 8 8 5 5 5 5 0 0 0 0 5 5 LOL 2LOL 2 +0+0 8 8 & & 86% & & 26 & & 9 9 *1 & & 5 5 -7 5 5 86% & & 9 26 86% Z Z 6767 26 5 5 & += Q5 N N 9 *1 & += 5 5 9 9 N N - - , &B 6&/B 3% & & & & & & & & & & 86% , &B 6 B 3% 5(6( *1 &2&2 1 1 9 *1 /(/( /(/( /(/( /(/( /(/( 9 5 5 5 5 5 5 5 5 5 5 5 5 9 5 5 & & ,&,& & & 5 5 *1 5 5 9 5 5 5 5 9 5 5 - - - - *1 &2&2 1 1 7( 9 9 5(6( *1 966 B %2 , &B 6&/B 3% -7563% 17 3% *B -7 2B 3% 3% *1 -7,B 966 B 9 9 9,