![]() |
|
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. april 2015 docid025540 rev 4 1/134 STM32F358XC arm ? -based cortex ? -m4 32b mcu+fpu, up to 256kb flash+ 48kb sram, 4 adcs, 2 dac ch., 7 comp., 4 pga, timers, 1.8 v datasheet - production data features ? core: arm ? cortex ? -m4 32-bit cpu with fpu (72 mhz max), single-cycle multiplication and hw division, 90 dmips (from ccm), dsp instruction and mpu (memory protection unit). ? operating conditions: ? vdd: 1.8v +/- 8% ? vdda voltage range: 1.65 to 3.6 v ? memories ? 256 kbytes of flash memory ? up to 40 kbytes of sram, with hw parity check implemented on the first 16 kbytes. ? routine bootster: 8 kbytes of sram on instruction and data bus, with hw parity check (ccm: core coupled memory) ? crc calculation unit ? reset and supply management ? low-power modes: sleep, and stop ? vbat 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 x 16 pll option ? internal 40 khz oscillator ? up to 86 fast i/os ? all mappable on external interrupt vectors ? several 5 v-tolerant ? interconnect matrix ? 12-channel dma controller ? up to four adc 0.20 s (up to 38 channels) with selectable resolution of 12/10/8/6 bits, 0 to 3.6 v conversion range, separate analog supply from 1.8 to 3.6 v ? up to two 12-bit dac channels with analog supply from 2.4 to 3.6 v ? seven fast rail-to-rail an alog comparators with analog supply from 1.65 to 3.6 v ? up to four operational amplifiers that can be used in pga mode, all terminal accessible with analog supply from 2.4 to 3.6 v ? up to 24 capacitive sensing channels supporting touchkey, linear and rotary touch sensors ? up to 13 timers ? one 32-bit timer and two 16-bit timers with up to 4 ic/oc/pwm or pulse counter and quadrature (incremental) encoder input ? up to two 16-bit 6-channel advanced- control timers, with up to 6 pwm channels, deadtime generation and emergency stop ? one 16-bit timer with 2 ic/ocs, 1 ocn/pwm, deadtime generation and emergency stop ? two 16-bit timers with ic/oc/ocn/pwm, deadtime generation and emergency stop ? 2 watchdog timers (independent, window) ? systick timer: 24-bit downcounter ? up to two 16-bit basic timers to drive the dac ? calendar rtc with alar m, periodic wakeup from stop ? communication interfaces ? can interface (2.0b active) ? two i2c fast mode plus (1 mbit/s) with 20 ma current sink, smbus/pmbus, wakeup from stop ? up to five usart/uarts (iso 7816 interface, lin, irda, modem control) ? up to three spis, two with multiplexed i2s interface, 4 to 16 programmable bit frames ? infrared transmitter ? cortex ? -m4 with fpu etm, serial wire debug, jtag ? 96-bit unique id table 1. device summary reference part number STM32F358XC stm32f358cc, stm32f358rc, stm32f358vc lqfp64 (10 10 mm) lqfp100 (14 14 mm) lqfp48 (7 7 mm) www.st.com
contents STM32F358XC 2/134 docid025540 rev 4 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.1 arm ? cortex ? -m4 core with fpu with embedded flash and sram . . . 12 3.2 memory protection unit (mpu) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.3 embedded flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.4 embedded sram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.5 boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.6 cyclic redundancy check (crc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.7 power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.7.1 power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.7.2 power supply supervision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.7.3 low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.8 interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.9 clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.10 general-purpose input/outputs (gpios) . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.11 direct memory access (dma) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.12 interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.12.1 nested vectored interrupt controller (nvic) . . . . . . . . . . . . . . . . . . . . . . 18 3.13 fast analog-to-digital converter (adc) . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.13.1 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.13.2 internal voltage reference (v refint ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.13.3 vbat battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.13.4 opamp reference voltage (vopamp) . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.14 digital-to-analog converter (dac) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.15 operational amplifier (opamp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.16 fast comparators (comp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.17 timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.17.1 advanced timers (tim1, tim8) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.17.2 general-purpose timers (tim2, tim3, tim4, tim15, tim16, tim17) . . 22 docid025540 rev 4 3/134 STM32F358XC contents 4 3.17.3 basic timers (tim6, tim7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.17.4 independent watchdog (iwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.17.5 window watchdog (wwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.17.6 systick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.18 real-time clock (rtc) and backup registers . . . . . . . . . . . . . . . . . . . . . . 23 3.19 inter-integrated circuit interface (i 2 c) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.20 universal synchronous/asynchronous re ceiver transmitter (usart) . . . 25 3.21 universal asynchronous receiver transmitter (uart) . . . . . . . . . . . . . . . 25 3.22 serial peripheral interface (spi)/inter-integrated sound interfaces (i2s) . 25 3.23 controller area network (can) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.24 infrared transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.25 touch sensing controller (tsc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.26 development support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.26.1 serial wire jtag debug port (swj-dp) . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.26.2 embedded trace macrocell? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 4 pinouts and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5 memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6 electrical characteristi cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.1 parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.1.1 minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.1.2 typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.1.3 typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.1.4 loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.1.6 power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 6.1.7 current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 6.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 6.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 6.3.1 general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 6.3.2 operating conditions at power-up / powe r-down . . . . . . . . . . . . . . . . . . 57 6.3.3 embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.3.4 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 6.3.5 wakeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 contents STM32F358XC 4/134 docid025540 rev 4 6.3.6 external clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 6.3.7 internal clock source charac teristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 6.3.8 pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.3.9 memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.3.10 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 6.3.11 electrical sensitivity characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 6.3.12 i/o current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 6.3.13 i/o port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 6.3.14 nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 6.3.15 npor pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 6.3.16 timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 6.3.17 communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 6.3.18 adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 6.3.19 dac electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 6.3.20 comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 6.3.21 operational amplifier characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 115 6.3.22 temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 6.3.23 v bat monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 7 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 7.1 lqfp100 ? 14 x 14 mm, low-profile quad flat package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119 7.2 lqfp64 ? 10 x 10 mm, low-profile quad flat package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 7.3 lqfp48 ? 7 x 7 mm, low-profile quad flat package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 7.4 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 7.4.1 reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 7.4.2 selecting the product temperature range . . . . . . . . . . . . . . . . . . . . . . 129 8 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 docid025540 rev 4 5/134 STM32F358XC list of tables 6 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. STM32F358XC family device feat ures and peripheral counts . . . . . . . . . . . . . . . . . . . . . . 10 table 3. external analog supply values for analog peripheral s . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 table 4. STM32F358XC peripheral interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 table 5. timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 table 6. comparison of i2c analog and digital filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 7. STM32F358XC i 2 c implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 8. usart features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 9. STM32F358XC spi/i2s implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 10. capacitive sensing gpios available on stm32f35 8xc devices . . . . . . . . . . . . . . . . . . . . 28 table 11. no. of capacitive sensing channels available on STM32F358XC devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 12. legend/abbreviations used in the pinout table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 13. STM32F358XC pin definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 14. alternate functions for port a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 15. alternate functions for port b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 16. alternate functions for port c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 17. alternate functions for port d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 18. alternate functions for port e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 19. alternate functions for port f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 20. STM32F358XC memory map and peripheral register boundary addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 21. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 22. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 23. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 24. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 25. operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 26. embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 7 table 27. internal reference voltage calibration values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 28. typical and maximum current consumption from v dd supply at v dd = 1.8 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 29. typical and maximum current consumption from the v dda supply . . . . . . . . . . . . . . . . . . 60 table 30. typical and maximum v dd consumption in stop mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 31. typical and maximum v dda consumption in stop mode . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 32. typical and maximum current consumption from v bat supply. . . . . . . . . . . . . . . . . . . . . . 61 table 33. typical current consumption in run mode, code with data processing running from flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 34. typical current consumption in sleep mode, code running from flash or ram . . . . . . . . . 64 table 35. switching output i/o current cons umption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 36. peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 37. low-power mode wakeup timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 38. high-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 39. low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 40. hse oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 41. lse oscillator characteristics (f lse = 32.768 khz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 42. hsi oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 43. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 44. pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 list of tables STM32F358XC 6/134 docid025540 rev 4 table 45. flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 46. flash memory endurance and data retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 47. ems characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 48. emi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 49. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 50. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 51. i/o current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 52. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 table 53. output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 54. i/o ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 55. nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 56. npor pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 57. timx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 58. iwdg min/max timeout period at 40 khz (lsi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 59. wwdg min-max timeout value @72 mhz (pclk). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 60. i2c timings specification (see i2c specification, rev.03, june 2007) . . . . . . . . . . . . . . . . . 91 table 61. i2c analog filter characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 62. spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 63. i 2 s characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 64. adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 65. maximum adc rain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 table 66. adc accuracy - limited test conditions 100-pin pack ages . . . . . . . . . . . . . . . . . . . . . . . . 102 table 67. adc accuracy, 100-pin packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 table 68. adc accuracy - limited te st conditions 64-pin packages . . . . . . . . . . . . . . . . . . . . . . . . . 106 table 69. adc accuracy, 64-pin packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 8 table 70. adc accuracy at 1msps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 table 71. dac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 table 72. comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 table 73. operational amplifier characteristic s. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 table 74. ts characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 table 75. temperature sensor calibration values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 table 76. v bat monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 table 77. lqpf100 ? 14 x 14 mm, low-profile quad flat package mechanical data. . . . . . . . . . . . . 119 table 78. lqfp64 ? 10 x 10 mm, low-profile quad flat pa ckage mechanical data. . . . . . . . . . . . . . 122 table 79. lqfp48 ? 7 x 7 mm, low-profile quad flat package mechanical data. . . . . . . . . . . . . . . . 125 table 80. package thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 table 81. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 table 82. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 docid025540 rev 4 7/134 STM32F358XC list of figures 7 list of figures figure 1. STM32F358XC block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 2. clock tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 3. infrared transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 4. STM32F358XC lqfp48 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 figure 5. STM32F358XC lqfp64 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 figure 6. STM32F358XC lqfp100 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 figure 7. STM32F358XC memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 9 figure 8. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 9. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 10. power supply scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 figure 11. current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 figure 12. typical v bat current consumption (lse and rtc on/lsedrv[1:0] = ?00?) . . . . . . . . . . . 62 figure 13. high-speed external clock source ac timing diagra m . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 figure 14. low-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 figure 15. typical application with an 8 mhz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 figure 16. typical application with a 32.768 khz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 figure 17. hsi oscillator accuracy char acterization results for soldered parts . . . . . . . . . . . . . . . . . . 76 figure 18. tc and tta i/o input characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 figure 19. five volt tolerant (ft and ftf) i/o input characte ristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 figure 20. i/o ac characteristics definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 figure 21. recommended nrst pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 figure 22. i 2 c bus ac waveforms and measurement ci rcuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 figure 23. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 figure 24. spi timing diagram - slave mode and cpha = 1 (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 figure 25. spi timing diagram - master mode (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 figure 26. i 2 s slave timing diagram (philips protocol) (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 figure 27. i 2 s master timing diag ram (philips protocol) (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 figure 28. adc typical current consumption on vdda pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 figure 29. adc typical current consumption on vref+ pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 figure 30. adc accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 figure 31. typical connection diagram using the adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 figure 32. 12-bit buffered /non-buffered dac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 figure 33. maximum vrefint scaler startup time from power down . . . . . . . . . . . . . . . . . . . . . . . . 114 figure 34. opamp voltage noise versus frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 figure 35. lqfp100 ? 14 x 14 mm, low-profile quad flat pa ckage outline . . . . . . . . . . . . . . . . . . . . 119 figure 36. lqfp100 ? 14 x 14 mm, low-profile quad flat package recommended footprint . . . . . . . 120 figure 37. lqfp100 ? 14 x 14 mm, low-profile quad flat package top view example . . . . . . . . . . . . 121 figure 38. lqfp64 ? 10 x 10 mm, low-profile quad flat pack age outline . . . . . . . . . . . . . . . . . . . . . 122 figure 39. lqfp64 ? 10 x 10 mm, low-profile quad flat package recommended footprint . . . . . . . . 123 figure 40. lqfp64 ? 10 x 10 mm, low-profile quad flat package top view example . . . . . . . . . . . . . 124 figure 41. lqfp48 ? 7 x 7 mm, low-profile quad flat package outline . . . . . . . . . . . . . . . . . . . . . . . 125 figure 42. lqfp48 - 7 x 7 mm, low-profile quad flat package recommended footprint. . . . . . . . . . . 126 figure 43. lqfp48 - 7 x 7 mm, low-profile quad flat packa ge top view example . . . . . . . . . . . . . . . 127 introduction STM32F358XC 8/134 docid025540 rev 4 1 introduction this datasheet provides the ordering informat ion and mechanical devic e characteristics of the STM32F358XC microcontrollers. this STM32F358XC datasheet should be read in conjunction with the stm32f303xx, STM32F358XC and stm32f328x4/6/8 (rm0316) reference manual. the reference manual is available from the stmicroelectronics website www.st.com . for information on the cortex ? -m4 core with fpu please refer to: ? cortex ? -m4 with fpu technical reference manual , available from arm website www.arm.com. ? stm32f3xxx and stm32f4xxx cortex ? -m4 programming manual (pm0214) available from our website www.st.com . docid025540 rev 4 9/134 STM32F358XC description 51 2 description the STM32F358XC family is bas ed on the high-performance arm ? cortex ? -m4 32-bit risc core with fpu operating at a frequency of up to 72 mhz, and embedding a floating point unit (fpu), a memory protection unit (mpu) and an embedded trace macrocell (etm). the family incorporates high-speed embedded memories (up to 256 kbytes of flash memory, up to 48 kbytes of sram) and an extens ive range of enhanced i/os and peripherals connected to two apb buses. the devices offer up to fo ur fast 12-bit adcs (5 msps), up to seven comparators, up to four operational amplifiers, up to two dac channels, a low-power rtc, up to five general- purpose 16-bit timers, one general-purpose 32-bi t timer, and two timers dedicated to motor control. they also feature standard and advanced communication interfaces: up to two i 2 cs, up to three spis (two spis are with multiplexed full-duplex i2 ss on STM32F358XC devices), three usarts, up to two uarts, and can. to achieve audio class accuracy, the i2s peripherals can be clocked via an external pll. the STM32F358XC family operates in the -40 to +85 c and -40 to +105 c temperature ranges. a comprehensive set of power-saving mode allows the design of low-power applications. the STM32F358XC family offers devices in three packages ranging from 48 pins to 100 pins. the set of included peripherals changes with the device chosen. description STM32F358XC 10/134 docid025540 rev 4 table 2. STM32F358XC family device features and peripheral counts peripheral stm32f 358cx stm32f 358rx stm32f 358vx flash (kbytes) 256 256 256 sram (kbytes) on data bus 40 40 40 ccm (core coupled memory) ram (kbytes) 8 timers advanced control 2 (16-bit) general purpose 5 (16-bit) 1 (32-bit) basic 2 (16-bit) pwm channels (all) (1) 1. this total number considers also the pw ms generated on the complementary output channels. 31 33 pwm channels (except complementary) 22 24 comm. interfaces spi(i2s) (2) 2. the spi interfaces can work in an exclusive way in either the spi mode or the i 2 s audio mode. 3(2) i 2 c 2 usart 3 uart 2 can 1 gpios normal i/os (tc, tta) 19 26 44 5 volts to l e r a n t i/os (ft, ftf) 17 25 42 dma channels 12 12-bit adcs number of channels 4 14 21 38 12-bit dac channels 2 analog comparator 7 operational amplifiers 4 cpu frequency 72 mhz operating voltage v dd = 1.8 v +/- 8%, v dda = 1.65 v to 3.6 v operating temperature ambient operating temperature: - 40 to 85 c / - 40 to 105 c junction temperature: - 40 to 125 c packages lqfp48 lqfp64 lqfp100 docid025540 rev 4 11/134 STM32F358XC description 51 figure 1. STM32F358XC block diagram 1. af: alternate function on i/o pins. 0 6 y 9 7 r x f k 6 h q v l q j & |