![]() |
|
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. june 2012 doc id 16455 rev 7 1/88 1 stm32f100x4 stm32f100x6 stm32f100x8 stm32f100xb low & medium-density value lin e, advanced arm-based 32-bit mcu with 16 to 128 kb flash, 12 timers, adc, dac & 8 comm interfaces datasheet ? production data features core: arm 32-bit cortex?-m3 cpu ? 24 mhz maximum frequency, 1.25 dmips/mhz (dhrystone 2.1) performance ? single-cycle multiplication and hardware division memories ? 16 to 128 kbytes of flash memory ? 4 to 8 kbytes of sram clock, reset and supply management ? 2.0 to 3.6 v application supply and i/os ? por, pdr and programmable voltage detector (pvd) ? 4-to-24 mhz crystal oscillator ? internal 8 mhz factory-trimmed rc ? internal 40 khz rc ? pll for cpu clock ? 32 khz oscillator for rtc with calibration low power ? sleep, stop and standby modes ?v bat supply for rtc and backup registers debug mode ? serial wire debug (swd) and jtag interfaces dma ? 7-channel dma controller ? peripherals supported: timers, adc, spis, i 2 cs, usarts and dacs 1 12-bit, 1.2 s a/d converter (up to 16 channels) ? conversion range: 0 to 3.6 v ? temperature sensor 2 12-bit d/a converters up to 80 fast i/o ports ? 37/51/80 i/os, all mappable on 16 external interrupt vectors and almost all 5 v-tolerant up to 12 timers ? up to three 16-bit timers, each with up to 4 ic/oc/pwm or pulse counter ? 16-bit, 6-channel advanced-control timer: up to 6 channels for pwm output, dead time generation and emergency stop ? one 16-bit timer, with 2 ic/oc, 1 ocn/pwm, dead-time generation and emergency stop ? two 16-bit timers, each with ic/oc/ocn/pwm, dead-time generation and emergency stop ? 2 watchdog timers (independent and window) ? systick timer: 24-bit downcounter ? two 16-bit basic timers to drive the dac up to 8 communications interfaces ? up to two i 2 c interfaces (smbus/pmbus) ? up to 3 usarts (iso 7816 interface, lin, irda capability, modem control) ? up to 2 spis (12 mbit/s) ? consumer electronics control (cec) interface crc calculation unit, 96-bit unique id ecopack ? packages table 1. device summary reference part number stm32f100x4 stm32f100c4, stm32f100r4 stm32f100x6 stm32f100c6, stm32f100r6 stm32f100x8 stm32f100c8, stm32f100r8, stm32f100v8 stm32f100xb stm32f100cb, STM32F100RB, stm32f100vb fbga lqfp100 14 14 mm lqfp64 10 10 mm lqfp48 7 7 mm tfbga64 (5 5 mm) www.st.com
contents stm32f100x4, stm32f100x6, stm32f100x8, stm32f100xb 2/88 doc id 16455 rev 7 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.1 device overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.1 arm? cortex?-m3 core with embedded flash and sram . . . . . . . . . 14 2.2.2 embedded flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.3 crc (cyclic redundancy check) calculation unit . . . . . . . . . . . . . . . . . . 14 2.2.4 embedded sram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.5 nested vectored interrupt controller (nvic) . . . . . . . . . . . . . . . . . . . . . . 14 2.2.6 external interrupt/event controller (exti) . . . . . . . . . . . . . . . . . . . . . . . 15 2.2.7 clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.2.8 boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.2.9 power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.2.10 power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.2.11 voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.2.12 low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.2.13 dma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.2.14 rtc (real-time clock) and backup registers . . . . . . . . . . . . . . . . . . . . . . 17 2.2.15 timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.2.16 i 2 c bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.2.17 universal synchronous/asynchronous receiver transmitter (usart) . . 19 2.2.18 serial peripheral interface (spi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2.19 hdmi (high-definition multimedia interface) consumer electronics control (cec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2.20 gpios (general-purpose inputs/outputs) . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2.21 remap capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2.22 adc (analog-to-digital converter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2.23 dac (digital-to-analog converter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.2.24 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.2.25 serial wire jtag debug port (swj-dp) . . . . . . . . . . . . . . . . . . . . . . . . . 21 3 pinouts and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4 memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 stm32f100x4, stm32f100x6, stm32f100x8, stm32f100xb contents doc id 16455 rev 7 3/88 5 electrical characteristi cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.1 parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.1.1 minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.1.2 typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.1.3 typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.1.4 loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.1.6 power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.1.7 current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 5.3.1 general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 5.3.2 operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . 34 5.3.3 embedded reset and power control block characteristics . . . . . . . . . . . 34 5.3.4 embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 5.3.5 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 5.3.6 external clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 5.3.7 internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 5.3.8 pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 5.3.9 memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 5.3.10 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 5.3.11 absolute maximum ratings (electrical sensitivity) . . . . . . . . . . . . . . . . . 54 5.3.12 i/o current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 5.3.13 i/o port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 5.3.14 nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 5.3.15 timx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 5.3.16 communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 5.3.17 12-bit adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 5.3.18 dac electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 5.3.19 temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 6 package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 6.1 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 6.2 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 6.2.1 reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 6.2.2 selecting the product temperature range . . . . . . . . . . . . . . . . . . . . . . . . 82 contents stm32f100x4, stm32f100x6, stm32f100x8, stm32f100xb 4/88 doc id 16455 rev 7 7 ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 8 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 stm32f100x4, stm32f100x6, stm32f100x8, stm32f100xb list of tables doc id 16455 rev 7 5/88 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. stm32f100xx features and peripheral counts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 table 3. timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 4. low & medium-density stm32f100xx pin definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 5. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 6. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 7. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 8. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 9. operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 10. embedded reset and power control block characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 11. embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 6 table 12. maximum current consumption in run mode, code with data processing running from flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 13. maximum current consumption in run mode, code with data processing running from ram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 14. maximum current consumption in sleep mode, code running from flash or ram. . . . . . . 38 table 15. typical and maximum current consumptions in stop and standby modes . . . . . . . . . . . . 39 table 16. typical current consumption in run mode, code with data processing running from flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 17. typical current consumption in sleep mode, code running from flash or ram . . . . . . . . . 43 table 18. peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 19. high-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 20. low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 21. hse 4-24 mhz oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 7 table 22. lse oscillator characteristics (f lse = 32.768 khz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 23. hsi oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 24. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 25. low-power mode wakeup timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 26. pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 27. flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 28. flash memory endurance and data retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 29. ems characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 30. emi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 31. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 32. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 33. i/o current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 34. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 35. output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 36. i/o ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 37. nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 38. timx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 39. i 2 c characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 40. scl frequency (f pclk1 = 24 mhz, v dd = 3.3 v) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 41. spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 42. adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 43. r ain max for f adc = 12 mhz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 44. adc accuracy - limited test conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 45. adc accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 list of tables stm32f100x4, stm32f100x6, stm32f100x8, stm32f100xb 6/88 doc id 16455 rev 7 table 46. dac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 47. ts characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 48. lqpf100 ? 14 x 14 mm, 100-pin low-profile quad flat package mechanical data . . . . . . . 76 table 49. lqfp64 ? 10 x 10 mm, 64-pin low-profile quad flat package mechanical data . . . . . . . . . 77 table 50. tfbga64 - 8 x 8 active ball array, 5 x 5 mm, 0.5 mm pitch, package mechanical data. . . 78 table 51. lqfp48 ? 7 x 7 mm, 48-pin low-profile quad flat package mechanical data . . . . . . . . . . . 80 table 52. package thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 53. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 table 54. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 stm32f100x4, stm32f100x6, stm32f100x8, stm32f100xb list of figures doc id 16455 rev 7 7/88 list of figures figure 1. stm32f100xx value line block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 2. clock tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 3. stm32f100xx value line lqfp100 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 4. stm32f100xx value line lqfp64 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 5. stm32f100xx value line lqfp48 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 6. stm32f100xx value line tfbga64 ballout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 7. memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 8. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 figure 9. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 figure 10. power supply scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 figure 11. current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 figure 12. maximum current consumption in run mode versus frequency (at 3.6 v) - code with data processing running from ram, peripherals enabled. . . . . . . . . . . . . . . . . . 38 figure 13. maximum current consumption in run mode versus frequency (at 3.6 v) - code with data processing running from ram, peripherals disabled . . . . . . . . . . . . . . . . . 38 figure 14. typical current consumption on v bat with rtc on vs. temperature at different v bat values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 15. typical current consumption in stop mode with regulator in run mode versus temperature at v dd = 3.3 v and 3.6 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 16. typical current consumption in stop mode with regulator in low-power mode versus temperature at v dd = 3.3 v and 3.6 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 17. typical current consumption in standby mode versus temperature at v dd = 3.3 v and 3.6 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 figure 18. high-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 figure 19. low-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 figure 20. typical application with an 8 mhz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 figure 21. typical application with a 32.768 khz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 figure 22. standard i/o input characteristics - cmos port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 figure 23. standard i/o input characteristics - ttl port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 7 figure 24. 5 v tolerant i/o input characteristics - cmos port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 figure 25. 5 v tolerant i/o input characteristics - ttl port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 figure 26. i/o ac characteristics definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 figure 27. recommended nrst pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 figure 28. i 2 c bus ac waveforms and measurement circuit (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 figure 29. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 figure 30. spi timing diagram - slave mode and cpha = 1 (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 figure 31. spi timing diagram - master mode (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 figure 32. adc accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 figure 33. typical connection diagram using the adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 figure 34. power supply and reference decoupling (v ref+ not connected to v dda ). . . . . . . . . . . . . . 71 figure 35. power supply and reference decoupling (v ref+ connected to v dda ). . . . . . . . . . . . . . . . . 71 figure 36. 12-bit buffered /non-buffered dac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 figure 37. lqfp100, 14 x 14 mm, 100-pin low-profile quad flat package outline . . . . . . . . . . . . . . . . 76 figure 38. recommended footprint (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 figure 39. lqfp64 ? 10 x 10 mm, 64 pin low-profile quad flat package outline . . . . . . . . . . . . . . . . . 77 figure 40. recommended footprint (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 figure 41. tfbga64 - 8 x 8 active ball array, 5 x 5 mm, 0.5 mm pitch, package outline . . . . . . . . . . 78 figure 42. recommended pcb design rules for pads (0.5 mm pitch bga) . . . . . . . . . . . . . . . . . . . . 79 list of figures stm32f100x4, stm32f100x6, stm32f100x8, stm32f100xb 8/88 doc id 16455 rev 7 figure 43. lqfp48 ? 7 x 7 mm, 48-pin low-profile quad flat package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 figure 44. recommended footprint (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 figure 45. lqfp100 p d max vs. t a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 stm32f100x4, stm32f100x6, stm32f100x8, stm32f100xb introduction doc id 16455 rev 7 9/88 1 introduction this datasheet provides the ordering information and mechanical device characteristics of the stm32f100x4, stm32f100x6, stm32f100x8 and stm32f100xb value line microcontrollers. in the rest of the document, the stm32f100x4 and stm32f100x6 are referred to as low-density devices while the stm32f100x8 and stm32f100xb are identified as medium-density devices. the stm32f100xx datasheet should be read in conjunction with the low- and medium- density stm32f100xx reference manual. for information on programming, erasing and protection of the internal flash memory please refer to the stm32f100xx flash programming manual. the reference and flash programming manuals are both available from the stmicroelectronics website www.st.com . for information on the cortex?-m3 core please refer to the cortex?-m3 technical reference manual, available from the www.arm.com website at the following address: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0337e/. description stm32f100x4, stm32f100x6, stm32f100x8, stm32f100xb 10/88 doc id 16455 rev 7 2 description the stm32f100xx value line family incorporates the high-performance arm cortex?-m3 32-bit risc core operating at a 24 mhz frequency, high-speed embedded memories (flash memory up to 128 kbytes and sram up to 8 kbytes), and an extensive range of enhanced peripherals and i/os connected to two apb buses. all devices offer standard communication interfaces (up to two i 2 cs, two spis, one hdmi cec, and up to three usarts), one 12-bit adc, two 12-bit dacs, up to six general-purpose 16-bit timers and an advanced-control pwm timer. the stm32f100xx low- and medium-density value line family operates in the ?40 to +85 c and ?40 to +105 c temperature ranges, from a 2.0 to 3.6 v power supply. a comprehensive set of power-saving mode allows the design of low-power applications. the stm32f100xx value line family includes devices in three different packages ranging from 48 pins to 100 pins. depending on the device chosen, different sets of peripherals are included. these features make the stm32f100xx value line microcontroller family suitable for a wide range of applications such as application control and user interfaces, medical and handheld equipment, pc and gaming peripherals, gps platforms, industrial applications, plcs, inverters, printers, scanners, alarm systems, video intercoms, and hvacs. stm32f100x4, stm32f100x6, stm32f100x8, stm32f100xb description doc id 16455 rev 7 11/88 2.1 device overview the description below gives an overview of the complete range of peripherals proposed in this family. figure 1 shows the general block diagram of the device family. table 2. stm32f100xx features and peripheral counts peripheral stm32f100cx stm32f100rx stm32f100vx flash - kbytes 16 32 64 128 16 32 64 128 64 128 sram - kbytes 44884488 8 8 timers advanced-control 1111 1 general-purpose 5 (1) 65 (1) 66 communication interfaces spi 1 (2) 21 (2) 22 i 2 c 1 (3) 21 (3) 22 usart 2 (4) 32 (4) 33 cec 1 12-bit synchronized adc number of channels 1 10 channels 1 16 channels 1 16 channels gpios 37 51 80 12-bit dac number of channels 2 2 cpu frequency 24 mhz operating voltage 2.0 to 3.6 v operating temperatures ambient operating temperature: ?40 to +85 c /?40 to +105 c (see ta b l e 8 ) junction temperature: ?40 to +125 c (see ta b l e 8 ) packages lqfp48 lqfp64, tfbga64 lqfp100 1. tim4 not present. 2. spi2 is not present. 3. i2c2 is not present. 4. usart3 is not present. description stm32f100x4, stm32f100x6, stm32f100x8, stm32f100xb 12/88 doc id 16455 rev 7 figure 1. stm32f100xx value line block diagram 1. peripherals not present in low-density value line devices. 2. af = alternate function on i/o port pin. 3. t a = ?40 c to +85 c (junction temperature up to 105 c) or t a = ?40 c to +105 c (junction temperature up to 125 c). 0 ! ; = % 8 4 ) 4 7 7 $ ' b i t ! $ # ! $ # c h a n n e l s ! $ # ? ) . x * 4 $ ) * 4 # + 3 7 # , + * 4 - 3 3 7 $ ) / . * 4 2 3 4 * 4 $ / . 2 3 4 6 $ $ 6 t o 6 ! & 0 " ; = 0 # ; = ! ( " 7 + 5 0 ' 0 ) / p o r t ! ' 0 ) / p o r t " ' 0 ) / p o r t # f m a x - ( z 6 3 3 6 2 % & |