![]() |
|
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. january 2017 docid026967 rev 4 1/128 stm32f098cc STM32F098RC stm32f098vc arm ? -based 32-bit mcu, 256 kb flash, can, 12 timers, adc, dac, and comm. interfaces, 1.8 v datasheet - production data features ? core: arm ? 32-bit cortex ? -m0 cpu, frequency up to 48 mhz ? memories ? 256 kbytes of flash memory ? 32 kbytes of sram with hw parity ? crc calculation unit ? reset and power management ? digital & i/os supply: v dd = 1.8 v 8% ? analog supply: v dda = v dd to 3.6 v ? selected i/os: v ddio2 = 1.65 v to 3.6 v ? low power modes: sleep, stop ?v bat supply for rtc and backup registers ? clock management ? 4 to 32 mhz crystal oscillator ? 32 khz oscillator for rtc with calibration ? internal 8 mhz rc with x6 pll option ? internal 40 khz rc oscillator ? internal 48 mhz oscillator with automatic trimming based on ext. synchronization ? up to 87 fast i/os ? all mappable on external interrupt vectors ? up to 68 i/os with 5v-tolerant capability and 19 with independent supply v ddio2 ? 12-channel dma controller ? one 12-bit, 1.0 s adc (up to 16 channels) ? conversion range: 0 to 3.6 v ? separate analog supply: 2.4 v to 3.6 v ? one 12-bit d/a converter (with 2 channels) ? two fast low-power analog comparators with programmable input and output ? up to 23 capacitive sensing channels for touchkey, linear and ro tary touch sensors ? calendar rtc with alarm and periodic wakeup from stop/standby ? 12 timers ? one 16-bit advanced-control timer for 6 channel pwm output ? one 32-bit and seven 16-bit timers, with up to 4 ic/oc, ocn, usable for ir control decoding or dac control ? independent and system watchdog timers ? systick timer ? communication interfaces ?two i 2 c interfaces supporting fast mode plus (1 mbit/s) with extra current sink, one supporting smbus/pmbus and wakeup ? up to eight usarts supporting master synchronous spi and modem control, three with iso7816 interface, lin, irda, auto baud rate detection and wakeup feature ? two spis (18 mbit/s) with 4 to 16 programmable bit frames, and with i 2 s interface multiplexed ? can interface ? hdmi cec wakeup on header reception ? serial wire debug (swd) ? 96-bit unique id ? all packages ecopack ? 2 lqfp100 14x14 mm lqfp64 10x10 mm lqfp48 7x7 mm ufqfpn48 7x7 mm ) % * $ ufbga100 7x7 mm ufbga64 5x5 mm wlcsp64 3.3x3.6mm www.st.com
contents stm32f098cc STM32F098RC stm32f098vc 2/128 docid026967 rev 4 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1 arm ? -cortex ? -m0 core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.2 memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.3 boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.4 cyclic redundancy check calculation unit (crc) . . . . . . . . . . . . . . . . . . . 14 3.5 power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.5.1 power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.5.2 power-on reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.5.3 low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.6 clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.7 general-purpose inputs/outputs (gpios) . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.8 direct memory access controller (dma) . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.9 interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.9.1 nested vectored interrupt controller (nvic) . . . . . . . . . . . . . . . . . . . . . . 17 3.9.2 extended interrupt/event controller (exti) . . . . . . . . . . . . . . . . . . . . . . 17 3.10 analog-to-digital converter (adc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.10.1 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.10.2 internal voltage reference (v refint ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.10.3 v bat battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.11 digital-to-analog converter (dac) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.12 comparators (comp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.13 touch sensing controller (tsc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.14 timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.14.1 advanced-control timer (tim1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.14.2 general-purpose timers (tim2, 3, 14, 15 , 16, 17) . . . . . . . . . . . . . . . . . 22 3.14.3 basic timerstim6 and tim7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.14.4 independent watchdog (iwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.14.5 system window watchdog (wwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.14.6 systick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 docid026967 rev 4 3/128 stm32f098cc STM32F098RC stm32f098vc contents 4 3.15 real-time clock (rtc) and backup registers . . . . . . . . . . . . . . . . . . . . . . 23 3.16 inter-integrated circuit interface (i 2 c) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.17 universal synchronous/asynchronous receiver/transmitter (usart) . . . 25 3.18 serial peripheral interface (spi) / inter-integrated sound interface (i 2 s) . 26 3.19 high-definition multimedia interface (hdmi) - consumer electronics control (cec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.20 controller area network (can) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.21 clock recovery system (crs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.22 serial wire debug port (sw-dp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4 pinouts and pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5 memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 6 electrical characteristi cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.1 parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.1.1 minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.1.2 typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.1.3 typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.1.4 loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.1.6 power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.1.7 current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 6.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 6.3.1 general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 6.3.2 operating conditions at power-up / powe r-down . . . . . . . . . . . . . . . . . . 55 6.3.3 embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 6.3.4 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 6.3.5 wakeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 6.3.6 external clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 6.3.7 internal clock source charac teristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 6.3.8 pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 6.3.9 memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 6.3.10 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 6.3.11 electrical sensitivity characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 contents stm32f098cc STM32F098RC stm32f098vc 4/128 docid026967 rev 4 6.3.12 i/o current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.3.13 i/o port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.3.14 nrst and npor pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 6.3.15 12-bit adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 6.3.16 dac electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 6.3.17 comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 6.3.18 temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 6.3.19 v bat monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 6.3.20 timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 6.3.21 communication interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 7 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 7.1 ufbga100 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 7.2 lqfp100 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 7.3 ufbga64 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 7.4 wlcsp64 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 7.5 lqfp64 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112 7.6 lqfp48 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115 7.7 ufqfpn48 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118 7.8 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 7.8.1 reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 7.8.2 selecting the product temperature range . . . . . . . . . . . . . . . . . . . . . . 121 8 ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 docid026967 rev 4 5/128 stm32f098cc STM32F098RC stm32f098vc list of tables 6 list of tables table 1. stm32f098cc/rc/vc family device features a nd peripheral counts . . . . . . . . . . . . . . . . 11 table 2. temperature sensor calibration values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 3. internal voltage reference calibrati on values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 4. capacitive sensing gpios available on stm32f098cc/rc/vc devices . . . . . . . . . . . . . 20 table 5. number of capacitive sensing channels available on stm32f098cc/rc/vc devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 table 6. timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 table 7. comparison of i 2 c analog and digital filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 8. stm32f098cc/rc/vc i 2 c implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 9. stm32f098cc/rc/vc usart implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 10. stm32f098cc/rc/vc spi/i 2 s implementation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 11. legend/abbreviations used in the pinout table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 12. stm32f098cc/rc/vc pin definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 13. alternate functions selected through gpioa_af r registers for port a . . . . . . . . . . . . . . . 42 table 14. alternate functions selected through gpiob_af r registers for port b . . . . . . . . . . . . . . . 43 table 15. alternate functions selected through gpioc_af r registers for port c . . . . . . . . . . . . . . . 44 table 16. alternate functions selected through gpiod_af r registers for port d . . . . . . . . . . . . . . . 44 table 17. alternate functions selected through gpioe_af r registers for port e . . . . . . . . . . . . . . . 45 table 18. alternate functions selected through gpiof_afr registers for port f. . . . . . . . . . . . . . . . 45 table 19. stm32f098cc/rc/vc peripheral register boundary addresses . . . . . . . . . . . . . . . . . . . . 47 table 20. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 21. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 22. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 23. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 24. operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 25. embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 6 table 26. typical and maximum current consumption from v dd supply at v dd = 1.8 v . . . . . . . . . . 58 table 27. typical and maximum current consumption in stop mode . . . . . . . . . . . . . . . . . . . . . . . . 59 table 28. typical and maximum current consumption from the v dda supply . . . . . . . . . . . . . . . . . 59 table 29. typical and maximum current consumption from the v bat supply. . . . . . . . . . . . . . . . . . . 60 table 30. typical current consumption, code executing from flash memory, running from hse 8 mhz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 31. switching output i/o current cons umption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 32. peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 33. low-power mode wakeup timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 34. high-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 35. low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 36. hse oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 37. lse oscillator characteristics (f lse = 32.768 khz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 38. hsi oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 39. hsi14 oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 40. hsi48 oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 41. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 42. pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 43. flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 44. flash memory endurance and data retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 45. ems characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 46. emi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 list of tables stm32f098cc STM32F098RC stm32f098vc 6/128 docid026967 rev 4 table 47. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 48. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 49. i/o current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 50. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 51. output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 52. i/o ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 53. nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 table 54. npor pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 55. adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 56. r ain max for f adc = 14 mhz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 57. adc accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 58. dac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 59. comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 60. ts characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 61. v bat monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 62. timx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 63. iwdg min/max timeout period at 40 khz (lsi). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 64. wwdg min/max timeout value at 48 mhz (pclk). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 65. i 2 c analog filter characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 66. spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 67. i 2 s characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 68. ufbga100 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 table 69. ufbga100 recommended pcb design rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 table 70. lqpf100 package mechanical data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 table 71. ufbga64 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 table 72. ufbga64 recommended pcb design rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 table 73. wlcsp64 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 table 74. wlcsp64 recommended pcb design rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 table 75. lqfp64 package mechanical data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 table 76. lqfp48 package mechanical data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 table 77. ufqfpn48 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 table 78. package thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 table 79. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 table 80. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 docid026967 rev 4 7/128 stm32f098cc STM32F098RC stm32f098vc list of figures 8 list of figures figure 1. block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 2. clock tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 3. ufbga100 package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 figure 4. lqfp100 package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 5. ufbga64 package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 figure 6. lqfp64 package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 figure 7. wlcsp64 package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 figure 8. lqfp48 package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 figure 9. ufqfpn48 package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 figure 10. stm32f098cc/rc/vc memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 figure 11. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 12. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 13. power supply scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 figure 14. current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 15. high-speed external clock source ac timing diagra m . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 figure 16. low-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 figure 17. typical application with an 8 mhz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 figure 18. typical application with a 32.768 khz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 figure 19. hsi oscillator accuracy char acterization results for soldered parts . . . . . . . . . . . . . . . . . . 71 figure 20. hsi14 oscillator accuracy charac terization results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 figure 21. hsi48 oscillator accuracy charac terization results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 figure 22. tc and tta i/o input characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 figure 23. five volt tolerant (ft and ftf) i/o input characte ristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 figure 24. i/o ac characteristics definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 figure 25. recommended nrst pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 figure 26. adc accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 figure 27. typical connection diagram using the adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 figure 28. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 figure 29. spi timing diagram - slave mode and cpha = 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 figure 30. spi timing diagram - master mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 figure 31. i 2 s slave timing diagram (philips protocol) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 figure 32. i 2 s master timing diagram (ph ilips protocol). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 figure 33. ufbga100 package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 figure 34. recommended footprint for ufbga100 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 figure 35. ufbga100 package marking example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 figure 36. lqfp100 package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 figure 37. recommended footprint for lqfp100 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 figure 38. lqfp100 package marking example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 figure 39. ufbga64 package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 figure 40. recommended footprint for ufbga64 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 figure 41. ufbga64 package marking example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 figure 42. wlcsp64 package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 figure 43. recommended footprint for wlcsp64 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 figure 44. wlcsp64 package marking example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 figure 45. lqfp64 package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 figure 46. recommended footprint for lqfp64 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 figure 47. lqfp64 package marking example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 figure 48. lqfp48 package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 list of figures stm32f098cc STM32F098RC stm32f098vc 8/128 docid026967 rev 4 figure 49. recommended footprint for lqfp48 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 figure 50. lqfp48 package marking example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 figure 51. ufqfpn48 package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 figure 52. recommended footprint for ufqfpn48 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 figure 53. ufqfpn48 package marking example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 figure 54. lqfp64 p d max versus t a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 docid026967 rev 4 9/128 stm32f098cc STM32F098RC stm32f098vc introduction 27 1 introduction this datasheet provides the ordering informat ion and mechanical devic e characteristics of the stm32f098cc/rc/vc microcontrollers. this document should be read in conjunct ion with the stm32f0xxxx reference manual (rm0091). the reference manual is available from the stmicroelectronics website www.st.com . for information on the arm ? cortex ? -m0 core, please refer to the cortex ? -m0 technical reference manual, available from the www.arm.com website. description stm32f098cc STM32F098RC stm32f098vc 10/128 docid026967 rev 4 2 description the stm32f098cc/rc/vc microcontrollers incorporate the high-performance arm ? cortex ? -m0 32-bit risc core operating at up to 48 mhz frequency, high-speed embedded memories (256 kbytes of flash memory and 32 kbytes of sram), and an extensive range of enhanced peripherals and i/os. the device offers standard communication interfaces (two i 2 cs, two spis/one i 2 s, one hdmi cec and up to eight usarts), one can, one 12-bit adc, one 12 -bit dac with two channels, seven 16-bit timers, one 32-bit timer and an advanced-control pwm timer. the stm32f098cc/rc/vc microcontrollers operate in the -40 to +85 c and -40 to +105 c temperature ranges, at a 1.8 v 8% power supply. a comprehensive set of power-saving modes allows the design of low-power applications. the stm32f098cc/rc/vc microcontrollers include devices in seven different package ranging from 48 pins to 100 pins with a die form also available upon request. depending on the device chosen, different sets of peripherals are included. these features make the stm32f098cc/rc/vc microcontrollers suitable for a wide range of applications such as application control and user interfaces, hand-held equipment, a/v receivers and digital tv, pc peripherals, gami ng and gps platforms, industrial applications, plcs, inverters, printers, scanners, al arm systems, video intercoms and hvacs. docid026967 rev 4 11/128 stm32f098cc STM32F098RC stm32f098vc description 27 table 1. stm32f098cc/rc/vc family device features and peripheral counts peripheral stm32f098cc STM32F098RC stm32f098vc flash memory (kbyte) 256 sram (kbyte) 32 timers advanced control 1 (16-bit) general purpose 5 (16-bit) 1 (32-bit) basic 2 (16-bit) comm. interfaces spi [i 2 s] (1) 2 [2] i 2 c2 usart 6 8 can 1 cec 1 12-bit adc (number of channels) 1 (10 ext. + 3 int.) 1 (16 ext. + 3 int.) 12-bit dac (number of channels) 1 (2) analog comparator 2 gpios 37 51 87 capacitive sensing channels 16 17 23 max. cpu frequency 48 mhz operating voltage v dd = 1.8 v 8%, v dda = from v dd to 3.6 v operating temperature ambient operating temperature: -40c to 85c / -40c to 105c junction temperature: -40c to 105c / -40c to 125c packages lqfp48 ufqfpn48 lqfp64 ufbga64 wlcsp64 lqfp100 ufbga100 1. the spi interface can be used either in spi mode or in i 2 s audio mode. description stm32f098cc STM32F098RC stm32f098vc 12/128 docid026967 rev 4 figure 1. block diagram 0 6 y 9 6 8 3 3 / < |