![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
this is information on a product in full production. december 2014 docid15275 rev 14 1/83 stm8l101x1 stm8l101x2 stm8l101x3 8-bit ultra-low power microcontroller with up to 8 kbytes flash, multifunction timers, comparators, usart, spi, i2c datasheet - production data features ? main microcontroller features ? supply voltage range 1.65 v to 3.6 v ? low power consumption (halt: 0.3 a, active-halt: 0.8 a, dynamic run: 150 a/mhz) ? stm8 core with up to 16 cisc mips throughput ? temp. range: -40 to 85 c and 125 c ? memories ? up to 8 kbytes of flash program including up to 2 kbytes of data eeprom ? error correction code (ecc) ? flexible write and read protection modes ? in-application and in-circuit programming ? data eeprom capability ? 1.5 kbytes of static ram ? clock management ? internal 16 mhz rc with fast wakeup time (typ. 4 s) ? internal low consumption 38 khz rc driving both the iwdg and the awu ? reset and supply management ? ultra-low power por/pdr ? three low power modes: wait, active-halt, halt ? interrupt management ? nested interrupt controller with software priority control ? up to 29 external interrupt sources ? i/os ? up to 30 i/os, all mappable on external interrupt vectors ? i/os with programmable input pull-ups, high sink/source capability and one led driver infrared output ? peripherals ? two 16-bit general purpose timers (tim2 and tim3) with up and down counter and 2 channels (used as ic, oc, pwm) ? one 8-bit timer (tim4) with 7-bit prescaler ? infrared remote control (ir) ? independent watchdog ? auto-wakeup unit ? beeper timer with 1, 2 or 4 khz frequencies ? spi synchronous serial interface ? fast i2c multimaster/slave 400 khz ? usart with fractional baud rate generator ? 2 comparators with 4 inputs each ? development support ? hardware single wire interface module (swim) for fast on-chip programming and non intrusive debugging ? in-circuit emulation (ice) ? 96-bit unique id table 1. device summary reference part numbers stm8l101x1 stm8l101f1 stm8l101x2 stm8l101f2, stm8l101g2 stm8l101x3 stm8l101f3, stm8l101g3, stm8l101k3 ufqfpn20 ufqfpn32 tssop20 5 x 5 mm lqfp32 7x7 mm ufqfpn28 4 x 4 mm 3 x 3 mm 6.5 x 6.4 mm www.st.com
contents stm8l101x1 stm8l101x2 stm8l101x3 2/83 docid15275 rev 14 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3 product overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.1 central processing unit stm8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.2 development tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.3 single wire data interface (swim) and debug module . . . . . . . . . . . . . . . 10 3.4 interrupt controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.5 memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.6 low power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.7 voltage regulators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.8 clock control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.9 independent watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.10 auto-wakeup counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.11 general purpose and basic timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.12 beeper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.13 infrared (ir) interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.14 comparators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.15 usart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.16 spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.17 i2c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5 memory and register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 6 interrupt vector mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7 option bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 8 unique id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 docid15275 rev 14 3/83 stm8l101x1 stm8l101x2 stm8l101x3 contents 3 9 electrical parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 9.1 parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 9.1.1 minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 9.1.2 typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 9.1.3 typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 9.1.4 loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 9.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 9.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 9.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.3.1 general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 9.3.2 power-up / power-down operating conditions . . . . . . . . . . . . . . . . . . . . 40 9.3.3 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 9.3.4 clock and timing characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 9.3.5 memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 9.3.6 i/o port pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 9.3.7 communication interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 9.3.8 comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 9.3.9 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 9.4 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 10 package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 10.1 ecopack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 10.2 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 11 device ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 12 stm8 development tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 12.1 emulation and in-circuit debugging tools . . . . . . . . . . . . . . . . . . . . . . . . . 76 12.2 software tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 12.2.1 stm8 toolset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 12.2.2 c and assembly toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 12.3 programming tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 13 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 list of tables stm8l101x1 stm8l101x2 stm8l101x3 4/83 docid15275 rev 14 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. stm8l101xx device feature summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 table 3. legend/abbreviation for table 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 table 4. stm8l101xx pin description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 table 5. flash and ram boundary addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 6. i/o port hardware register map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 table 7. general hardware register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 8. cpu/swim/debug module/interrupt controller registers . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 9. interrupt mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 10. option bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 11. option byte description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 12. unique id registers (96 bits) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 13. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 14. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 15. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 16. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 17. operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 18. total current consumption in run mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 19. total current consumption in wait mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 20. total current consumption and timing in halt and active-halt mode at vdd = 1.65 v to 3.6 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 21. peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44 table 22. hsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 23. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 24. ram and hardware registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47 table 25. flash program memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 26. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 27. output driving current (high sink ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 28. output driving current (true open drain ports). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 29. output driving current (pa0 with high sink led driver capability). . . . . . . . . . . . . . . . . . . . 51 table 30. nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 31. spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 32. i2c characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 33. comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 34. ems data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 35. emi data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 36. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 37. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 38. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 39. ufqfpn32 - 32-lead ultra thin fine pitch quad flat no-lead package (5 x 5), package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 40. lqfp32- 32-pin low profile quad flat package (7x7), package mechanical data . . . . . . . . 68 table 41. ufqfpn28 - 28-lead ultra thin fine pitch quad flat no-lead package (4 x 4), package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 42. ufqfpn20 - 20-lead ultra thin fine pitch quad flat package (3 x 3 mm) mechanical data . 71 table 43. tssop20 - 20-lead thin shrink small package mechanical data . . . . . . . . . . . . . . . . . . . . 73 table 44. document revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 docid15275 rev 14 5/83 stm8l101x1 stm8l101x2 stm8l101x3 list of figures 6 list of figures figure 1. stm8l101xx device block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 2. standard 20-pin ufqfpn package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 3. 20-pin ufqfpn package pinout for stm8l101f1u6atr, STM8L101F2U6ATR and stm8l101f3u6atr part numbers. . . . . . . . . . . . . . . . . . . . . . 15 figure 4. 20-pin tssop package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 5. standard 28-pin ufqfpn package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 6. 28-pin ufqfpn package pinout for stm8l101g3u6atr and stm8l101g2u6atr part numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 7. 32-pin package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 figure 8. memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 9. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 10. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 11. idd(run) vs. vdd, fcpu = 2 mhz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 figure 12. idd(run) vs. vdd, fcpu = 16 mhz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 figure 13. idd(wait) vs. vdd, fcpu = 2 mhz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 figure 14. idd(wait) vs. vdd, fcpu = 16 mhz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 figure 15. typ. idd(halt) vs. vdd, fcpu = 2 mhz and 16 mhz . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 figure 16. typical hsi frequency vs. v dd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 figure 17. typical hsi accuracy vs. temperature, v dd = 3 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 figure 18. typical hsi accuracy vs. temperature, vdd = 1.65 v to 3.6 v. . . . . . . . . . . . . . . . . . . . . . 46 figure 19. typical lsi rc frequency vs. vdd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 figure 20. typical vil and vih vs. vdd (high sink i/os) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 figure 21. typical vil and vih vs. vdd (true open drain i/os). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 figure 22. typical pull-up resistance r pu vs. v dd with vin=vss . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 23. typical pull-up current i pu vs. v dd with vin=vss. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 24. typ. vol at vdd = 3.0 v (high sink ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 25. typ. vol at vdd = 1.8 v (high sink ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 26. typ. vol at vdd = 3.0 v (true open drain ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 27. typ. vol at vdd = 1.8 v (true open drain ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 28. typ. vdd - voh at vdd = 3.0 v (high sink ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 29. typ. vdd - voh at vdd = 1.8 v (high sink ports) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 30. typical nrst pull-up resistance r pu vs. v dd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 figure 31. typical nrst pull-up current i pu vs. v dd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 figure 32. recommended nrst pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 figure 33. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 figure 34. spi timing diagram - slave mode and cpha = 1 (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 figure 35. spi timing diagram - master mode (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 figure 36. typical application with i2c bus and timing diagram 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 figure 37. ufqfpn32 - 32-lead ultra thin fine pitch quad flat no-lead package outline (5 x 5). . . . . . 65 figure 38. ufqfpn32 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 figure 39. lqfp32 - 32-pin low profile quad flat package outline (7 x 7) . . . . . . . . . . . . . . . . . . . . . . 67 figure 40. lqfp32 recommended footprint. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 figure 41. ufqfpn28 - 28-lead ultra thin fine pitch quad flat no-lead package outline (4 x 4 mm) . . 69 figure 42. ufqfpn28 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 figure 43. ufqfpn20 - 20-lead ultra thin fine pitch quad flat package outline (3x3 mm) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 figure 44. ufqfpn20 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 figure 45. tssop20 - 20-lead thin shrink small package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 list of figures stm8l101x1 stm8l101x2 stm8l101x3 6/83 docid15275 rev 14 figure 46. tssop20 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 figure 47. stm8l101xx ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 docid15275 rev 14 7/83 stm8l101x1 stm8l101x2 stm8l101x3 introduction 21 1 introduction this datasheet provides the stm8l101x1 stm8l101x2 stm8l101x3 pinout, ordering information, mechanical and electrical device characteristics. for complete information on the stm8l101x1 stm8l101x2 stm8l101x3 microcontroller memory, registers and peripherals, please refer to the stm8l reference manual. the stm8l101x1 stm8l101x2 stm8l101x3devices are members of the stm8l low- power 8-bit family. they are referred to as low-density devices in the stm8l101x1 stm8l101x2 stm8l101x3 microcontroller family reference manual (rm0013) and in the stm8l flash programming manual (pm0054). all devices of the sm8l product line provide the following benefits: ? reduced system cost ? up to 8 kbytes of low-density embedded flash program memory including up to 2 kbytes of data eeprom ? high system integration level with internal clock oscillators and watchdogs. ? smaller battery and cheaper power supplies. ? low power consumption and advanced features ? up to 16 mips at 16 mhz cpu clock frequency ? less than 150 a/mh, 0.8 a in active-halt mode, and 0.3 a in halt mode ? clock gated system and optimized power management ? short development cycles ? application scalability across a common family product architecture with compatible pinout, memory map and modular peripherals. ? full documentation and a wide choice of development tools ? product longevity ? advanced core and peripherals made in a state-of-the art technology ? product family operating from 1.65 v to 3.6 v supply description stm8l101x1 stm8l101x2 stm8l101x3 8/83 docid15275 rev 14 2 description the stm8l101x1 stm8l101x2 stm8l101x3 low-power family features the enhanced stm8 cpu core providing increased processing power (up to 16 mips at 16 mhz) while maintaining the advantages of a cisc architecture with improved code density, a 24-bit linear addressing space and an optimized architecture for low power operations. the family includes an integrated debug module with a hardware interface (swim) which allows non-intrusive in-application debugging and ultrafast flash programming. all stm8l101xx microcontrollers feature low power low-voltage single-supply program flash memory. the 8-kbyte devices embed data eeprom. the stm8l101xx low power family is based on a generic set of state-of-the-art peripherals. the modular design of the peripheral set allows the same peripherals to be found in different st microcontroller families including 32-bit families. this makes any transition to a different family very easy, and simplified even more by the use of a common set of development tools. all stm8l low power products are based on the same architecture with the same memory mapping and a coherent pinout. table 2. stm8l101xx device feature summary features stm8l101xx flash 2 kbytes of flash program memory 4 kbytes of flash program memory 8 kbytes of flash program memory including up to 2 kbytes of data eeprom ram 1.5 kbytes peripheral functions independent watchdog (iwdg), auto-wakeup unit (awu), beep, serial peripheral interface (spi), inter-integrated circuit (i2c), universal synchronous / asynchronous receiver / transmitter (usart), 2 comparators, infrared (ir) interface timers two 16-bit timers, one 8-bit timer operating voltage 1.65 to 3.6 v operating temperature -40 to +85 c -40 to +85 c or -40 to +125 c packages ufqfpn20 3x3 ufqfpn28 4x 4 ufqfpn20 3x3 tssop20 4.4 x 6.4 ufqfpn28 4x4 ufqfpn20 3x3 ufqfpn32 lqfp32 docid15275 rev 14 9/83 stm8l101x1 stm8l101x2 stm8l101x3 product overview 21 3 product overview figure 1. stm8l101xx device block diagram legend: awu: auto-wakeup unit int. rc: internal rc oscillator i2c: inter-integrated circuit multimaster interface por/pdr: power on reset / power down reset spi: serial peripheral interface swim: single wire interface module usart: universal synchronous / asynchronous receiver / transmitter iwdg: independent watchdog 0 6 9 0 + ] l q w 5 & |