STM32F373xx ARM Cortex-M4 32b MCU+FPU, up to 256KB Flash+32KB SRAM timers, 4 ADCs (12/16-bit), 3 DACs, 2 comp., 2.0-3.6 V operation Datasheet - production data Features FBGA ® • Core: ARM 32-bit Cortex™-M4 CPU (72 MHz max), single-cycle multiplication and HW division, DSP instruction with FPU (floatingpoint unit) and MPU (memory protection unit) • 1.25 DMIPS/MHz (Dhrystone 2.1) • Memories – 64 to 256 Kbytes of Flash memory – 32 Kbytes of SRAM with HW parity check • CRC calculation unit • Reset and power management – Voltage range: 2.0 to 3.6 V – Power-on/Power down reset (POR/PDR) – Programmable voltage detector (PVD) – Low power modes: Sleep, Stop, Standby – 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 x16 PLL option – Internal 40 kHz oscillator • Up to 84 fast I/Os – All mappable on external interrupt vectors – Up to 45 I/Os with 5 V tolerant capability • 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 from 2.4 up to 3.6 • Up to three 16-bit Sigma Delta ADC – Separate analog supply from 2.2 to 3.6 V, up to 21 single/ 11 diff channels • Up to three 12-bit DAC channels • Two fast rail-to-rail analog comparators with programmable input and output • Up to 24 capacitive sensing channels September 2013 This is information on a product in full production. LQFP48 (7 × 7 mm) LQFP64 (10 × 10 mm) LQFP100 (14 × 14 mm) UFBGA100 (7 x 7 mm) • 17 timers – Two 32-bit timers and three 16-bit timers with up to 4 IC/OC/PWM or pulse counters – Two 16-bit timers with up to 2 IC/OC/PWM or pulse counters – Four 16-bit timers with up to 1 IC/OC/PWM or pulse counter – Independent and system watchdog timers – SysTick timer: 24-bit downcounter – Three 16-bit basic timers to drive the DAC] • Calendar RTC with Alarm and periodic wakeup from Stop/Standby • Communication interfaces – CAN interface (2.0B Active) – Two I2Cs supporting Fast Mode Plus (1 Mbit/s) with 20 mA current sink, SMBus/PMBus, wakeup from STOP – Three USARTs supporting synchronous mode, modem control, ISO/IEC 7816, LIN, IrDA, auto baud rate, wakeup feature – Three SPIs (18 Mbit/s) with 4 to 16 programmable bit frames, muxed I2S – HDMI-CEC bus interface – USB 2.0 full speed interface • Serial wire devices, JTAG, Cortex-M4 ETM • 96-bit unique ID Table 1. Device summary Reference STM32F373xx DocID022691 Rev 4 Part numbers STM32F373C8, STM32F373R8, STM32F373V8, STM32F373CB, STM32F373RB, STM32F373VB, STM32F373CC, STM32F373RC, STM32F373VC 1/131 www.st.com Contents STM32F37xxx Contents 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.1 ARM® Cortex™-M4 core with embedded Flash and SRAM . . . . . . . . . . 12 3.2 Memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.3 Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.4 Cyclic redundancy check (CRC) calculation unit . . . . . . . . . . . . . . . . . . . 13 3.5 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.6 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.7 Power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.7.1 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.7.2 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.7.3 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.7.4 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.8 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.9 General-purpose input/outputs (GPIOs) . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.10 Direct memory access (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.11 Interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.12 3.11.1 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . 16 3.11.2 Extended interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . 16 12-bit analog-to-digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.12.1 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.12.2 Internal voltage reference (VREFINT) . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.12.3 VBAT battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.13 16-bit sigma delta analog-to-digital converters (SDADC) . . . . . . . . . . . . . 18 3.14 Digital-to-analog converter (DAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.15 Fast comparators (COMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.16 Touch sensing controller (TSC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.17 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.17.1 2/131 General-purpose timers (TIM2 to TIM5, TIM12 to TIM17, TIM19) . . . . . 22 DocID022691 Rev 4 STM32F37xxx Contents 3.17.2 Basic timers (TIM6, TIM7, TIM18) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.17.3 Independent watchdog (IWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.17.4 System window watchdog (WWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.17.5 SysTick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.18 Real-time clock (RTC) and backup registers . . . . . . . . . . . . . . . . . . . . . . 23 3.19 Inter-integrated circuit interface (I2C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.20 Universal synchronous/asynchronous receiver transmitter (USART) . . . 25 3.21 Serial peripheral interface (SPI)/Inter-integrated sound interfaces (I2S) . 26 3.22 High-definition multimedia interface (HDMI) - consumer electronics control (CEC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.23 Controller area network (CAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.24 Universal serial bus (USB) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.25 Serial wire JTAG debug port (SWJ-DP) . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.26 Embedded trace macrocell™ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4 Pinouts and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 6.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 6.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.3.1 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.3.2 Operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . 58 6.3.3 Embedded reset and power control block characteristics . . . . . . . . . . . 59 6.3.4 Embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 6.3.5 Supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 6.3.6 Wakeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 DocID022691 Rev 4 3/131 4 Contents 7 STM32F37xxx 6.3.7 External clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 6.3.8 Internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.3.9 PLL characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.3.10 Memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 6.3.11 EMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 6.3.12 Electrical sensitivity characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 6.3.13 I/O current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 6.3.14 I/O port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 6.3.15 NRST characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 6.3.16 Communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 6.3.17 12-bit ADC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 6.3.18 DAC electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 6.3.19 Comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 6.3.20 Temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 6.3.21 VBAT monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 6.3.22 Timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 6.3.23 USB characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 6.3.24 CAN (controller area network) interface . . . . . . . . . . . . . . . . . . . . . . . 108 6.3.25 SDADC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 7.1 Package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115 7.2 Thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 7.2.1 Reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 7.2.2 Selecting the product temperature range . . . . . . . . . . . . . . . . . . . . . . 124 8 Part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 9 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 4/131 DocID022691 Rev 4 STM32F37xxx List of tables List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. Table 18. Table 19. Table 20. Table 21. Table 22. Table 23. Table 24. Table 25. Table 26. Table 27. Table 28. Table 29. Table 30. Table 31. Table 32. Table 33. Table 34. Table 35. Table 36. Table 37. Table 38. Table 39. Table 40. Table 41. Table 42. Table 43. Table 44. Table 45. Table 46. Table 47. Table 48. Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Device overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Capacitive sensing GPIOs available on STM32F373x devices . . . . . . . . . . . . . . . . . . . . . 19 No. of capacitive sensing channels available on STM32F373x devices. . . . . . . . . . . . . . . 20 Timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Comparison of I2C analog and digital filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 STM32F373x I2C implementation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 STM32F373x USART implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 STM32F373x SPI/I2S implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Legend/abbreviations used in the pinout table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 STM32F37x pin definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Alternate functions for port PA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Alternate functions for port PB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Alternate functions for port PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Alternate functions for port PD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Alternate functions for port PE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Alternate functions for port PF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 STM32F373x peripheral register boundary addresses. . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Embedded reset and power control block characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . 59 Programmable voltage detector characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Embedded internal reference voltage calibration values . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Typical and maximum current consumption from VDD supply at VDD = 3.6 V . . . . . . . . . . 61 Typical and maximum current consumption from VDDA supply . . . . . . . . . . . . . . . . . . . . . 63 Typical and maximum VDD consumption in Stop and Standby modes. . . . . . . . . . . . . . . . 63 Typical and maximum VDDA consumption in Stop and Standby modes. . . . . . . . . . . . . . . 64 Typical and maximum current consumption from VBAT supply. . . . . . . . . . . . . . . . . . . . . . 64 Typical current consumption in Run mode, code with data processing running from Flash 66 Typical current consumption in Sleep mode, code running from Flash or RAM . . . . . . . . . 67 Switching output I/O current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Low-power mode wakeup timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 High-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 HSE oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 LSE oscillator characteristics (fLSE = 32.768 kHz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 HSI oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 LSI oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 PLL characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Flash memory endurance and data retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 EMS characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 EMI characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 DocID022691 Rev 4 5/131 6 List of tables Table 49. Table 50. Table 51. Table 52. Table 53. Table 54. Table 55. Table 56. Table 57. Table 58. Table 59. Table 60. Table 61. Table 62. Table 63. Table 64. Table 65. Table 66. Table 67. Table 68. Table 69. Table 70. Table 71. Table 72. Table 73. Table 74. Table 75. Table 76. Table 77. Table 78. Table 79. Table 80. Table 81. Table 82. 6/131 STM32F37xxx ESD absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 I/O current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 I/O static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 Output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 I/O AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 NRST pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 I2C characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 I2C analog filter characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 SPI characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 I2S characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 ADC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 RSRC max for fADC = 14 MHz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 ADC accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 DAC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Temperature sensor calibration values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 TS characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 VBAT monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 TIMx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 IWDG min/max timeout period at 40 kHz (LSI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 WWDG min-max timeout value @72 MHz (PCLK). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 USB startup time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 USB DC electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 USB: Full-speed electrical characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 SDADC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 VREFSD+ pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 UFBGA100 – ultra fine pitch ball grid array, 7 x 7 mm, 0.50 mm pitch, package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 LQPF100 – 14 x 14 mm low-profile quad flat package mechanical data . . . . . . . . . . . . . 117 LQFP64 – 10 x 10 mm low-profile quad flat package mechanical data . . . . . . . . . . . . . . 119 LQFP48 – 7 x 7 mm, low-profile quad flat package mechanical data. . . . . . . . . . . . . . . . 121 Package thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 DocID022691 Rev 4 STM32F37xxx List of figures List of figures Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Figure 19. Figure 20. Figure 21. Figure 22. Figure 23. Figure 24. Figure 25. Figure 26. Figure 27. Figure 28. Figure 29. Figure 30. Figure 31. Figure 32. Figure 33. Figure 34. Figure 35. Figure 36. Figure 37. Figure 38. Figure 39. Figure 40. Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 STM32F373x LQFP48 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 STM32F373x LQFP64 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 STM32F373x LQFP100 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 STM32F373x BGA100 ballout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 STM32F373x memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Power supply scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Typical VBAT current consumption (LSE and RTC ON/LSEDRV[1:0]='00') . . . . . . . . . . . . 65 High-speed external clock source AC timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Low-speed external clock source AC timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Typical application with an 8 MHz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Typical application with a 32.768 kHz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 HSI oscillator accuracy characterization results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 TC and TTa I/O input characteristics - CMOS port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 TC and TTa I/O input characteristics - TTL port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Five volt tolerant (FT and FTf) I/O input characteristics - CMOS port . . . . . . . . . . . . . . . . 86 Five volt tolerant (FT and FTf) I/O input characteristics - TTL port . . . . . . . . . . . . . . . . . . . 86 I/O AC characteristics definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Recommended NRST pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 I2C bus AC waveforms and measurement circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 SPI timing diagram - slave mode and CPHA = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 SPI timing diagram - slave mode and CPHA = 1(1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 SPI timing diagram - master mode(1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 I2S slave timing diagram (Philips protocol)(1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 I2S master timing diagram (Philips protocol)(1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 ADC accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Typical connection diagram using the ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 12-bit buffered /non-buffered DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 USB timings: definition of data signal rise and fall time . . . . . . . . . . . . . . . . . . . . . . . . . . 108 UFBGA100 – ultra fine pitch ball grid array, 7 x 7 mm, 0.50 mm pitch, package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 LQFP100 –14 x 14 mm 100-pin low-profile quad flat package outline . . . . . . . . . . . . . . . 117 LQFP100 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 LQFP64 – 10 x 10 mm 64 pin low-profile quad flat package outline . . . . . . . . . . . . . . . . 119 LQFP64 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 LQFP48 – 7 x 7 mm, 48-pin low-profile quad flat package outline . . . . . . . . . . . . . . . . . . 121 LQFP48 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 LQFP64 PD max vs. TA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 DocID022691 Rev 4 7/131 7 Introduction 1 STM32F37xxx Introduction This datasheet provides the ordering information and mechanical device characteristics of the STM32F373x microcontrollers. This STM32F373x datasheet should be read in conjunction with the STM32F373x reference manual. The reference manual is available from the STMicroelectronics website www.st.com. For information on the Cortex™-M4 with FPU core, please refer to: 8/131 • Cortex™-M4 with FPU 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.subset.cortexm.m4/ index.html • STM32F3xxx and STM32F4xxx Cortex-M4 programming manual (PM0214) available from the www.st.com website at the following address: http://www.st.com/ st-web-ui/static/active/en/resource/technical/document/programming_manual/ DM00046982.pdf DocID022691 Rev 4 STM32F37xxx 2 Description Description The STM32F373x family is based on the high-performance ARM® Cortex™-M4 32-bit RISC core 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 Kbyte of Flash memory, up to 32 Kbytes of SRAM), and an extensive range of enhanced I/Os and peripherals connected to two APB buses. The STM32F373x devices offer one fast 12-bit ADC (1 Msps), up to three 16-bit Sigma delta ADCs, up to two comparators, up to two DACs (DAC1 with 2 channels and DAC2 with 1 channel), a low-power RTC, 9 general-purpose 16-bit timers, two general-purpose 32-bit timers, three basic timers. They also feature standard and advanced communication interfaces: up to two I2Cs, three SPIs, all with muxed I2Ss, three USARTs, CAN and USB. The STM32F373x 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 STM32F373x family offers devices in five packages ranging from 48 pins to 100 pins. The set of included peripherals changes with the device chosen. DocID022691 Rev 4 9/131 47 Description STM32F37xxx Table 2. Device overview STM32F 373Cx Peripheral STM32F 373Rx Flash (Kbytes) 64 128 256 64 128 256 64 128 256 SRAM (Kbytes) 16 24 32 16 24 32 16 24 32 Timers General purpose 9 (16-bit) 2 (32 bit) Basic 3 (16-bit) SPI/I2S 3 2 Comm. interfaces GPIOs I C 2 USART 3 CAN 1 USB 1 Normal I/Os (TC, TTa) 36 52 84 5 volts Tolerant I/Os (FT, Ftf) 20 28 45 12-bit ADCs 1 16-bit ADCs Sigma- Delta 3 12-bit DACs outputs 3 Analog comparator 2 Capacitive sensing channels 14 17 Max. CPU frequency 2.0 to 3.6 V 16-bit SDADC operating voltage 2.2 to 3.6 V Packages 24 72 MHz Main operating voltage Operating temperature Ambient operating temperature: −40 to 85 °C / −40 to 105 °C Junction temperature: - -40 to 125 °C LQFP48 1. UFBGA100 package available on 256-KB versions only. 10/131 STM32F 373Vx DocID022691 Rev 4 LQFP64 LQFP100, UFBGA100(1) STM32F37xxx Description Figure 1. Block diagram Ibus CORTEX M4 CPU fmax: 72 MHz NVIC Dbus System NVIC BusMatrix JTRST JTDI JTCK/SWCLK JTMS/SWDAT JTDO as AF Trace Controller Pbus Flash obl Interface JTAG & SW VDD18 Flash up to 256 KB POR SUPPLY Reset SUPERVISION Int POR / PDR SRAM up to 32 KB @VDDA RC LS 7 channels GPIO PORT A PB[15:14-10:0] GPIO PORT B PC[15:0] GPIO PORT C PD[15:0] GPIO PORT D PF[7 bits] XX AF GPIO PORT E TIM 16 4 Channels, ETR as AF TIM 19 10 SDADC3 INs 5 SDADC1 INs & 5 shared w/ SDADC2 VREFSD+ VREFSD5 SDADC2 INs. & 5 shared w/ SD1 VSSSD XTAL 32kHz OSC32_IN OSC32_OUT Backup reg ANTI-TAMP RTC AWU Backup interface TIM2 4 Channels, ETR as AF TIM3 4 Channels, ETR as AF TIM4 4 Channels, ETR as AF TIM5 4 Channels, ETR as AF TIM12 2 Channel, ETR as AF TIM13 1 Channel as AF TIM14 1 Channel as AF CRC AHB to APB1 TIM 15 TIM 17 USART2 RX,TX, CTS, RTS, SmartCard as AF USART3 RX,TX, CTS, RTS, SmartCard as AF WWDG SPI2/IS2 2x(8x16bit) MOSI,MISO, SCK,NSS as AF SPI3/I2S3 2x(8x16bit) MOSI,MISO, SCK,NSS as AF TIM6 SPI1/I2S1 I2C1 SCL,SDA,SMBA as AF I2C2 SCL,SDA,SMBA as AF bxCAN CAN TX/CAN RX TIM7 USART1 16-bit SDADC2 IF 16-bit SDADC1 IF @VDDSD12 APB2 : Fmax= 72 MHz RX,TX, CTS, RTS, SmartCard as AF VBAT @VSW SDADC 1/2/3CLK EXT.IT WKUP 2 Channels, 1 Comp Channel, BRK as AF 1 Channel, 1 Comp Channel, BRK as AF 1 Channels, 1 Comp Channel, BRK as AF MOSI,MISO, SCK,NSS as AF Standby interface GPIO PORT F AHB to APB2 OSC_IN OSC_OUT IWDG APBP1CLK APBP2CLK HCLK FCLK APB1 : Fmax= 36 MHz PE[15:0] @VDDIO XTAL OSC 4-32 MHz USARTCLK CECCLK ADCCLK AHB 1: Fmax = 72 MHz PA[15:0] AHB 2 Touch Sensing Controller @VDDA PLL RESET& CLOCK MANAGT CTRL NRESET VDDA VSSA PVD RC HS 8 MHz DMA2 5 channels VDD=2 to 3.6V VSS @VDDIO 64 bit DMA1 8 Groups of 4 channels max as AF POWER VOLT. REG. 3.3V TO 1.8V TIM18 SRAM 512B USB 2.0 FS USB_DM/USB_DP HDMI CEC HDMI CEC as AF IF 12-bit DAC1_OUT1 DAC1_OUT1 as AF IF 12-bit DAC1_OUT2 DAC1_OUT2 as AF IF 12-bit DAC2_OUT1 DAC2_OUT1 as AF 16-bit SDADC3 IF @VDDSD3 VDDSD12 VDDSD3 @VDDA Temp sensor 16 AINs VREF+ VREF- SYSCFG CTL @VDD @VDDA COMP1 12-bit ADC IF COMP 2 4 INs, 2 OUTs as AF MS32157V1 1. AF: alternate function on I/O pins. 2. Example given for STM32F372xx device. DocID022691 Rev 4 11/131 47 Functional overview STM32F37xxx 3 Functional overview 3.1 ARM® Cortex™-M4 core with embedded Flash and SRAM The ARM Cortex-M4 processor is the latest generation of ARM processors for embedded systems. It was developed to provide a low-cost platform that meets the needs of MCU implementation, with a reduced pin count and low-power consumption, while delivering outstanding computational performance and an advanced response to interrupts. The ARM Cortex-M4 32-bit RISC processor features exceptional code-efficiency, delivering the high-performance expected from an ARM core in the memory size usually associated with 8- and 16-bit devices. The processor supports a set of DSP instructions which allow efficient signal processing and complex algorithm execution. Its single precision FPU speeds up software development by using metalanguage development tools, while avoiding saturation. With its embedded ARM core, the STM32F373x family is compatible with all ARM tools and software. Figure 1 shows the general block diagram of the STM32F373x family. 3.2 Memory protection unit The memory protection unit (MPU) is used to separate the processing of tasks from the data protection. The MPU can manage up to 8 protection areas that can all be further divided up into 8 subareas. The protection area sizes are between 32 bytes and the whole 4 gigabytes of addressable memory. The memory protection unit is especially helpful for applications where some critical or certified code has to be protected against the misbehavior of other tasks. It is usually managed by an RTOS (real-time operating system). If a program accesses a memory location that is prohibited by the MPU, the RTOS can detect it and take action. In an RTOS environment, the kernel can dynamically update the MPU area setting, based on the process to be executed. The MPU is optional and can be bypassed for applications that do not need it. The Cortex-M4 processor is a high performance 32-bit processor designed for the microcontroller market. It offers significant benefits to developers, including: • Outstanding processing performance combined with fast interrupt handling • Enhanced system debug with extensive breakpoint and trace capabilities • Efficient processor core, system and memories • Ultralow power consumption with integrated sleep modes • Platform security robustness with optional integrated memory protection unit (MPU). With its embedded ARM core, the STM32F373x devices are compatible with all ARM development tools and software. 12/131 DocID022691 Rev 4 STM32F37xxx 3.3 Functional overview Embedded Flash memory All STM32F373x devices feature up to 256 Kbytes of embedded Flash memory available for storing programs and data. The Flash memory access time is adjusted to the CPU clock frequency (0 wait state from 0 to 24 MHz, 1 wait state from 24 to 48 MHz and 2 wait states above). 3.4 Cyclic redundancy check (CRC) calculation unit The CRC (cyclic redundancy check) calculation unit is used to get a CRC code using a configurable generator polynomial value and size. Among other applications, CRC-based techniques are used to verify data transmission or storage integrity. In the scope of the EN/IEC 60335-1 standard, they offer a means of verifying the Flash memory integrity. The CRC calculation unit helps compute a signature of the software during runtime, to be compared with a reference signature generated at linktime and stored at a given memory location. 3.5 Embedded SRAM All STM32F373x devices feature up to 32 Kbytes of embedded SRAM with hardware parity check. The memory can be accessed in read/write at CPU clock speed with 0 wait states. 3.6 Boot modes At startup, Boot0 pin and Boot1 option bit are used to select one of three boot options: • Boot from user Flash • Boot from system memory • Boot from embedded SRAM The boot loader is located in system memory. It is used to reprogram the Flash memory by using USART1 (PA9/PA10), USART2 (PD5/PD6) or USB (PA11/PA12) through DFU (device firmware upgrade). DocID022691 Rev 4 13/131 47 Functional overview STM32F37xxx 3.7 Power management 3.7.1 Power supply schemes 3.7.2 • VDD: external power supply for I/Os and the internal regulator. It is provided externally through VDD pins, and can be 2.0 to 3.6 V. • VDDA = 2.0 to 3.6 V: – external analog power supplies for Reset blocks, RCs and PLL – supply voltage for 12-bit ADC, DACs and comparators (minimum voltage to be applied to VDDA is 2.4 V when the 12-bit ADC and DAC are used). • VDDSD12 and VDDSD3 = 2.2 to 3.6 V: supply voltages for SDADC1/2 and SDADCD3 sigma delta ADCs. Independent from VDD/VDDA. • VBAT = 1.65 to 3.6 V: power supply for RTC, external clock 32 kHz oscillator and backup registers when VDD is not present. Power supply supervisor • The device has an integrated power-on reset (POR)/power-down reset (PDR) circuitry. It is always active, and ensures proper operation starting from/down to 2 V. The device remains in reset mode when VDD is below a specified threshold, VPOR/PDR, without the need for an external reset circuit. The POR monitors only the VDD supply voltage. During the startup phase it is required that VDDA should arrive first and be greater than or equal to VDD. • The PDR monitors both the VDD and VDDA supply voltages, however the VDDA power supply supervisor can be disabled (by programming a dedicated Option bit) to reduce the power consumption if the application design ensures that VDDA is higher than or equal to VDD. The device features an embedded programmable voltage detector (PVD) that monitors the VDD power supply and compares it to the VPVD threshold. An interrupt can be generated when VDD drops below the VPVD threshold and/or when VDD is higher than the VPVD threshold. The interrupt service routine can then generate a warning message and/or put the MCU into a safe state. The PVD is enabled by software. 3.7.3 Voltage regulator The regulator has three operation modes: main (MR), low power (LPR), and power-down. • The MR mode is used in the nominal regulation mode (Run) • The LPR mode is used in Stop mode. • The power-down mode is used in Standby mode: the regulator output is in high impedance, and the kernel circuitry is powered down thus inducing zero consumption. The voltage regulator is always enabled after reset. It is disabled in Standby mode. 14/131 DocID022691 Rev 4 STM32F37xxx 3.7.4 Functional overview Low-power modes The STM32F373x supports three low-power modes to achieve the best compromise between low power consumption, short startup time and available wakeup sources: • Sleep mode In Sleep mode, only the CPU is stopped. All peripherals continue to operate and can wake up the CPU when an interrupt/event occurs. • Stop mode Stop mode achieves the lowest power consumption while retaining the content of SRAM and registers. All clocks in the 1.8 V domain are stopped, the PLL, the HSI RC and the HSE crystal oscillators are disabled. The voltage regulator can also be put either in normal or in low-power mode. The device can be woken up from Stop mode by any of the EXTI line. The EXTI line source can be one of the 16 external lines, the PVD output, the USARTs, the I2Cs, the CEC, the USB wakeup, and the RTC alarm. • Standby mode The Standby mode is used to achieve the lowest power consumption. The internal voltage regulator is switched off so that the entire 1.8 V domain is powered off. The PLL, the HSI RC and the HSE crystal oscillators are also switched off. After entering Standby mode, SRAM and register contents are lost except for registers in the Backup domain and Standby circuitry. The device exits Standby mode when an external reset (NRST pin), an IWDG reset, a rising edge on the WKUP pin, or an RTC alarm occurs. Note: The RTC, the IWDG, and the corresponding clock sources are not stopped by entering Stop or Standby mode. 3.8 Clocks and startup System clock selection is performed on startup, however the internal RC 8 MHz oscillator is selected as default CPU clock on reset. An external 4-32 MHz clock can be selected, in which case it is monitored for failure. If failure is detected, the system automatically switches back to the internal RC oscillator. A software interrupt is generated if enabled. Similarly, full interrupt management of the PLL clock entry is available when necessary (for example with failure of an indirectly used external oscillator). Several prescalers allow to configure the AHB frequency, the high speed APB (APB2) and the low speed APB (APB1) domains. The maximum frequency of the AHB and the high speed APB domains is 72 MHz, while the maximum allowed frequency of the low speed APB domain is 36 MHz. 3.9 General-purpose input/outputs (GPIOs) Each of the GPIO pins can be configured by software as output (push-pull or open-drain), as input (with or without pull-up or pull-down) or as peripheral alternate function. Most of the GPIO pins are shared with digital or analog alternate functions. All GPIOs are high current capable except for analog inputs. The I/Os alternate function configuration can be locked if needed following a specific sequence in order to avoid spurious writing to the I/Os registers. DocID022691 Rev 4 15/131 47 Functional overview STM32F37xxx Do not reconfigure GPIO pins which are not present on 48 and 64 pin packages to the analog mode. Additional current consumption in the range of tens of µA per pin can be observed if VDDA is higher than VDDIO. 3.10 Direct memory access (DMA) The flexible 12-channel, general-purpose DMA is able to manage memory-to-memory, peripheral-to-memory and memory-to-peripheral transfers. The DMA controller supports circular buffer management, avoiding the generation of interrupts when the controller reaches the end of the buffer. Each channel is connected to dedicated hardware DMA requests, with software trigger support for each channel. Configuration is done by software and transfer sizes between source and destination are independent. The two DMAs can be used with the main peripherals: SPIs, I2Cs, USARTs, DACs, ADC, SDADCs, general-purpose timers. 3.11 Interrupts and events 3.11.1 Nested vectored interrupt controller (NVIC) The STM32F373x devices embed a nested vectored interrupt controller (NVIC) able to handle up to 60 maskable interrupt channels and 16 priority levels. The NVIC benefits are the following: • Closely coupled NVIC gives low latency interrupt processing • Interrupt entry vector table address passed directly to the core • Closely coupled NVIC core interface • Allows early processing of interrupts • Processing of late arriving higher priority interrupts • Support for tail chaining • Processor state automatically saved • Interrupt entry restored on interrupt exit with no instruction overhead The NVIC hardware block provides flexible interrupt management features with minimal interrupt latency. 3.11.2 Extended interrupt/event controller (EXTI) The extended interrupt/event controller consists of 29 edge detector lines used to generate interrupt/event requests and wake-up the system. Each line can be independently configured to select the trigger event (rising edge, falling edge, both) and can be masked independently. A pending register maintains the status of the interrupt requests. The EXTI can detect an external line with a pulse width shorter than the internal clock period. Up to 84 GPIOs can be connected to the 16 external interrupt lines. 16/131 DocID022691 Rev 4 STM32F37xxx 3.12 Functional overview 12-bit analog-to-digital converter (ADC) The 12-bit analog-to-digital converter is based on a successive approximation register (SAR) architecture. It has up to 16 external channels (AIN15:0) and 3 internal channels (temperature sensor, voltage reference, VBAT voltage measurement) performing conversions in single-shot or scan modes. In scan mode, automatic conversion is performed on a selected group of analog inputs. The ADC can be served by the DMA controller. An analog watchdog feature allows very precise monitoring of the converted voltage of one, some or all selected channels. An interrupt is generated when the converted voltage is outside the programmed thresholds. The events generated by the timers (TIMx) can be internally connected to the ADC start and injection trigger, respectively, to allow the application to synchronize A/D conversion and timers. 3.12.1 Temperature sensor The temperature sensor (TS) generates a voltage VSENSE that varies linearly with temperature. The temperature sensor is internally connected to the ADC_IN16 input channel which is used to convert the sensor output voltage into a digital value. The sensor provides good linearity but it has to be calibrated to obtain good overall accuracy of the temperature measurement. As the offset of the temperature sensor varies from chip to chip due to process variation, the uncalibrated internal temperature sensor is suitable for applications that detect temperature changes only. To improve the accuracy of the temperature sensor measurement, each device is individually factory-calibrated by ST. The temperature sensor factory calibration data are stored by ST in the system memory area, accessible in read-only mode. See Table 65: Temperature sensor calibration values on page 104. 3.12.2 Internal voltage reference (VREFINT) The internal voltage reference (VREFINT) provides a stable (bandgap) voltage output for the ADC and Comparators. VREFINT is internally connected to the ADC_IN17 input channel. The precise voltage of VREFINT is individually measured for each part by ST during production test and stored in the system memory area. It is accessible in read-only mode. 3.12.3 VBAT battery voltage monitoring This embedded hardware feature allows the application to measure the VBAT battery voltage using the internal ADC channel ADC_IN18. As the VBAT voltage may be higher than VDDA, and thus outside the ADC input range, the VBAT pin is internally connected to a divider by 2. As a consequence, the converted digital value is half the VBAT voltage. DocID022691 Rev 4 17/131 47 Functional overview 3.13 STM32F37xxx 16-bit sigma delta analog-to-digital converters (SDADC) Up to three 16-bit sigma-delta analog-to-digital converters are embedded in the STM32F373x. They have up to two separate supply voltages allowing the analog function voltage range to be independent from the STM32F373x power supply. They share up to 21 input pins which may be configured in any combination of single-ended (up to 21) or differential inputs (up to 11). The conversion speed is up to 16.6 ksps for each SDADC when converting multiple channels and up to 50 ksps per SDADC if single channel conversion is used. There are two conversion modes: single conversion mode or continuous mode, capable of automatically scanning any number of channels. The data can be automatically stored in a system RAM buffer, reducing the software overhead. A timer triggering system can be used in order to control the start of conversion of the three SDADCs and/or the 12-bit fast ADC. This timing control is very flexible, capable of triggering simultaneous conversions or inserting a programmable delay between the ADCs. Up to two external reference pins (VREFSD+, VREFSD-) and an internal 1.2/1.8 V reference can be used in conjunction with a programmable gain (x0.5 to x32) in order to fine-tune the input voltage range of the SDADC. 3.14 Digital-to-analog converter (DAC) The devices feature up to two 12-bit buffered DACs with three output channels that can be used to convert three digital signals into three analog voltage signal outputs. The internal structure is composed of integrated resistor strings and an amplifier in inverting configuration. This digital Interface supports the following features: • 18/131 Up to two DAC converters with three output channels: – DAC1 with two output channels – DAC2 with one output channel. • 8-bit or 10-bit monotonic output • Left or right data alignment in 12-bit mode • Synchronized update capability • Noise-wave generation • triangular-wave generation • Dual DAC channel independent or simultaneous conversions (DAC1 only) • DMA capability for each channel • External triggers for conversion DocID022691 Rev 4 STM32F37xxx 3.15 Functional overview Fast comparators (COMP) The STM32F373x embeds up to 2 comparators with rail-to-rail inputs and high-speed output. The reference voltage can be internal or external (delivered by an I/O). The threshold can be one of the following: • DACs channel outputs • External I/O • Internal reference voltage (VREFINT) or submultiple (1/4 VREFINT, 1/2 VREFINT and 3/4 VREFINT) The comparators can be combined into a window comparator. Both comparators can wake up the device from Stop mode and generate interrupts and breaks for the timers. 3.16 Touch sensing controller (TSC) The devices provide a simple solution for adding capacitive sensing functionality to any application. Capacitive sensing technology is able to detect the presence of a finger near an electrode which is protected from direct touch by a dielectric (glass, plastic, ...). The capacitive variation introduced by the finger (or any conductive object) is measured using a proven implementation based on a surface charge transfer acquisition principle. It consists of charging the electrode capacitance and then transferring a part of the accumulated charges into a sampling capacitor until the voltage across this capacitor has reached a specific threshold. To limit the CPU bandwidth usage this acquisition is directly managed by the hardware touch sensing controller and only requires few external components to operate. The touch sensing controller is fully supported by the STMTouch touch sensing firmware library, which is free to use and allows touch sensing functionality to be implemented reliably in the end application. Up to 24 touch sensing electrodes can be controlled by the TSC. The touch sensing I/Os are organized in 8 acquisition groups, with up to 4 I/Os in each group. Table 3. Capacitive sensing GPIOs available on STM32F373x devices Group 1 2 Capacitive sensing signal name Pin name Capacitive sensing signal name Pin name TSC_G1_IO1 PA0 TSC_G5_IO1 PB3 TSC_G1_IO2 PA1 TSC_G5_IO2 PB4 TSC_G1_IO3 PA2 TSC_G5_IO3 PB6 TSC_G1_IO4 PA3 TSC_G5_IO4 PB7 TSC_G2_IO1 PA4 TSC_G6_IO1 PB14 TSC_G2_IO2 PA5 TSC_G6_IO2 PB15 TSC_G2_IO3 PA6 TSC_G6_IO3 PD8 TSC_G2_IO4 PA7 TSC_G6_IO4 PD9 DocID022691 Rev 4 Group 5 6 19/131 47 Functional overview STM32F37xxx Table 3. Capacitive sensing GPIOs available on STM32F373x devices (continued) Group 3 4 Capacitive sensing signal name Pin name Capacitive sensing signal name Pin name TSC_G3_IO1 PC4 TSC_G7_IO1 PE2 TSC_G3_IO2 PC5 TSC_G7_IO2 PE3 TSC_G3_IO3 PB0 TSC_G7_IO3 PE4 TSC_G3_IO4 PB1 TSC_G7_IO4 PE5 TSC_G4_IO1 PA9 TSC_G8_IO1 PD12 TSC_G4_IO2 PA10 TSC_G8_IO2 PD13 TSC_G4_IO3 PA13 TSC_G8_IO3 PD14 TSC_G4_IO4 PA14 TSC_G8_IO4 PD15 Group 7 8 Table 4. No. of capacitive sensing channels available on STM32F373x devices Number of capacitive sensing channels Analog I/O group 20/131 STM32F37xCx STM32F37xRx STM32F37xVx G1 3 3 3 G2 2 3 3 G3 1 3 3 G4 3 3 3 G5 3 3 3 G6 2 2 3 G7 0 0 3 G8 0 0 3 Number of capacitive sensing channels 14 17 24 DocID022691 Rev 4 STM32F37xxx 3.17 Functional overview Timers and watchdogs The STM32F373x includes two 32-bit and nine 16-bit general-purpose timers, three basic timers, two watchdog timers and a SysTick timer. The table below compares the features of the advanced control, general purpose and basic timers. Table 5. Timer feature comparison Timer type Timer Counter resolution Counter type Prescaler factor DMA request generation Capture/ compare channels Complementary outputs Generalpurpose TIM2 TIM5 32-bit Up, Down, Up/Down Any integer between 1 and 65536 Yes 4 0 Generalpurpose TIM3, TIM4, TIM19 16-bit Up, Down, Up/Down Any integer between 1 and 65536 Yes 4 0 Generalpurpose TIM12 16-bit Up Any integer between 1 and 65536 No 2 0 Generalpurpose TIM15 16-bit Up Any integer between 1 and 65536 Yes 2 1 Generalpurpose TIM13, TIM14 16-bit Up Any integer between 1 and 65536 No 1 0 Generalpurpose TIM16, TIM17 16-bit Up Any integer between 1 and 65536 Yes 1 1 Basic TIM6, TIM7, TIM18 16-bit Up Any integer between 1 and 65536 Yes 0 0 DocID022691 Rev 4 21/131 47 Functional overview 3.17.1 STM32F37xxx General-purpose timers (TIM2 to TIM5, TIM12 to TIM17, TIM19) There are eleven synchronizable general-purpose timers embedded in the STM32F373x (see Table 5 for differences). Each general-purpose timer can be used to generate PWM outputs, or act as a simple time base. • TIM2, 3, 4, 5 and 19 These five timers are full-featured general-purpose timers: – TIM2 and TIM5 have 32-bit auto-reload up/downcounters and 32-bit prescalers – TIM3, 4, and 19 have 16-bit auto-reload up/downcounters and 16-bit prescalers These timers all feature 4 independent channels for input capture/output compare, PWM or one-pulse mode output. They can work together, or with the other generalpurpose timers via the Timer Link feature for synchronization or event chaining. The counters can be frozen in debug mode. All have independent DMA request generation and support quadrature encoders. • TIM12, 13, 14, 15, 16, 17 These six timers general-purpose timers with mid-range features: They have 16-bit auto-reload upcounters and 16-bit prescalers. – TIM12 has 2 channels – TIM13 and TIM14 have 1 channel – TIM15 has 2 channels and 1 complementary channel – TIM16 and TIM17 have 1 channel and 1 complementary channel All channels can be used for input capture/output compare, PWM or one-pulse mode output. The timers can work together via the Timer Link feature for synchronization or event chaining. The timers have independent DMA request generation. The counters can be frozen in debug mode. 3.17.2 Basic timers (TIM6, TIM7, TIM18) These timers are mainly used for DAC trigger generation. They can also be used as a generic 16-bit time base. 22/131 DocID022691 Rev 4 STM32F37xxx 3.17.3 Functional overview Independent watchdog (IWDG) The independent watchdog is based on a 12-bit downcounter and 8-bit prescaler. It is clocked from an independent 40 kHz internal RC and as it operates independently from the main clock, it can operate in Stop and Standby modes. It can be used either as a watchdog to reset the device when a problem occurs, or as a free running timer for application timeout management. It is hardware or software configurable through the option bytes. The counter can be frozen in debug mode. 3.17.4 System window watchdog (WWDG) The system window watchdog is based on a 7-bit downcounter that can be set as free running. It can be used as a watchdog to reset the device when a problem occurs. It is clocked from the APB1 clock (PCLK1) derived from the main clock. It has an early warning interrupt capability and the counter can be frozen in debug mode. 3.17.5 SysTick timer This timer is dedicated to real-time operating systems, but could also be used as a standard down counter. It features: 3.18 • A 24-bit down counter • Autoreload capability • Maskable system interrupt generation when the counter reaches 0 • Programmable clock source Real-time clock (RTC) and backup registers The RTC and the backup registers are supplied through a switch that takes power either from VDD supply when present or through the VBAT pin. The backup registers are thirty two 32-bit registers used to store 128 bytes of user application data. They are not reset by a system or power reset, and they are not reset when the device wakes up from the Standby mode. DocID022691 Rev 4 23/131 47 Functional overview STM32F37xxx The RTC is an independent BCD timer/counter. Its main features are the following: • Calendar with subsecond, seconds, minutes, hours (12 or 24 format), week day, date, month, year, in BCD (binary-coded decimal) format. • Automatic correction for 28th, 29th (leap year), 30th and 31st day of the month. • 2 programmable alarms with wake up from Stop and Standby mode capability. • Periodic wakeup unit with programmable resolution and period. • On-the-fly correction from 1 to 32767 RTC clock pulses. This can be used to synchronize it with a master clock. • Digital calibration circuit with 1 ppm resolution, to compensate for quartz crystal inaccuracy. • 3 anti-tamper detection pins with programmable filter. The MCU can be woken up from Stop and Standby modes on tamper event detection. • Timestamp feature which can be used to save the calendar content. This function can triggered by an event on the timestamp pin, or by a tamper event. The MCU can be woken up from Stop and Standby modes on timestamp event detection. • Reference clock detection: a more precise second source clock (50 or 60 Hz) can be used to enhance the calendar precision. The RTC clock sources can be: 3.19 • A 32.768 kHz external crystal • A resonator or oscillator • The internal low-power RC oscillator (typical frequency of 40 kHz) • The high-speed external clock divided by 32 Inter-integrated circuit interface (I2C) Up to two I2C bus interfaces can operate in multimaster and slave modes. They can support standard (up to 100 kHz), fast (up to 400 kHz) and fast mode + (up to 1 MHz) modes with 20 mA output drive. They support 7-bit and 10-bit addressing modes, multiple 7-bit slave addresses (2 addresses, 1 with configurable mask). They also include programmable analog and digital noise filters. Table 6. Comparison of I2C analog and digital filters Analog filter Digital filter Pulse width of suppressed spikes ≥ 50 ns Programmable length from 1 to 15 I2C peripheral clocks Benefits Available in Stop mode 1. Extra filtering capability vs. standard requirements. 2. Stable length Drawbacks Variations depending on temperature, voltage, process Wakeup from Stop on address match is not available when digital filter is enabled In addition, they provide hardware support for SMBUS 2.0 and PMBUS 1.1: ARP capability, Host notify protocol, hardware CRC (PEC) generation/verification, timeout verifications and 24/131 DocID022691 Rev 4 STM32F37xxx Functional overview ALERT protocol management. They also have a clock domain independent from the CPU clock, allowing the application to wake up the MCU from Stop mode on address match. The I2C interfaces can be served by the DMA controller Refer to Table 7 for the differences between I2C1 and I2C2. Table 7. STM32F373x I2C implementation I2C features(1) I2C1 I2C2 7-bit addressing mode X X 10-bit addressing mode X X Standard mode (up to 100 kbit/s) X X Fast mode (up to 400 kbit/s) X X Fast Mode Plus with 20mA output drive I/Os (up to 1 Mbit/s) X X Independent clock X X SMBus X X Wakeup from STOP X X 1. X = supported. 3.20 Universal synchronous/asynchronous receiver transmitter (USART) The STM32F373x embeds three universal synchronous/asynchronous receiver transmitters (USART1, USART2 and USART3). All USARTs interfaces are able to communicate at speeds of up to 9 Mbit/s. They provide hardware management of the CTS and RTS signals, they support IrDA SIR ENDEC, the multiprocessor communication mode, the single-wire half-duplex communication mode, Smartcard mode (ISO/IEC 7816 compliant), autobaudrate feature and have LIN Master/Slave capability. The USART interfaces can be served by the DMA controller. Refer to Table 8 for the features of USART1, USART2 and USART3. Table 8. STM32F373x USART implementation USART modes/features(1) USART1 USART2 USART3 Hardware flow control for modem X X X Continuous communication using DMA X X X Multiprocessor communication X X X Synchronous mode X X X Smartcard mode X X X Single-wire half-duplex communication X X X IrDA SIR ENDEC block X X X LIN mode X X X DocID022691 Rev 4 25/131 47 Functional overview STM32F37xxx Table 8. STM32F373x USART implementation (continued) USART modes/features(1) USART1 USART2 USART3 Dual clock domain and wakeup from Stop mode X X X Receiver timeout interrupt X X X Modbus communication X X X Auto baud rate detection X X X Driver Enable X X X 1. X = supported. 3.21 Serial peripheral interface (SPI)/Inter-integrated sound interfaces (I2S) Up to three SPIs are able to communicate at up to 18 Mbits/s in slave and master modes in full-duplex and half-duplex communication modes. The 3-bit prescaler gives 8 master mode frequencies and the frame is configurable to 8 bits or 16 bits. The hardware CRC generation/verification supports basic SD Card/MMC modes. The SPIs can be served by the DMA controller. Three standard I2S interfaces (multiplexed with SPI1, SPI2 and SPI3) are available, that can be operated in master or slave mode. These interfaces can be configured to operate with 16/32 bit resolution, as input or output channels. Audio sampling frequencies from 8 kHz up to 192 kHz are supported. When either or both of the I2S interfaces is/are configured in master mode, the master clock can be output to the external DAC/CODEC at 256 times the sampling frequency. All I2S interfaces can operate in half-duplex mode only. Refer to Table 9 for the features between SPI1, SPI2 and SPI3. Table 9. STM32F373x SPI/I2S implementation SPI features(1) SPI1 SPI2 SPI3 Hardware CRC calculation X X X Rx/Tx FIFO X X X NSS pulse mode X X X I2S mode X X X TI mode X X X I2S full-duplex mode 1. X = supported. 26/131 DocID022691 Rev 4 STM32F37xxx 3.22 Functional overview High-definition multimedia interface (HDMI) - consumer electronics control (CEC) The device embeds a HDMI-CEC controller that provides hardware support for the Consumer Electronics Control (CEC) protocol (Supplement 1 to the HDMI standard). This protocol provides high-level control functions between all audiovisual products in an environment. It is specified to operate at low speeds with minimum processing and memory overhead. It has a clock domain independent from the CPU clock, allowing the HDMI_CEC controller to wakeup the MCU from Stop mode on data reception. 3.23 Controller area network (CAN) The CAN is compliant with specifications 2.0A and B (active) with a bit rate up to 1 Mbit/s. It can receive and transmit standard frames with 11-bit identifiers as well as extended frames with 29-bit identifiers. It has three transmit mailboxes, two receive FIFOs with 3 stages and 14 scalable filter banks. 3.24 Universal serial bus (USB) The STM32F373x embeds an USB device peripheral compatible with the USB full-speed 12 Mbs. The USB interface implements a full-speed (12 Mbit/s) function interface. It has software-configurable endpoint setting and suspend/resume support. The dedicated 48 MHz clock is generated from the internal main PLL (the clock source must use a HSE crystal oscillator). 3.25 Serial wire JTAG debug port (SWJ-DP) The ARM SWJ-DP Interface is embedded, and is a combined JTAG and serial wire debug port that enables either a serial wire debug or a JTAG probe to be connected to the target. The JTAG TMS and TCK pins are shared respectively with SWDIO and SWCLK and a specific sequence on the TMS pin is used to switch between JTAG-DP and SW-DP. DocID022691 Rev 4 27/131 47 Functional overview 3.26 STM32F37xxx Embedded trace macrocell™ The ARM embedded trace macrocell provides a greater visibility of the instruction and data flow inside the CPU core by streaming compressed data at a very high rate from the STM32F373x through a small number of ETM pins to an external hardware trace port analyzer (TPA) device. The TPA is connected to a host computer using USB, Ethernet, or any other high-speed channel. Real-time instruction and data flow activity can be recorded and then formatted for display on the host computer running debugger software. TPA hardware is commercially available from common development tool vendors. It operates with third party debugger software tools. 28/131 DocID022691 Rev 4 STM32F37xxx 4 Pinouts and pin description Pinouts and pin description VDD_1 VSS_1 PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PA15 PA14 Figure 2. STM32F373x LQFP48 pinout 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 4 32 5 31 6 LQFP48 30 7 29 8 28 9 27 10 26 11 25 12 13 14 15 16 17 18 19 20 21 22 23 24 1 2 3 PA3 PA4 PA5 PA6 VDD_2 PB0 PB1 PB2 PE8 PE9 VSSSD/VREFSD VDDSD VBAT PC13 PC14 - OSC32_IN PC15 - OSC32_OUT PF0-OSC_IN PF1-OSC_OUT NRST VSSA/VREFVDDA/VREF+ PA0 PA1 PA2 PF7 PF6 PA13 PA12 PA11 PA10 PA9 PA8 PD8 PB15 PB14 VREFSD+ MS31042V2 1. The above figure shows the package top view. DocID022691 Rev 4 29/131 47 Pinouts and pin description STM32F37xxx VDD_1 VSS_1 PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PD2 PC12 PC11 PC10 PA15 PA14 Figure 3. STM32F373x LQFP64 pinout 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 1 47 2 46 3 45 4 44 5 43 6 42 7 41 8 LQFP64 40 9 39 10 38 11 37 12 36 13 35 14 34 15 33 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 PF7 PF6 PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 PD8 PB15 PB14 VREFSD+ VREF+ PA3 VDD_2 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2 PE8 PE9 VSSSD/VREFSDVDDSD VBAT PC13 PC14 - OSC32_IN PC15 - OSC32_OUT PF0 - OSC_IN PF1 - OSC_OUT NRST PC0 PC1 PC2 PC3 VSSA/VREFVDDA PA0 PA1 PA2 MS31045V1 1. The above figure shows the package top view. 30/131 DocID022691 Rev 4 STM32F37xxx Pinouts and pin description 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 VDD_1 VSS_1 PE1 PE0 PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 PC12 PC11 PC10 PA15 PA14 Figure 4. STM32F373x LQFP100 pinout LQFP100 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 VDD_3 VSS_3 PF6 PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PB15 PB14 VREFSD+ VDDSD3 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 PA3 PF4 VDD_2 PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 PB10 VREFSDVSSSD VDDSD12 PE2 PE3 PE4 PE5 PE6 VBAT PC13 PC14 - OSC32_IN PC15 - OSC32_OUT PF9 PF10 PF0-OSC_IN PF1-OSC_OUT NRST PC0 PC1 PC2 PC3 PF2 VSSA/VREFVDDA VREF+ PA0 PA1 PA2 MS32162V1 DocID022691 Rev 4 31/131 47 Pinouts and pin description STM32F37xxx Figure 5. STM32F373x BGA100 ballout A PE3 PE1 PB8 BOOT0 PD7 PD5 PB4 PB3 PA15 PA14 PA13 PA12 B PE4 PE2 PB9 PB7 PB6 PD6 PD4 PD3 PD1 PC12 PC10 PA11 C PC13 PE5 PE0 PD2 PD0 PC11 PF6 PA10 D PC14 PE6 VSS_1 PA9 PA8 PC9 PC15 VBAT PC8 PC7 PC6 F PF0 PF9 VSS_3 VSSSD G PF1 PF10 VDD_3 VDDSD12 H PC0 NRST J PF2 K E PB5 VDD_1 PF4 VDD_2 PD15 PD14 PD13 PC1 PC2 PD12 PD11 PD10 VSSA/ VREF- PC3 PA2 PA5 PC4 PB14 VREFSD+ L VREF+ PA0 PA3 PA6 PC5 PB2 M VDDA PA1 PA4 PA7 PB0 PB1 PD9 PD8 PB15 PE8 PE10 PE12 PB10 PE7 PE9 PE11 PE13 VREFSD- VDDSD3 PE14 PE15 MS31049V1 1. The above figure shows the package top view. 32/131 DocID022691 Rev 4 STM32F37xxx Pinouts and pin description Table 10. Legend/abbreviations used in the pinout table Name Pin name Abbreviation Unless otherwise specified in brackets below the pin name, the pin function during and after reset is the same as the actual pin name Pin type I/O structure Notes Definition S Supply pin I Input only pin I/O Input / output pin FT 5 V tolerant I/O FTf 5 V tolerant I/O, FM+ capable TTa 3.3 V tolerant I/O directly connected to ADC TC Standard 3.3 V I/O B Dedicated BOOT0 pin RST Bidirectional reset pin with embedded weak pull-up resistor Unless otherwise specified by a note, all I/Os are set as floating inputs during and after reset Alternate Functions selected through GPIOx_AFR registers functions Pin functions Additional Functions directly selected/enabled through peripheral registers functions Table 11. STM32F37x pin definitions (function after reset) PE2 A1 PE3 Pin type Notes LQFP48 BGA100 B2 LQFP64 LQFP100 Pin name 1 2 Pin functions I/O structure Pin numbers I/O FT (1) TSC_G7_IO1, TRACECLK FT (1) TSC_G7_IO2, TRACED0 TSC_G7_IO3, TRACED1 I/O Alternate function 3 B1 PE4 I/O FT (1) 4 C2 PE5 I/O FT (1) TSC_G7_IO4, TRACED2 5 D2 PE6 I/O FT (1) TRACED3 6 E2 1 1 VBAT S 7 C1 2 2 PC13 I/O Additional functions WKUP3, RTC_TAMPER3 Backup power supply WKUP2, ALARM_OUT, CALIB_OUT, TIMESTAMP, RTC_TAMPER1 TC DocID022691 Rev 4 33/131 47 Pinouts and pin description STM32F37xxx Table 11. STM32F37x pin definitions (continued) BGA100 LQFP64 LQFP48 Pin type LQFP100 Pin name Notes Pin functions I/O structure Pin numbers (function after reset) 8 D1 3 3 PC14 OSC32_IN I/O TC OSC32_IN 9 E1 4 4 PC15 OSC32_OUT I/O TC OSC32_OUT 10 F2 PF9 I/O FT (1) (1) 11 G2 12 F1 5 13 G1 14 15 Alternate function Additional functions TIM14_CH1 PF10 I/O FT 5 PF0 OSC_IN I/O FTf I2C2_SDA OSC_IN 6 6 PF1 OSC_OUT I/O FTf I2C2_SCL OSC_OUT H2 7 7 NRST I/O RST H1 8 PC0 I/O TTa (1) TIM5_CH1_ETR Device reset input / internal reset output (active low) (1) ADC_IN10 16 J2 9 PC1 I/O TTa 17 J3 10 PC2 I/O SPI2_MISO/I2S2_MCK, TTa (1) TIM5_CH3 ADC_IN12 18 K2 11 PC3 I/O SPI2_MOSI/I2S2_SD, TTa (1) TIM5_CH4 ADC_IN13 19 J1 PF2 I/O FT 20 K1 8 VSSA/VREF- S 9 VDDA/VREF + S (1) Analog power supply / Reference voltage for ADC, COMP, DAC VDDA S (1) Analog power supply S (1) Reference voltage for ADC, COMP, DAC 21 22 23 24 34/131 M1 L1 L2 M2 12 13 17 14 10 15 11 VREF+ PA0 PA1 I/O I/O (1) TIM5_CH2 ADCIN11 I2C2_SMBA Analog ground TTa USART2_CTS, TIM2_CH1_ETR, TIM5_CH1_ETR, TIM19_CH1, TSC_G1_IO1, COMP1_OUT RTC_ TAMPER2, WKUP1, ADC_IN0, COMP1_INM TTa SPI3_SCK/I2S3_CK, USART2_RTS, TIM2_CH2, TIM15_CH1N, TIM5_CH2, TIM19_CH2, TSC_G1_IO2, RTC_REFIN ADC_IN1, COMP1_INP DocID022691 Rev 4 STM32F37xxx Pinouts and pin description Table 11. STM32F37x pin definitions (continued) 25 K3 26 L3 27 E3 28 H3 18 13 19 17 PA2 Pin type I/O Notes LQFP48 LQFP64 16 12 (function after reset) I/O structure Pin functions Pin name BGA100 LQFP100 Pin numbers Alternate function Additional functions TTa COMP2_OUT, SPI3_MISO/I2S3_MCK, USART2_TX, TIM2_CH3, TIM15_CH1, TIM5_CH3, TIM19_CH3, TSC_G1_IO3 ADC_IN2, COMP2_INM SPI3_MOSI/I2S3_SD, USART2_RX, TIM2_CH4, TIM15_CH2, TIM5_CH4, TIM19_CH4, TSC_G1_IO4 ADC_IN3, COMP2_INP PA3 I/O TTa PF4 I/O FT VDD_2 S (1) Digital power supply 29 M3 20 14 PA4 I/O TTa SPI1_NSS/I2S1_WS, SPI3_NSS/I2S3_WS, USART2_CK, TIM3_CH2, TIM12_CH1, TSC_G2_IO1, 30 K4 21 15 PA5 I/O TTa SPI1_SCK/I2S1_CK, CEC, TIM2_CH1_ETR, TIM14_CH1, TIM12_CH2, TSC_G2_IO2 ADC_IN5, DAC1_OUT2 TTa SPI1_MISO/I2S1_MCK, COMP1_OUT, TIM3_CH1, TIM13_CH1, TIM16_CH1, TSC_G2_IO3 ADC_IN6, DAC2_OUT1, TSC_G2_IO4, TIM14_CH1, SPI1_MOSI/I2S1_SD, TIM17_CH1, TIM3_CH2, COMP2_OUT ADC_IN7 31 L4 22 16 PA6 I/O (1) ADC_IN4, DAC1_OUT1 32 M4 23 PA7 I/O TTa 33 K5 24 PC4 I/O TIM13_CH1, TSC_G3_IO1, TTa (1) USART1_TX ADC_IN14 34 L5 25 PC5 I/O TTa (1) TSC_G3_IO2, USART1_RX ADC_IN15 35 M5 26 18 PB0 I/O TTa SPI1_MOSI/I2S1_SD, TIM3_CH3, TSC_G3_IO3, TIM3_CH2 ADC_IN8, SDADC1_AIN6P 36 M6 27 19 PB1 I/O TTa TIM3_CH4, TSC_G3_IO4 ADC_IN9, SDADC1_AIN5P, SDADC1_AIN6M 37 L6 28 20 PB2 I/O TC (2) DocID022691 Rev 4 SDADC1_AIN4P, SDADC2_AIN6P 35/131 47 Pinouts and pin description STM32F37xxx Table 11. STM32F37x pin definitions (continued) 38 M7 39 L7 40 M8 41 LQFP48 LQFP64 BGA100 LQFP100 Pin name 29 21 30 22 (function after reset) Pin type PE7 I/O TC PE8 I/O TC Notes Pin functions I/O structure Pin numbers Alternate function Additional functions (1) SDADC1_AIN3P, SDADC1_AIN4M, SDADC2_AIN5P, SDADC2_AIN6M (2) SDADC1_AIN8P, SDADC2_AIN8P (2) SDADC1_AIN7P, SDADC1_AIN8M, SDADC2_AIN7P, SDADC2_AIN8M (2) PE9 I/O TC L8 PE10 I/O TC 42 M9 PE11 I/O TC 43 L9 PE12 I/O TC 44 M10 PE13 I/O TC 45 M11 PE14 I/O TC 46 M12 PE15 I/O TC 47 L10 PB10 I/O TC 48 L11 VREFSD- S (1) External reference voltage for SDADC1, SDADC2, SDADC3 (negative input) 49 F12 VSSSD S (1) SDADC1, SDADC2, SDADC3 ground VSSSD/ VREFSD- S VDDSD12 S VDDSD S 31 23 50 G12 32 24 51 L12 36/131 VDDSD3 S (2) (1) SDADC1_AIN2P (2) SDADC1_AIN1P, SDADC1_AIN2M, SDADC2_AIN4P (1) SDADC1_AIN0P, SDADC2_AIN3P, SDADC2_AIN4M (2) (1) (2) SDADC1_AIN0M , SDADC2_AIN2P (1) (2) SDADC2_AIN1P, SDADC2_AIN2M (1) (2) (1) USART3_RX SDADC2_AIN0P SPI2_SCK/I2S2_CK, (1) USART3_TX, CEC, TSC_SYNC, TIM2_CH3 (2) SDADC2_AIN0M SDADC1, SDADC2, SDADC3 ground / External reference voltage for SDADC1, SDADC2, SDADC3 (negative input) (1) SDADC1 and SDADC2 power supply SDADC1, SDADC2, SDADC3 power supply (1) DocID022691 Rev 4 SDADC3 power supply STM32F37xxx Pinouts and pin description Table 11. STM32F37x pin definitions (continued) LQFP48 (function after reset) 52 K12 33 25 VREFSD+ S 53 K11 34 26 PB14 I/O LQFP64 BGA100 Pin type LQFP100 Pin name Notes Pin functions I/O structure Pin numbers Alternate function External reference voltage for SDADC1, SDADC2, SDADC3 (positive input) TC (3) SPI2_MISO/I2S2_MCK, USART3_RTS, TIM15_CH1, TIM12_CH1, TSC_G6_IO1 SDADC3_AIN8P SPI2_MOSI/I2S2_SD, TIM15_CH1N, TIM15_CH2, TIM12_CH2, TSC_G6_IO2, RTC_REFIN SDADC3_AIN7P, SDADC3_AIN8M SPI2_SCK/I2S2_CK, USART3_TX, TSC_G6_IO3 SDADC3_AIN6P USART3_RX, TSC_G6_IO4 SDADC3_AIN5P, SDADC3_AIN6M USART3_CK SDADC3_AIN4P (1) USART3_CTS SDADC3_AIN3P, SDADC3_AIN4M (3) USART3_RTS, TIM4_CH1, TSC_G8_IO1 SDADC3_AIN2P TIM4_CH2, TSC_G8_IO2 SDADC3_AIN1P, SDADC3_AIN2M TIM4_CH3, TSC_G8_IO3 SDADC3_AIN0P (1) TIM4_CH4, TSC_G8_IO4 SDADC3_AIN0M 54 K10 35 27 PB15 I/O TC (3) 55 K9 PD8 I/O TC (3) 56 K8 PD9 I/O TC 57 J12 PD10 I/O TC 58 J11 PD11 I/O TC 59 J10 PD12 I/O TC 60 H12 PD13 I/O TC 61 H11 PD14 I/O TC 62 H10 PD15 I/O TC 63 E12 37 PC6 I/O FT (1) TIM3_CH1, SPI1_NSS/I2S1_WS 64 E11 38 PC7 I/O FT (1) TIM3_CH2, SPI1_SCK/I2S1_CK, 65 E10 39 PC8 I/O FT (1) SPI1_MISO/I2S1_MCK, TIM3_CH3 66 D12 40 PC9 I/O FT (1) SPI1_MOSI/I2S1_SD, TIM3_CH4 36 28 Additional functions (3) (1) (3) (1) (3) (1) (3) (1) (3) (1) (3) DocID022691 Rev 4 37/131 47 Pinouts and pin description STM32F37xxx Table 11. STM32F37x pin definitions (continued) 68 69 70 71 D11 41 29 D10 42 30 C12 43 31 B12 44 32 A12 45 33 (function after reset) PA8 PA9 PA10 PA11 PA12 Pin type I/O I/O I/O I/O I/O Notes LQFP48 BGA100 LQFP64 Pin name LQFP100 67 Pin functions I/O structure Pin numbers Alternate function Additional functions FT SPI2_SCK/I2S2_CK, I2C2_SMBA, USART1_CK, TIM4_ETR, TIM5_CH1_ETR, MCO FTf SPI2_MISO/I2S2_MCK, I2C2_SCL, USART1_TX, TIM2_CH3, TIM15_BKIN, TIM13_CH1, TSC_G4_IO1 FTf SPI2_MOSI/I2S2_SD, I2C2_SDA, USART1_RX, TIM2_CH4, TIM17_BKIN, TIM14_CH1, TSC_G4_IO2 FT SPI2_NSS/I2S2_WS, SPI1_NSS/I2S1_WS, USART1_CTS, CAN_RX, TIM4_CH1, USB_DM, TIM5_CH2, COMP1_OUT FT SPI1_SCK/I2S1_CK, USART1_RTS, CAN_TX, USB_DP, TIM16_CH1, TIM4_CH2, TIM5_CH3, COMP2_OUT 72 A11 46 34 PA13 I/O FT SPI1_MISO/I2S1_MCK, USART3_CTS, IR_OUT, TIM16_CH1N, TIM4_CH3, TIM5_CH4, TSC_G4_IO3, SWDIO-JTMS 73 C11 47 35 PF6 I/O FTf SPI1_MOSI/I2S1_SD, USART3_RTS, TIM4_CH4, I2C2_SCL 74 F11 VSS_3 S (1) Ground VDD_3 S (1) Digital power supply 48 36 PF7 I/O FTf I2C2_SDA, USART2_CK A10 49 37 PA14 I/O FTf I2C1_SDA, TIM12_CH1, TSC_G4_IO4, SWCLK-JTCK 75 76 G11 38/131 DocID022691 Rev 4 STM32F37xxx Pinouts and pin description Table 11. STM32F37x pin definitions (continued) 77 A9 78 Pin type Notes LQFP48 LQFP64 50 38 (function after reset) I/O structure Pin functions Pin name BGA100 LQFP100 Pin numbers Alternate function SPI1_NSS/I2S1_WS, SPI3_NSS/I2S3_WS, I2C1_SCL, TIM2_CH1_ETR, TIM12_CH2, TSC_SYNC, JTDI PA15 I/O FTf B11 51 PC10 I/O FT (1) SPI3_SCK/I2S3_CK, USART3_TX, TIM19_CH1 79 C10 52 PC11 I/O FT (1) SPI3_MISO/I2S3_MCK, USART3_RX, TIM19_CH2 80 B10 53 PC12 I/O FT (1) SPI3_MOSI/I2S3_SD, USART3_CK, TIM19_CH3 81 C9 PD0 I/O FT (1) CAN_RX, TIM19_CH4 82 B9 PD1 I/O FT (1) CAN_TX, TIM19_ETR TIM3_ETR PD2 I/O FT (1) B8 PD3 I/O FT (1) SPI2_MISO/I2S2_MCK, USART2_CTS 85 B7 PD4 I/O FT (1) SPI2_MOSI/I2S2_SD, USART2_RTS 86 A6 PD5 I/O FT (1) USART2_TX 87 B6 PD6 I/O FT (1) SPI2_NSS/I2S2_WS, USART2_RX 88 A5 PD7 I/O FT (1) SPI2_SCK/I2S2_CK, USART2_CK 83 C8 84 89 90 A8 A7 54 55 39 56 40 PB3 PB4 I/O I/O Additional functions FT SPI1_SCK/I2S1_CK, SPI3_SCK/I2S3_CK, USART2_TX, TIM2_CH2, TIM3_ETR, TIM4_ETR, TIM13_CH1, TSC_G5_IO1, JTDO-TRACESWO FT SPI1_MISO/I2S1_MCK, SPI3_MISO/I2S3_MCK, USART2_RX, TIM16_CH1, TIM3_CH1, TIM17_BKIN, TIM15_CH1N, TSC_G5_IO2, NJTRST DocID022691 Rev 4 39/131 47 Pinouts and pin description STM32F37xxx Table 11. STM32F37x pin definitions (continued) 91 92 C5 B5 58 42 Pin type PB5 PB6 I/O I/O FTf I2C1_SCL, USART1_TX, TIM16_CH1N, TIM3_CH3, TIM4_CH1, TIM19_CH1, TIM15_CH1, TSC_G5_IO3 I2C1_SDA, USART1_RX, TIM17_CH1N, TIM3_CH4, TIM4_CH2, TIM19_CH2, TIM15_CH2, TSC_G5_IO4 59 43 PB7 I/O FTf 94 A4 60 44 BOOT0 I B 96 B3 97 C3 98 A2 99 D3 100 C4 61 45 62 46 PB8 I/O Additional functions FT B4 A3 Alternate function SPI1_MOSI/I2S1_SD, SPI3_MOSI/I2S3_SD, I2C1_SMBAl, USART2_CK, TIM16_BKIN, TIM3_CH2, TIM17_CH1, TIM19_ETR 93 95 Notes LQFP48 LQFP64 57 41 (function after reset) I/O structure Pin functions Pin name BGA100 LQFP100 Pin numbers Boot memory selection FTf SPI2_SCK/I2S2_CK, I2C1_SCL, USART3_TX, CAN_RX, CEC, TIM16_CH1, TIM4_CH3, TIM19_CH3, COMP1_OUT, TSC_SYNC SPI2_NSS/I2S2_WS, I2C1_SDA, USART3_RX, CAN_TX, IR_OUT, TIM17_CH1, TIM4_CH4, TIM19_CH4, COMP2_OUT PB9 I/O FTf PE0 I/O FT (1) USART1_TX, TIM4_ETR FT (1) USART1_RX PE1 I/O 63 47 VSS_1 S Ground 64 48 VDD_1 S Digital power supply 1. When using the small packages (48 and 64 pin packages), the GPIO pins which are not present on these packages, must not be configured in analog mode. 2. these pins are powered by VDDSD12. 3. these pins are powered by VDDSD3. 40/131 DocID022691 Rev 4 Pin Name AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 USART2_CTS COMP1 _OUT TIM2_ CH1_ ETR TIM5_ TSC_ CH1_ G1_IO1 ETR TIM2_ CH2 TIM5_ TSC_ CH2 G1_IO2 SPI3_SCK/ I2S3_CK PA2 TIM2_ CH3 TIM5_ TSC_ CH3 G1_IO3 SPI3_MISO/ USART2_TX I2S3_MCK PA3 TIM2_ CH4 TIM5_ TSC_ CH4 G1_IO4 SPI3_MOSI /I2S3_SD USART2_RX SPI3_NSS/ I2S3_WS USART2_CK PA0 PA1 RTC_ REFIN DocID022691 Rev 4 PA4 TIM3_ TSC_ CH2 G2_IO1 SPI1_NSS/ I2S1_WS TSC_ G2_IO2 SPI1_SCK/ I2S1_CK USART2_RTS AF9 AF10 AF11 AF14 AF15 TIM19 _CH1 EVENT OUT TIM15_ CH1N TIM19 _CH2 EVENT OUT COMP2 TIM15_ _OUT CH1 TIM19 _CH3 EVENT OUT TIM15_ CH2 TIM19 _CH4 EVENT OUT TIM12 _CH1 EVENT OUT TIM12 _CH2 EVENT OUT PA5 TIM2_ CH1_ ETR PA6 TIM16_ CH1 TIM3_ TSC_ CH1 G2_IO3 SPI1_MISO /I2S1_MCK COMP1 TIM13_ _OUT CH1 EVENT OUT PA7 TIM17_ CH1 TIM3_ TSC_ CH2 G2_IO4 SPI1_MOSI /I2S1_SD COMP2 TIM14_ _OUT CH1 EVENT OUT TIM5_ CH1_ ETR MCO PA9 PA10 SPI2_SCK/ I2S2_CK USART1_CK TIM13 TSC_ I2C2_ _CH1 G4_IO1 SCL SPI2_MISO /I2S2_MCK USART1_TX TSC_ I2C2_ G4_IO2 SDA SPI2_MOSI /I2S2_SD USART1_RX TIM17_ BKIN TIM5_ CH2 PA11 41/131 PA12 I2C2_ SMBA TIM16_ CH1 TIM5_ CH3 SPI2_NSS/ I2S2_WS TIM14_ CH1 TIM4_ ETR EVENT OUT TIM15_ BKIN TIM2_ CH3 EVENT OUT TIM14_ CH1 TIM2_ CH4 EVENT OUT SPI1_NSS/ I2S1_WS USART1_CTS COMP1 CAN_ _OUT RX TIM4_ CH1 USB_ DM EVENT OUT SPI1_SCK/ I2S1_CK USART1_RTS COMP2 TIM4_ CAN_TX _OUT CH2 USB_ DP EVENT OUT Pinouts and pin description PA8 CEC STM32F37xxx Table 12. Alternate functions for port PA Pin Name AF0 AF1 PA13 SWDIO TIM16_ -JTMS CH1N PA14 SWCLK -JTCK PA15 JTDI AF2 AF3 AF4 TIM5_ TSC_ CH4 G4_IO3 AF5 IR-OUT AF6 AF7 SPI1_MISO /I2S1_MCK USART3_CTS TSC_ I2C1_ G4_IO4 SDA TIM2_ CH1_ETR TSC_ SYNC I2C1_ SCL SPI1_NSS/ I2S1_WS SPI3_NSS/ I2S3_WS AF8 AF9 AF10 AF11 AF14 AF15 TIM4_ CH3 EVENT OUT TIM12 _CH1 EVENT OUT TIM12 _CH2 EVENT OUT STM32F37xxx Table 12. Alternate functions for port PA (continued) DocID022691 Rev 4 Pinouts and pin description 42/131 Pin Name AF0 AF1 AF2 AF3 PB0 TIM3_CH3 TSC_ G3_IO3 PB1 TIM3_CH4 TSC_ G3_IO4 AF4 AF5 AF6 AF7 AF8 AF9 SPI_MOSI/ I2S1_SD AF10 TIM3_ CH2 AF11 AF15 EVENTOUT EVENTOUT PB2 EVENTOUT PB3 JTDOTIM2_ TRACESWO CH2 PB4 NJTRST TIM4_ETR TSC_ G5_IO1 SPI1_SCK/ I2S1_CK TIM16_ TSC_ TIM3_CH1 CH1 G5_IO2 SPI3_SCK/ I2S3_CK USART2_TX TIM13_ TIM3_ CH1 ETR EVENTOUT SPI1_MISO SPI3_MISO/ USART2_RX /I2S1_MCK I2S3_MCK TIM15_ TIM17 CH1N _BKIN EVENTOUT DocID022691 Rev 4 PB5 TIM16_ TIM3_CH2 BKIN I2C1_ SMBA SPI1_MOSI SPI3_MOSI USART2_CK /I2S1_SD /I2S3_SD TIM17 _CH1 TIM19 EVENTOUT _ETR PB6 TIM16_ TSC_ I2C1_ TIM4_CH1 CH1N G5_IO3 SCL USART1_TX TIM15_ TIM3_ CH1 CH3 TIM19 EVENTOUT _CH1 PB7 TIM17_ TSC_ I2C1_ TIM4_CH2 CH1N G5_IO4 SDA USART1_RX TIM15_ TIM3_ CH2 CH4 TIM19 EVENTOUT _CH2 PB8 TSC_ TIM16_ TIM4_CH3 CH1 SYNC I2C1_ SCL SPI2_SCK/ I2S2_CK CEC USART3_TX COMP1 CAN_ _OUT RX TIM19 EVENTOUT _CH3 PB9 TIM17_ TIM4_CH4 CH1 I2C1_ SDA SPI2_NSS/ I2S2_WS IR-OUT USART3_RX COMP2 CAN_ _OUT TX TIM19 EVENTOUT _CH4 PB10 TIM2_ CH3 TSC_ SYNCH SPI2_SCK/ I2S2_CK CEC USART3_TX PB14 TIM15_ CH1 TSC_ G6_IO1 SPI2_MISO /I2S2_MCK TIM15_ TIM15_ CH2 CH1N TSC_ G6_IO2 SPI2_MOSI /I2S2_SD RTC_REFIN EVENTOUT TIM12_ CH1 EVENTOUT TIM12_ CH2 EVENTOUT STM32F37xxx PB15 USART3_RTS Pinouts and pin description 43/131 Table 13. Alternate functions for port PB Pin Name AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 DocID022691 Rev 4 PC0 EVENTOUT TIM5_CH1_ETR PC1 EVENTOUT TIM5_CH2 PC2 EVENTOUT TIM5_CH3 SPI2_MISO/I2S2_MCK PC3 EVENTOUT TIM5_CH4 SPI2_MOSI/I2S2_SD PC4 EVENTOUT TIM13_CH1 PC5 EVENTOUT PC6 EVENTOUT TIM3_CH1 SPI1_NSS/I2S1_WS PC7 EVENTOUT TIM3_CH2 SPI1_SCK/I2S1_CK PC8 EVENTOUT TIM3_CH3 SPI1_MISO/I2S1_MCK PC9 EVENTOUT TIM3_CH4 SPI1_MOSI/I2S1_SD PC10 EVENTOUT TIM19_CH1 SPI3_SCK/I2S3_CK USART3_TX PC11 EVENTOUT TIM19_CH2 SPI3_MISO/I2S3_MCK USART3_RX PC12 EVENTOUT TIM19_CH3 SPI3_MOSI/I2S3_SD USART3_CK TSC_G3_IO1 USART1_TX TSC_G3_IO2 USART1_RX STM32F37xxx Table 14. Alternate functions for port PC PC13 PC14 PC15 Pinouts and pin description 44/131 Pin Name AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 DocID022691 Rev 4 PD0 EVENTOUT TIM19_CH4 CAN_RX PD1 EVENTOUT TIM19_ETR CAN_TX PD2 EVENTOUT TIM3_ETR PD3 EVENTOUT SPI2_MISO/I2S2_MCK USART2_CTS PD4 EVENTOUT SPI2_MOSI/I2S2_SD USART2_RTS PD5 EVENTOUT PD6 EVENTOUT SPI2_NSS/I2S2_WS USART2_RX PD7 EVENTOUT SPI2_SCK/I2S2_CK USART2_CK PD8 EVENTOUT TSC_G6_IO3 SPI2_SCK/I2S2_CK USART3_TX PD9 EVENTOUT TSC_G6_IO4 PD10 EVENTOUT USART3_CK PD11 EVENTOUT USART3_CTS PD12 EVENTOUT TIM4_CH1 TSC_G8_IO1 PD13 EVENTOUT TIM4_CH2 TSC_G8_IO2 PD14 EVENTOUT TIM4_CH3 TSC_G8_IO3 PD15 EVENTOUT TIM4_CH4 TSC_G8_IO4 USART2_TX Pinouts and pin description 45/131 Table 15. Alternate functions for port PD USART3_RX USART3_RTS STM32F37xxx Pin Name AF0 AF1 PE0 EVENTOUT PE1 EVENTOUT AF2 AF3 TIM4_ETR EVENTOUT TSC_G7_IO1 PE3 TRACED0 EVENTOUT TSC_G7_IO2 PE4 TRACED1 EVENTOUT TSC_G7_IO3 PE5 TRACED2 EVENTOUT TSC_G7_IO4 PE6 TRACED3 EVENTOUT DocID022691 Rev 4 PE8 EVENTOUT PE9 EVENTOUT PE10 EVENTOUT PE11 EVENTOUT PE12 EVENTOUT PE13 EVENTOUT PE14 EVENTOUT PE15 EVENTOUT AF6 AF7 USART1_RX TRACECLK EVENTOUT AF5 USART1_TX PE2 PE7 AF4 STM32F37xxx Table 16. Alternate functions for port PE USART3_RX Pinouts and pin description 46/131 Pin Name AF0 AF1 AF2 AF3 AF4 PF0 I2C2_SDA PF1 I2C2_SCL PF2 EVENTOUT PF4 EVENTOUT PF6 EVENTOUT PF7 EVENTOUT PF9 EVENTOUT PF10 EVENTOUT AF5 AF6 AF7 I2C2_SMBA TIM4_CH4 I2C2_SCL I2C2_SDA SPI1_MOSI/I2S1_SD USART3_RTS USART2_CK Pinouts and pin description 47/131 Table 17. Alternate functions for port PF TIM14_CH1 DocID022691 Rev 4 STM32F37xxx Memory mapping 5 STM32F37xxx Memory mapping Figure 6. STM32F373x memory map 0xFFFF FFFF 7 0x4800 17FF Cortex-M4 internal peripherals 0xE000 0000 AHB2 0x4800 0000 Reserved 0x4002 43FF AHB1 6 0x4002 0000 Reserved 0xC000 0000 0x4001 6C00 APB2 5 0x4001 0000 Reserved 0xA000 0000 0x4000 A000 APB1 4 0x4000 0000 0x8000 0000 3 0x1FFF FFFF 0x6000 0000 Option bytes 0x1FFF F800 2 System memory 0x1FFF D800 0x4000 0000 Peripherals Reserved 1 0x2000 0000 0 0x0804 0000 SRAM Flash memory 0x0800 0000 CODE Reserved 0x0004 0000 0x0000 0000 Reserved Flash, system memory or SRAM, depending on BOOT configuration 0x0000 0000 MSv32159V1 48/131 DocID022691 Rev 4 STM32F37xxx Memory mapping Table 18. STM32F373x peripheral register boundary addresses Bus AHB2 AHB1 Boundary address Size Peripheral 0x4800 1400 - 0x4800 17FF 1KB GPIOF 0x4800 1000 - 0x4800 13FF 1KB GPIOE 0x4800 0C00 - 0x4800 0FFF 1KB GPIOD 0x4800 0800 - 0x4800 0BFF 1KB GPIOC 0x4800 0400 - 0x4800 07FF 1KB GPIOB 0x4800 0000 - 0x4800 03FF 1KB GPIOA 0x4002 4400 - 0x47FF FFFF ~128 MB Reserved 0x4002 4000 - 0x4002 43FF 1 KB TSC 0x4002 3400 - 0x4002 3FFF 3 KB Reserved 0x4002 3000 - 0x4002 33FF 1 KB CRC 0x4002 2400 - 0x4002 2FFF 3 KB Reserved 0x4002 2000 - 0x4002 23FF 1 KB FLASH memory interface 0x4002 1400 - 0x4002 1FFF 3 KB Reserved 0x4002 1000 - 0x4002 13FF 1 KB RCC 0x4002 0800- 0x4002 0FFF 2 KB Reserved 0x4002 0400 - 0x4002 07FF 1 KB DMA2 0x4002 0000 - 0x4002 03FF 1 KB DMA1 0x4001 6C00 - 0x4001 FFFF 37 KB Reserved DocID022691 Rev 4 49/131 51 Memory mapping STM32F37xxx Table 18. STM32F373x peripheral register boundary addresses (continued) Bus APB2 APB1 50/131 Boundary address Size Peripheral 0x4001 6800 - 0x4001 6BFF 1 KB SDADC3 0x4001 6400 - 0x4001 67FF 1 KB SDADC2 0x4001 6000 - 0x4001 63FF 1 KB SDADC1 0x4001 5C00 - 0x4001 5FFF 1 KB TIM19 0x4001 4C00 - 0x4001 5BFF 4 KB Reserved 0x4001 4800 - 0x4001 4BFF 1 KB TIM17 0x4001 4400 - 0x4001 47FF 1 KB TIM16 0x4001 4000 - 0x4001 43FF 1 KB TIM15 0x4001 3C00 - 0x4001 3FFF 1 KB Reserved 0x4001 3800 - 0x4001 3BFF 1 KB USART1 0x4001 3400 - 0x4001 37FF 1 KB Reserved 0x4001 3000 - 0x4001 33FF 1 KB SPI1/I2S1 0x4001 2800 - 0x4001 2FFF 1 KB Reserved 0x4001 2400 - 0x4001 27FF 1 KB ADC 0x4001 0800 - 0x4001 23FF 7 KB Reserved 0x4001 0400 - 0x4001 07FF 1 KB EXTI 0x4001 0000 - 0x4001 03FF 1 KB SYSCFG 0x4000 4000 - 0x4000 FFFF 24 KB Reserved 0x4000 9C00 – 0x4000 9FFF 1 KB TIM18 0x4000 9800 - 0x4000 9BFF 1 KB DAC2 0x4000 7C00 - 0x4000 97FF 8 KB Reserved 0x4000 7800 - 0x4000 7BFF 1 KB CEC 0x4000 7400 - 0x4000 77FF 1 KB DAC1 0x4000 7000 - 0x4000 73FF 1 KB PWR 0x4000 6800 - 0x4000 6FFF 2 KB Reserved 0x4000 6400 - 0x4000 67FF 1 KB CAN 0x4000 6000 - 0x4000 63FF 1 KB USB packet SRAM 0x4000 5C00 - 0x4000 5FFF 1 KB USB FS DocID022691 Rev 4 STM32F37xxx Memory mapping Table 18. STM32F373x peripheral register boundary addresses (continued) Bus APB1 Boundary address Size Peripheral 0x4000 5800 - 0x4000 5BFF 1 KB I2C2 0x4000 5400 - 0x4000 57FF 1 KB I2C1 0x4000 4C00 - 0x4000 53FF 2 KB Reserved 0x4000 4800 - 0x4000 4BFF 1 KB USART3 0x4000 4400 - 0x4000 47FF 1 KB USART2 0x4000 4000 - 0x4000 43FF 1 KB Reserved 0x4000 3C00 - 0x4000 3FFF 1 KB SPI3/I2S3 0x4000 3800 - 0x4000 3BFF 1 KB SPI2/I2S2 0x4000 3400 - 0x4000 37FF 1 KB Reserved 0x4000 3000 - 0x4000 33FF 1 KB IWDG 0x4000 2C00 - 0x4000 2FFF 1 KB WWDG 0x4000 2800 - 0x4000 2BFF 1 KB RTC 0x4000 2400 - 0x4000 27FF 1 KB Reserved 0x4000 2000 - 0x4000 23FF 1 KB TIM14 0x4000 1C00 - 0x4000 1FFF 1 KB TIM13 0x4000 1800 - 0x4000 1BFF 1 KB TIM12 0x4000 1400 - 0x4000 17FF 1 KB TIM7 0x4000 1000 - 0x4000 13FF 1 KB TIM6 0x4000 0C00 - 0x4000 0FFF 1 KB TIM5 0x4000 0800 - 0x4000 0BFF 1 KB TIM4 0x4000 0400 - 0x4000 07FF 1 KB TIM3 0x4000 0000 - 0x4000 03FF 1 KB TIM2 DocID022691 Rev 4 51/131 51 Electrical characteristics STM32F37xxx 6 Electrical characteristics 6.1 Parameter conditions Unless otherwise specified, all voltages are referenced to VSS. 6.1.1 Minimum and maximum values Unless otherwise specified, the minimum and maximum values are guaranteed in the worst conditions of ambient temperature, supply voltage and frequencies by tests in production on 100% of the devices with an ambient temperature at TA = 25 °C and TA = TAmax (given by the selected temperature range). Data based on characterization results, design simulation and/or technology characteristics are indicated in the table footnotes and are not tested in production. Based on characterization, the minimum and maximum values refer to sample tests and represent the mean value plus or minus three times the standard deviation (mean±3σ). 6.1.2 Typical values Unless otherwise specified, typical data are based on TA = 25 °C, VDD = VDDA = VDDSDx = 3.3 V. They are given only as design guidelines and are not tested. Typical ADC and SDADC accuracy values are determined by characterization of a batch of samples from a standard diffusion lot over the full temperature range, where 95% of the devices have an error less than or equal to the value indicated (mean±2σ). 6.1.3 Typical curves Unless otherwise specified, all typical curves are given only as design guidelines and are not tested. 6.1.4 Loading capacitor The loading conditions used for pin parameter measurement are shown in Figure 7. 6.1.5 Pin input voltage The input voltage measurement on a pin of the device is described in Figure 8. Figure 7. Pin loading conditions Figure 8. Pin input voltage MCU pin MCU pin C = 50 pF VIN MS19210V1 52/131 DocID022691 Rev 4 MS19211V1 STM32F37xxx Power supply scheme Figure 9. Power supply scheme VBAT Backup circuitry (LSE,RTC, Wakeup logic Backup registers) Level shifter Po wer swi tch 1.65 - 3.6 V OUT GP I/Os @VDD IN IO Logic VDD 3 × VDD 2 × 100 nF + 1 × 4.7 μF Regulator 1.8 V Kernel logic (CPU, Digital & Memories) OUT GP I/Os @VDDSD3 IN OUT GP I/Os @VDDSD12 VDDSD12 IN Level shifter 2 × VSS IO Logic Level shifter 6.1.6 Electrical characteristics IO Logic VDDSD12 VDDSD3 VDDSD3 10 nF + 1 μF 10 nF + 1 μF Sigma Delta ADCs VSSSD VREFSD+ VREFSD+ 10 nF + 1 μF VREFSD- VDDA VDDA VREF 10 nF + 1 μF VREF+ VREF+ VREF- 10 nF + 1 μF ADC/ DAC Analog: RCs, PLL, COMP, ... VSSA MS19232V3 1. Dotted lines represent the internal connections on low pin count packages, joining the dedicated supply pins. DocID022691 Rev 4 53/131 114 Electrical characteristics STM32F37xxx Caution: Each power supply pair (VDD/VSS, VDDA/VSSA etc..) must be decoupled with filtering ceramic capacitors as shown above. These capacitors must be placed as close as possible to, or below, the appropriate pins on the underside of the PCB to ensure the good functionality of the device. 6.1.7 Current consumption measurement Figure 10. Current consumption measurement scheme IDD_VBAT VBAT IDD VDD IDDA VDDA IDDSD12 VDDSD12 IDDSD3 VDDSD3 MS19233V1 54/131 DocID022691 Rev 4 STM32F37xxx 6.2 Electrical characteristics Absolute maximum ratings Stresses above the absolute maximum ratings listed in Table 19: Voltage characteristics, Table 20: Current characteristics, and Table 21: Thermal characteristics may cause permanent damage to the device. These are stress ratings only and functional operation of the device at these conditions is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. Table 19. Voltage characteristics(1) Symbol Ratings Min Max − 0.3 4.0 Allowed voltage difference for VDD > VDDA - 0.4 Allowed voltage difference for VDDSDx > VDDA - 0.4 Allowed voltage difference for VREFSD+ > VDDSD3 - 0.4 Allowed voltage difference for VREF+ > VDDA - 0.4 VSS − 0.3 VDD + 4.0 VSS − 0.3 4.0 VSS − 0.3 4.0 VSS − 0.3 4.0 External main supply voltage (including VDDA, VDDSDx, VBAT and VDD) VDD–VSS VDD–VDDA VDDSDx – VDDA VREFSD+ – VDDSD3 VREF+ – VDDA V Input voltage on FT and FTf pins Input voltage on TTa pins VIN(2) Input voltage on TC pins on SDADCx channels inputs Input voltage on any other pin |VSSX − VSS| VESD(HBM) Variations between all the different ground pins Electrostatic discharge voltage (human body model) Unit (3) 50 mV see Section 6.3.12: Electrical sensitivity characteristics 1. All main power (VDD, VDDA) and ground (VSS, VSSA) pins must always be connected to the external power supply, in the permitted range. 2. VIN maximum must always be respected. Refer to Table 20: Current characteristics for the maximum allowed injected current values. 3. VDDSD12 is the external power supply for PB2, PB10, and PE7 to PE15 I/O pins (I/O ground pin is internally connected to VSS). VDDSD3 is the external power supply for PB14 to PB15 and PD8 to PD15 I/O pins (I/O ground pin is internally connected to VSS). All main power (VDD, VDDSD12, VDDSD3 and VDDA) and ground (VSS, VSSSD, and VSSA) pins must always be connected to the external power supply, in the permitted range. The following relationship must be respected between VDDA and VDD: VDDA must power on before or at the same time as VDD in the power up sequence. VDDA must be greater than or equal to VDD. The following relationship must be respected between VDDA and VDDSD12: VDDA must power on before or at the same time as VDDSD12 or VDDSD3 in the power up sequence. VDDA must be greater than or equal to VDDSD12 or VDDSD3. The following relationship must be respected between VDDSD12 and VDDSD3: VDDSD3 must power on before or at the same time as VDDSD12 in the power up sequence. After power up (VDDSD12 > Vrefint = 1.2 V) VDDSD3 can be higher or lower than VDDSD12. The following relationship must be respected between VREFSD+ and VDDSD12, VDDSD3: VREFSD+ must be lower than VDDSD3. DocID022691 Rev 4 55/131 114 Electrical characteristics STM32F37xxx Depending on the SDADCx operation mode, there can be more constraints between VREFSD+, VDDSD12 and VDDSD3 which are described in reference manual RM0313. Table 20. Current characteristics Symbol Ratings Max. ΣIVDD Total current into sum of all VDD_x and VDDSDx power lines (source)(1) 160 ΣIVSS Total current out of sum of all VSS_x and VSSSD ground lines (sink)(1) -160 IVDD(PIN) Maximum current into each VDD_x or VDDSDx power pin (source)(1) 100 IVSS(PIN) Maximum current out of each VSS_x or VSSSD ground pin (sink)(1) -100 IIO(PIN) ΣIIO(PIN) Output current sunk by any I/O and control pin 25 Output current source by any I/O and control pin -25 Total output current sunk by sum of all IOs and control pins(2) 80 Total output current sourced by sum of all IOs and control pins(2) -80 Injected current on FT, FTf and B IINJ(PIN) -5/+0 (4) ±5 Injected current on TC and RST pin pins(5) ±5 Total injected current (sum of all I/O and control pins)(6) ± 25 Injected current on TTa ΣIINJ(PIN) pins(3) Unit mA 1. VDDSD12 is the external power supply for the PB2, PB10, and PE7 to PE15 I/O pins (the I/O pin ground is internally connected to VSS). VDDSD3 is the external power supply for PB14 to PB15 and PD8 to PD15 I/O pins (the I/O pin ground is internally connected to VSS). VDD (VDD_x) is the external power supply for all remaining I/O pins (the I/O pin ground is internally connected to VSS). 2. This current consumption must be correctly distributed over all I/Os and control pins. The total output current must not be sunk/sourced between two consecutive power supply pins referring to high pin count LQFP packages. 3. Positive injection is not possible on these I/Os and does not occur for input voltages lower than the specified maximum value. 4. A positive injection is induced by VIN>VDD while a negative injection is induced by VIN < VSS. IINJ(PIN) must never be exceeded. Refer to Table 19: Voltage characteristics for the maximum allowed input voltage values. 5. A positive injection is induced by VIN>VDDA while a negative injection is induced by VIN < VSS. IINJ(PIN) must never be exceeded. Refer also to Table 19: Voltage characteristics for the maximum allowed input voltage values. Negative injection disturbs the analog performance of the device. See note (2) below Table 62. 6. When several inputs are submitted to a current injection, the maximum ΣIINJ(PIN) is the absolute sum of the positive and negative injected currents (instantaneous values). Table 21. Thermal characteristics Symbol TSTG TJ 56/131 Ratings Storage temperature range Maximum junction temperature DocID022691 Rev 4 Value Unit –65 to +150 °C 150 °C STM32F37xxx Electrical characteristics 6.3 Operating conditions 6.3.1 General operating conditions Table 22. General operating conditions Symbol Parameter Conditions Min Max Unit fHCLK Internal AHB clock frequency 0 72 fPCLK1 Internal APB1 clock frequency 0 36 fPCLK2 Internal APB2 clock frequency 0 72 2.0 3.6 2.4 3.6 2.0 3.6 2.2 3.6 2.0 3.6 2.2 3.6 2.0 3.6 2.4 3.6 2.0 3.6 1.1 3.6 V Backup operating voltage 1.65 3.6 V Input voltage on FT and FTf pins(2) - 0.3 5.5 Input voltage on TTa pins - 0.3 VDDA + 0.3 Input voltage on TC pins on SDADCx channels inputs(3) - 0.3 VDDSDx + 0.3 Input voltage on BOOT0 pin 0 5.5 - 0.3 VDD + 0.3 VDD VDDA (1) VDDSD12 VDDSD3 VREF+ VREFSD+ VBAT VIN Standard operating voltage Analog operating voltage (ADC and DAC used) Analog operating voltage (ADC and DAC not used) VDDSD12 operating voltage (SDADC used) VDDSD12 operating voltage (SDADC not used) VDDSD3 operatin g voltage (SDADC used) VDDSD3 operating voltage (SDADC not used) Positive reference voltage (ADC and DAC used) Positive reference voltage (ADC and DAC not used) SDADCx positive reference voltage Must have a potential equal to or lower than VDDA Must have a potential equal to or higher than VDD Must have a potential equal to or lower than VDDA Must have a potential equal to or lower than VDDA Must have a potential equal to or lower than VDDA Must have a potential equal to or lower than any VDDSDx Input voltage on any other pin DocID022691 Rev 4 MHz V V V V V V 57/131 114 Electrical characteristics STM32F37xxx Table 22. General operating conditions (continued) Symbol PD Parameter Power dissipation at TA = 85 °C for suffix 6 or TA = 105 °C for suffix 7(4) Min Max LQFP100 434 LQFP64 444 LQFP48 364 BGA100 338 Ambient temperature for 6 suffix version Maximum power dissipation –40 85 Low power dissipation(5) –40 105 Ambient temperature for 7 suffix version Maximum power dissipation –40 105 –40 125 6 suffix version –40 105 7 suffix version –40 125 TA TJ Conditions Junction temperature range Low power dissipation (5) Unit mW °C °C °C 1. When the ADC is used, refer to Table 60: ADC characteristics. 2. To sustain a voltage higher than VDD+0.3 V, the internal pull-up/pull-down resistors must be disabled. 3. VDDSD12 is the external power supply for the PB2, PB10, and PE7 to PE15 I/O pins (the I/O pin ground is internally connected to VSS). VDDSD3 is the external power supply for PB14 to PB15 and PD8 to PD15 I/O pins (the I/O pin ground is internally connected to VSS). 4. If TA is lower, higher PD values are allowed as long as TJ does not exceed TJmax. 5. In low power dissipation state, TA can be extended to this range as long as TJ does not exceed TJmax. 6.3.2 Operating conditions at power-up / power-down The parameters given in Table 23 are derived from tests performed under the ambient temperature condition summarized in Table 22. Table 23. Operating conditions at power-up / power-down Symbol tVDD tVDDA 58/131 Parameter Conditions Min Max Unit VDD rise time rate 0 VDD fall time rate 20 VDDA rise time rate 0 µs/V VDDA fall time rate 20 ∞ ∞ ∞ ∞ DocID022691 Rev 4 STM32F37xxx 6.3.3 Electrical characteristics Embedded reset and power control block characteristics The parameters given in Table 24 are derived from tests performed under ambient temperature and VDD supply voltage conditions summarized in Table 22. Table 24. Embedded reset and power control block characteristics Symbol Parameter VPOR/PDR(1) VPDRhyst (3) tRSTTEMPO (3) Power on/power down reset threshold Conditions Min Falling edge Rising edge Typ Max Unit 1.80(2) 1.88 1.96 V 1.84 1.92 2.00 V - 40 - mV 1.50 2.50 4.50 ms PDR hysteresis POR reset temporization 1. The PDR detector monitors VDD, VDDA and VDDSD12 (if kept enabled in the option bytes). The POR detector monitors only VDD. 2. The product behavior is guaranteed by design down to the minimum VPOR/PDR value. 3. Guaranteed by design, not tested in production. Table 25. Programmable voltage detector characteristics Symbol Min(1) Typ Max(1) Unit Rising edge 2.10 2.18 2.26 V Falling edge 2.00 2.08 2.16 V Rising edge 2.19 2.28 2.37 V Falling edge 2.09 2.18 2.27 V Rising edge 2.28 2.38 2.48 V Falling edge 2.18 2.28 2.38 V Rising edge 2.38 2.48 2.58 V Falling edge 2.28 2.38 2.48 V Rising edge 2.47 2.58 2.69 V Falling edge 2.37 2.48 2.59 V Rising edge 2.57 2.68 2.79 V Falling edge 2.47 2.58 2.69 V Rising edge 2.66 2.78 2.9 V Falling edge 2.56 2.68 2.8 V Rising edge 2.76 2.88 3.00 V Falling edge 2.66 2.78 2.90 V Parameter Conditions VPVD0 PVD threshold 0 VPVD1 PVD threshold 1 VPVD2 PVD threshold 2 VPVD3 PVD threshold 3 VPVD4 PVD threshold 4 VPVD5 PVD threshold 5 VPVD6 PVD threshold 6 VPVD7 PVD threshold 7 VPVDhyst(2) PVD hysteresis - 100 - mV PVD current consumption - 0.15 0.26 µA IDD(PVD)(2) 1. Data based on characterization results only, not tested in production. 2. Guaranteed by design, not tested in production. DocID022691 Rev 4 59/131 114 Electrical characteristics 6.3.4 STM32F37xxx Embedded reference voltage The parameters given in Table 27 are derived from tests performed under ambient temperature and VDD supply voltage conditions summarized in Table 22. Table 26. Embedded internal reference voltage calibration values Calibration value name Description Raw data acquired at temperature of 30 °C VDDA= 3.3 V VREFINT_CAL Memory address 0x1FFF F7BA - 0x1FFF F7BB Table 27. Embedded internal reference voltage Symbol VREFINT TS_vrefint(2) VREFINT_s(3) Parameter Internal reference voltage Conditions Min Typ Max –40 °C < TA < +105 °C 1.16 1.21 1.26 –40 °C < TA < +85 °C 1.16 1.20 1.24(1) 17.10 - - µs - - 10 mV ADC sampling time when reading the internal reference voltage Internal reference voltage spread over the temperature range VDD = 3 V ±10 mV Unit V TCoeff(3) Temperature coefficient - - 100 ppm/°C tSTART(3) Startup time - - 10 µs 1. Data based on characterization results, not tested in production. 2. Shortest sampling time can be determined in the application by multiple iterations. 3. Guaranteed by design, not tested in production. 60/131 DocID022691 Rev 4 STM32F37xxx 6.3.5 Electrical characteristics Supply current characteristics The current consumption is a function of several parameters and factors such as the operating voltage, ambient temperature, I/O pin loading, device software configuration, operating frequencies, I/O pin switching rate, program location in memory and executed binary code. The current consumption is measured as described in Figure 10: Current consumption measurement scheme. All Run-mode current consumption measurements given in this section are performed with a reduced code that gives a consumption equivalent to CoreMark code. Typical and maximum current consumption The MCU is placed under the following conditions: • All I/O pins are in input mode with a static value at VDD or VSS (no load) • All peripherals are disabled except when explicitly mentioned • The Flash memory access time is adjusted to the fHCLK frequency (0 wait state from 0 to 24 MHz, 1 wait state from 24 to 48 MHz and 2 wait states from 48 MHz to 72 MHz) • Prefetch in ON (reminder: this bit must be set before clock setting and bus prescaling) • When the peripherals are enabled fAPB1 = fAHB/2 , fAPB2 = fAHB • When fHCLK > 8 MHz PLL is ON and PLL inputs is equal to HSI/2 = 4 MHz (if internal clock is used) or HSE = 8 MHz (if HSE bypass mode is used) The parameters given in Table 28 to Table 34 are derived from tests performed under ambient temperature and supply voltage conditions summarized in Table 22. Table 28. Typical and maximum current consumption from VDD supply at VDD = 3.6 V All peripherals enabled Symbol Parameter Conditions HSE bypass, PLL on IDD Supply current in Run mode, code executing from Flash HSE bypass, PLL off HSI clock, PLL on HSI clock, PLL off fHCLK Max @ TA(1) Typ All peripherals disabled Max @ TA(1) Typ 25 °C 85 °C 105 °C 72 MHz 63.1 70.7 71.5 73.4 64 MHz 56.3 63.3 64.1 48 MHz 42.5 48.5 32 MHz 28.8 Unit 25 °C 85 °C 105 °C 29.2 31.1 31.7 34.2 64.9 26.1 27.8 28.4 30.4 48.0 50.1 19.9 22.6 21.9 23.1 31.4 32.2 34.3 13.1 16.1 14.9 16.2 24 MHz 21.9 24.4 24.4 25.8 10.1 10.9 11.9 12.4 8 MHz 7.3 8.0 9.3 9.3 3.7 4.1 4.4 5.0 1 MHz 1.1 1.5 1.8 2.3 0.8 1.1 1.4 1.9 64 MHz 51.7 57.7 58.0 60.4 25.8 27.6 28.1 30.1 48 MHz 38.6 45.9 43.5 46.9 19.8 21.9 21.7 22.8 32 MHz 26.4 31.1 29.7 31.9 13.1 15.7 14.8 16.2 24 MHz 20.3 22.6 22.6 23.7 6.9 7.5 8.1 8.8 8 MHz 7.6 8.8 8.8 3.7 4.1 4.4 5.0 7.0 DocID022691 Rev 4 mA 61/131 114 Electrical characteristics STM32F37xxx Table 28. Typical and maximum current consumption from VDD supply at VDD = 3.6 V (continued) All peripherals enabled Symbol Parameter Conditions fHCLK Max @ TA(1) Typ 25 °C 72 MHz HSE bypass, PLL on Supply current in Run mode, code executing from RAM HSE bypass, PLL off HSI clock, PLL on HSI clock, PLL off IDD HSE bypass, PLL on Supply current in Sleep mode, code executing from Flash or RAM HSE bypass, PLL off HSI clock, PLL on HSI clock, PLL off 63.6 (2) All peripherals disabled Max @ TA(1) Typ 85 °C 105 °C 25 °C 70.7(2) 75.7(2) 72.3(2) 30.0 (2) 85 °C 105 °C 31.9(2) 32.6(2) 33.8(2) 64 MHz 56.7 62.5 67.1 64.0 26.7 28.6 29.3 30.0 48 MHz 42.0 50.5 47.4 50.1 20.2 21.5 22.1 22.7 32 MHz 28.3 32.1 31.8 33.7 13.4 14.6 14.8 15.7 24 MHz 21.1 25.0 24.2 25.9 10.0 11.3 11.2 12.6 8 MHz 6.9 7.4 8.3 8.7 3.4 3.7 4.1 4.8 1 MHz 0.8 1.2 1.5 2.0 0.4 0.6 1.0 1.5 64 MHz 51.9 59.5 59.4 58.6 26.4 28.1 28.7 29.5 48 MHz 38.1 44.7 43.8 45.4 20.0 21.3 21.9 22.3 32 MHz 25.9 31.2 29.4 30.5 13.2 14.3 14.6 15.5 24 MHz 19.6 22.7 22.6 23.2 6.5 7.0 7.9 8.2 8 MHz 6.6 7.1 8.0 8.4 3.3 3.7 4.0 4.7 72 MHz 43.2 46.9 48.7 52.5 6.7 7.2 7.6 8.3 64 MHz 38.5 41.6 43.7 46.6 5.9 6.5 6.8 7.5 48 MHz 29.1 31.3 32.5 34.1 4.5 4.9 5.3 5.9 32 MHz 19.4 21.1 24.6 23.0 3.0 3.4 3.8 4.4 24 MHz 14.7 16.1 18.5 17.6 2.4 2.6 3.0 3.6 8 MHz 4.9 5.3 6.1 6.6 0.8 1.0 1.4 1.9 1 MHz 0.6 0.9 1.3 1.8 0.1 0.3 0.6 1.2 64 MHz 34.5 37.1 39.6 42.0 5.6 6.1 6.5 7.1 48 MHz 26.1 28.0 29.0 30.7 4.2 4.6 5.0 5.6 32 MHz 17.4 19.1 21.1 20.8 2.9 3.2 3.6 4.2 24 MHz 13.3 14.6 16.1 16.0 1.5 1.8 2.2 2.6 8 MHz 4.9 5.5 6.1 0.7 0.9 1.3 1.8 4.5 1. Data based on characterization results, not tested in production unless otherwise specified. 2. Data based on characterization results and tested in production with code executing from RAM. 62/131 Unit DocID022691 Rev 4 mA STM32F37xxx Electrical characteristics Table 29. Typical and maximum current consumption from VDDA supply VDDA= 2.4 V Symbol Parameter Conditions HSE bypass, PLL on IDDA Supply current in Run or Sleep mode, code executing from Flash or RAM fHCLK (1) Max @ TA(2) Typ Max @ TA(2) Typ 85 °C 105 °C 72 MHz 228 261 274 280 249 288 304 311 64 MHz 201 235 247 251 220 257 269 275 48 MHz 152 182 190 195 164 196 208 212 32 MHz 104 132 137 141 112 141 147 150 24 MHz 81 108 112 111 87 115 119 119 8 MHz 2 4 4 5 3 5 5 6 1 MHz 2 4 5 5 3 5 5 6 64 MHz 270 307 320 326 298 337 353 361 48 MHz 220 254 264 269 243 276 292 297 32 MHz 172 203 211 214 191 222 232 235 24 MHz 151 181 185 189 166 194 201 204 8 MHz 85 87 87 81 93 96 98 HSI clock, PLL off 70 25 °C Unit 25 °C HSE bypass, PLL off HSI clock, PLL on VDDA= 3.6 V 85 °C 105 °C µA 1. Current consumption from the VDDA supply is independent of whether the peripherals are on or off. Furthermore when the PLL is off, IDDA is independent from the frequency. 2. Data based on characterization results, not tested in production unless otherwise specified. Table 30. Typical and maximum VDD consumption in Stop and Standby modes [email protected] (VDD=VDDA) Symbol Parameter Conditions 3.0 V 3.3 V 3.6 V TA= TA= 25 °C 85 °C Regulators in run mode, all 19.33 19.58 19.68 19.73 oscillators OFF 19.76 19.84 46.5 480 1019 2.0 V 2.4 V 2.7 V IDD Supply current in Regulators in Stop mode low-power mode, all oscillators OFF Supply current in Standby mode Note: Max TA= 105 °C 7.72 7.88 8.01 8.13 8.25 8.27 31.8 451.4 966.0 LSI ON and IWDG ON 0.78 0.95 1.07 1.21 1.32 1.45 - - - LSI OFF and IWDG OFF 0.61 0.72 0.81 0.90 0.98 1.08 2.7 3.5 5.3 Unit µA VDDA monitoring is OFF and VDDSD12 monitoring is OFF. DocID022691 Rev 4 63/131 114 Electrical characteristics STM32F37xxx Table 31. Typical and maximum VDDA consumption in Stop and Standby modes Parameter Supply current in Stop mode IDDA Supply current in Standby mode Max(1) 2.0 V 2.4 V 2.7 V 3.0 V 3.3 V 3.6 V TA= TA= TA= 25 °C 85 °C 105 °C Conditions VDDA and VDDSD12 Symbol [email protected] (VDD=VDDA) Regulator in run mode, all 1.99 oscillators OFF 2.07 2.19 2.33 2.46 2.64 10.8 11.8 12.4 Regulator in low-power 1.99 mode, all oscillators OFF 2.07 2.18 2.32 2.47 2.63 10.6 11.5 12.5 LSI ON and IWDG ON 2.44 2.53 2.7 2.89 3.09 3.33 - - - LSI OFF and IWDG OFF 1.87 1.94 2.06 2.19 2.35 2.51 4.1 4.5 4.8 0.95 1.02 1.12 1.2 1.27 1.4 - - - Supply current for IDDAmon VDDA and VDDSD12 monitoring Unit µA 1. Data based on characterization results and tested in production. 2. To obtain data with monitoring OFF is necessary to substract the IDDAmon current. Table 32. Typical and maximum current consumption from VBAT supply(1) Max(2) IDD_ VBAT Backup domain supply current TA= 25 °C LSE & RTC ON; "Xtal mode" lower 0.50 0.52 0.55 0.63 0.70 0.87 0.95 driving capability; LSEDRV[1:0] = '00' 1.1 LSE & RTC ON; "Xtal mode" higher 0.85 0.90 0.93 1.02 1.10 1.27 1.38 driving capability; LSEDRV[1:0] = '11' 1.6 1. Crystal used: Abracon ABS07-120-32.768kHz-T with 6 pF of CL for typical values. 2. Data based on characterization results, not tested in production. 64/131 = 3.6 V = 3.3 V = 2.7 V = 2.4 V = 2.0 V Conditions = 1.8 V Symbol Parameter = 1.65 V Typ @ VBAT DocID022691 Rev 4 TA= TA= 85 °C 105 °C 1.6 Unit 2.2 µA 2.4 3.0 STM32F37xxx Electrical characteristics Figure 11. Typical VBAT current consumption (LSE and RTC ON/LSEDRV[1:0]='00') 1.6 1.4 1.65 V I VBAT (μA) 1.2 1.8 V 1 2V 2.4 V 0.8 2.7 V 0.6 3V 0.4 3.3 V 0.2 3.6 V 0 25°C 60°C 85°C 105°C TA (°C) MS31413V1 Typical current consumption The MCU is placed under the following conditions: • VDD = VDDA = VDDSD12 = VDDSD3 = 3.3 V • All I/O pins are in analog input configuration • The Flash access time is adjusted to fHCLK frequency (0 wait states from 0 to 24 MHz, 1 wait state from 24 to 48 MHz and 2 wait states from 48 MHz to 72 MHz) • Prefetch is ON • When the peripherals are enabled, fAPB1 = fAHB, fAPB2 = fAHB • PLL is used for frequencies greater than 8 MHz • AHB prescaler of 2, 4, 8, 16 and 64 is used for the frequencies 4 MHz, 2 MHz, 1 MHz, 500 kHz and 125 kHz respectively DocID022691 Rev 4 65/131 114 Electrical characteristics STM32F37xxx Table 33. Typical current consumption in Run mode, code with data processing running from Flash Typ Symbol Parameter Conditions Running from HSE crystal clock 8 MHz, code executing from Flash, PLL on IDD Supply current in Run mode from VDD supply Running from HSE crystal clock 8 MHz, code executing from Flash, PLL off Running from HSE crystal clock 8 MHz, code executing from Flash, PLL on IDDA(1)(2) Supply current in Run mode from VDDA supply Running from HSE crystal clock 8 MHz, code executing from Flash, PLL off ISDADC12 + ISDADC3 Supply currents in Run mode from VDDSD12 and VDDSD3 (SDADCs are off) fHCLK Peripherals enabled Peripherals disabled 72 MHz 61.4 28.8 64 MHz 55.4 25.9 48 MHz 42.3 20.0 32 MHz 28.7 13.8 24 MHz 21.9 10.7 16 MHz 14.8 7.4 8 MHz 7.8 4.1 4 MHz 4.6 2.6 2 MHz 2.9 1.8 1 MHz 2.0 1.3 500 kHz 1.5 1.1 125 kHz 1.2 1.0 72 MHz 243.3 242.4 64 MHz 214.3 213.3 48 MHz 159.3 158.3 32 MHz 107.7 107.3 24 MHz 82.8 82.6 16 MHz 58.4 58.2 8 MHz 1.2 1.2 4 MHz 1.2 1.2 2 MHz 1.2 1.2 1 MHz 1.2 1.2 500 kHz 1.2 1.2 125 kHz 1.2 1.2 - 2.5 1 Unit mA µA 1. VDDA monitoring is off, VDDSD12 monitoring is off. 2. When peripherals are enabled, power consumption of the analog part of peripherals such as ADC, DACs, Comparators, etc. is not included. Refer to those peripherals characteristics in the subsequent sections. 66/131 DocID022691 Rev 4 STM32F37xxx Electrical characteristics Table 34. Typical current consumption in Sleep mode, code running from Flash or RAM Typ Symbol Parameter Conditions Running from HSE crystal clock 8 MHz, code executing from Flash or RAM, PLL on IDD Supply current in Sleep mode from VDD supply Running from HSE crystal clock 8 MHz, code executing from Flash or RAM, PLL off Running from HSE crystal clock 8 MHz, code executing from Flash or RAM, PLL on IDDA(1) Supply current in Sleep mode from VDDA supply Running from HSE crystal clock 8 MHz, code executing from Flash or RAM, PLL off fHCLK Peripherals enabled Peripherals disabled 72 MHz 42.8 6.9 64 MHz 38.2 6.2 48 MHz 28.9 4.8 32 MHz 19.5 3.4 24 MHz 14.7 2.7 16 MHz 10.2 2.0 8 MHz 5.2 1.2 4 MHz 3.4 1.1 2 MHz 2.2 0.9 1 MHz 1.6 0.9 500 kHz 1.4 0.8 125 kHz 1.1 0.8 72 MHz 242.9 241.5 64 MHz 213.7 212.7 48 MHz 158.8 158.0 32 MHz 107.6 107.3 24 MHz 82.7 82.6 16 MHz 58.3 58.2 8 MHz 1.2 1.2 4 MHz 1.2 1.2 2 MHz 1.2 1.2 1 MHz 1.2 1.2 500 kHz 1.2 1.2 125 kHz 1.2 1.2 Unit mA µA 1. VDDA monitoring is off, VDDSD12 monitoring is off. DocID022691 Rev 4 67/131 114 Electrical characteristics STM32F37xxx I/O system current consumption The current consumption of the I/O system has two components: static and dynamic. I/O static current consumption All the I/Os used as inputs with pull-up generate current consumption when the pin is externally held low. The value of this current consumption can be simply computed by using the pull-up/pull-down resistors values given in Table 52: I/O static characteristics. For the output pins, any external pull-down or external load must also be considered to estimate the current consumption. Additional I/O current consumption is due to I/Os configured as inputs if an intermediate voltage level is externally applied. This current consumption is caused by the input Schmitt trigger circuits used to discriminate the input value. Unless this specific configuration is required by the application, this supply current consumption can be avoided by configuring these I/Os in analog mode. This is notably the case of ADC and SDADC input pins which should be configured as analog inputs. Caution: Any floating input pin can also settle to an intermediate voltage level or switch inadvertently, as a result of external electromagnetic noise. To avoid current consumption related to floating pins, they must either be configured in analog mode, or forced internally to a definite digital value. This can be done either by using pull-up/down resistors or by configuring the pins in output mode. Under reset conditions all I/Os are configured in input floating mode so if some inputs do not have a defined voltage level then they can generate additional consumption. This consumption is visible on VDD supply and also on VDDSDx supply because some I/Os are powered from SDADCx supply (all I/Os which have SDADC analog input functionality). I/O dynamic current consumption In addition to the internal peripheral current consumption (see Table 36: Peripheral current consumption), the I/Os used by an application also contribute to the current consumption. When an I/O pin switches, it uses the current from the MCU supply voltage to supply the I/O pin circuitry and to charge/discharge the capacitive load (internal or external) connected to the pin: I SW = V DD × f SW × C where ISW is the current sunk by a switching I/O to charge/discharge the capacitive load VDD is the MCU supply voltage fSW is the I/O switching frequency C is the total capacitance seen by the I/O pin: C = CINT+ CEXT+ CS CS is the PCB board capacitance including the pad pin. The test pin is configured in push-pull output mode and is toggled by software at a fixed frequency. 68/131 DocID022691 Rev 4 STM32F37xxx Electrical characteristics Table 35. Switching output I/O current consumption Symbol Parameter Conditions(1) VDD = 3.3 V Cext = 0 pF C = CINT + CEXT+ CS VDD = 3.3 V Cext = 10 pF C = CINT + CEXT+ CS ISW I/O current consumption VDD = 3.3 V Cext = 22 pF C = CINT + CEXT+ CS VDD = 3.3 V Cext = 33 pF C = CINT + CEXT+ CS VDD = 3.3 V Cext = 47 pF C = CINT + CEXT+ CS I/O toggling frequency (fSW) Typ 2 MHz 0.77 4 MHz 0.87 8 MHz 0.95 18 MHz 1.59 36 MHz 2.57 48 MHz 3.11 2 MHz 0.96 4 MHz 1.0 8 MHz 1.08 18 MHz 2.17 36 MHz 3.42 48 MHz 5.50 2 MHz 0.98 4 MHz 1.23 8 MHz 1.48 18 MHz 2.93 36 MHz 6.59 48 MHz 7.03 2 MHz 1.03 4 MHz 1.3 8 MHz 1.81 18 MHz 3.42 36 MHz 8.27 2 MHz 1.09 4 MHz 1.55 8 MHz 2.18 18 MHz 4.38 36 MHz 9.65 Unit mA mA 1. CS = 5 pF (estimated value). DocID022691 Rev 4 69/131 114 Electrical characteristics STM32F37xxx On-chip peripheral current consumption The MCU is placed under the following conditions: • All I/O pins are in analog input configuration. • All peripherals are disabled unless otherwise mentioned. • The given value is calculated by measuring the current consumption • – with all peripherals clocked off; – with only one peripheral clocked on. Ambient operating temperature at 25°C and VDD = VDDA= 3.3 Volts. Table 36. Peripheral current consumption Typical consumption(1) Peripheral Unit AHB peripherals BusMatrix(2) 6.9 DMA1 18.3 DMA2 4.8 CRC 2.6 GPIOA 12.2 GPIOB 11.9 GPIOC 4.3 GPIOD 12.0 GPIOE 4.4 GPIOF 3.7 TSC 5.7 APB2 peripherals APB2-Bridge 70/131 (3) 4.2 SYSCFG & COMP 2.8 ADC1 17.7 SPI1 12.3 USART1 22.9 TIM15 15.7 TIM16 12.2 TIM17 12.1 TIM19 18.5 SDAC1 10.8 SDAC2 10.5 SDAC3 10.3 DocID022691 Rev 4 µA/MHz STM32F37xxx Electrical characteristics Table 36. Peripheral current consumption (continued) Typical consumption(1) Peripheral Unit APB1 peripherals APB1-Bridge(3) 6.9 TIM2 47.9 TIM3 36.8 TIM4 36.9 TIM5 45.5 TIM6 8.4 TIM7 8.2 TIM12 21.3 TIM13 14.2 TIM14 14.4 TIM18 10.1 WWDG 4.7 SPI2 24.3 SPI3 25.3 USART2 45.3 USART3 43.1 I2C1 14.0 I2C2 13.9 USB 27.9 CAN 38.1 DAC2 7.7 PWR 5.4 DAC1 14.8 CEC 5.4 µA/MHz 1. When peripherals are enabled, power consumption of the analog part of peripherals such as ADC, DACs, Comparators, etc. is not included. Refer to those peripherals characteristics in the subsequent sections. 2. The BusMatrix is automatically active when at least one master is ON (CPU, DMA1 or DMA2). 3. The APBx Bridge is automatically active when at least one peripheral is ON on the same Bus. 6.3.6 Wakeup time from low-power mode The wakeup times given in Table 37 are measured from the wakeup event trigger to the first instruction executed by the CPU. The clock source used to wake up the device depends from the current operating mode: • Stop or sleep mode: the wakeup event is WFE. • The WKUP1 (PA0) pin is used to wakeup from standby, stop and sleep modes. DocID022691 Rev 4 71/131 114 Electrical characteristics STM32F37xxx All timings are derived from tests performed under ambient temperature and VDD supply voltage conditions summarized in Table 22. Table 37. Low-power mode wakeup timings Symbol Parameter Typ @VDD = VDDA Conditions = 2.0 V = 2.4 V = 2.7 V tWUSTOP tWUSTANDB Y tWUSLEEP 6.3.7 Wakeup from Stop mode Wakeup from Standby mode Max =3V = 3.3 V Regulator in run mode 4.1 3.9 3.8 3.7 3.6 4.5 Regulator in low power mode 7.9 6.7 6.1 5.7 5.4 8.6 LSI and IWDG off 62.6 53.7 49.2 45.7 42.7 100 Wakeup from Sleep After WFE instruction mode Unit µs CPU clock cycles 6 External clock source characteristics High-speed external user clock generated from an external source In bypass mode the HSE oscillator is switched off and the input pin is a standard GPIO. The external clock signal has to respect the I/O characteristics in Section 6.3.14. However, the recommended clock input waveform is shown in Figure 12. Table 38. High-speed external user clock characteristics Symbol Parameter(1) User external clock source fHSE_ext frequency Conditions CSS is on or PLL is used 1 CSS is off, PLL not used 0 Typ Max Unit 8 32 MHz VHSEH OSC_IN input pin high level voltage 0.7 VDD VDD VHSEL OSC_IN input pin low level voltage VSS 0.3 VDD tw(HSEH) OSC_IN high or low time tw(HSEL) tr(HSE) tf(HSE) OSC_IN rise or fall time 1. Guaranteed by design, not tested in production. 72/131 Min DocID022691 Rev 4 15 - - - - 20 V ns STM32F37xxx Electrical characteristics Figure 12. High-speed external clock source AC timing diagram tW(HSEH) VHSEH 90% VHSEL 10% tr(HSE) tf(HSE) t tW(HSEL) THSE MS19214V2 Low-speed external user clock generated from an external source In bypass mode the LSE oscillator is switched off and the input pin is a standard GPIO. The external clock signal has to respect the I/O characteristics in Section 6.3.14. However, the recommended clock input waveform is shown in Figure 13. Table 39. Low-speed external user clock characteristics Symbol Parameter(1) Conditions Min Typ Max Unit - 32.768 1000 kHz - VDD fLSE_ext User External clock source frequency VLSEH OSC32_IN input pin high level voltage 0.7VDD VLSEL OSC32_IN input pin low level voltage VSS - 0.3VDD tw(LSEH) tw(LSEL) OSC32_IN high or low time 450 - - tr(LSE) tf(LSE) OSC32_IN rise or fall time V ns - - 50 1. Guaranteed by design, not tested in production. DocID022691 Rev 4 73/131 114 Electrical characteristics STM32F37xxx Figure 13. Low-speed external clock source AC timing diagram tW(LSEH) VLSEH 90% 10% VLSEL tr(LSE) t tf(LSE) tW(LSEL) TLSE MS19215V2 High-speed external clock generated from a crystal/ceramic resonator The high-speed external (HSE) clock can be supplied with a 4 to 32 MHz crystal/ceramic resonator oscillator. All the information given in this paragraph are based on design simulation results obtained with typical external components specified in Table 40. In the application, the resonator and the load capacitors have to be placed as close as possible to the oscillator pins in order to minimize output distortion and startup stabilization time. Refer to the crystal resonator manufacturer for more details on the resonator characteristics (frequency, package, accuracy). Table 40. HSE oscillator characteristics Min(2) Typ Max(2) Unit Oscillator frequency 4 8 32 MHz Feedback resistor - 200 - kΩ During startup(3) - - 8.5 VDD = 3.3 V, Rm= 30 Ω, CL= 10 [email protected] MHz - 0.4 - VDD = 3.3 V, Rm= 45 Ω, CL= 10 [email protected] MHz - 0.5 - VDD = 3.3 V, Rm= 30 Ω, CL=5 [email protected] MHz - 0.8 - VDD = 3.3 V, Rm= 30 Ω, CL= 10 [email protected] MHz - 1 - VDD = 3.3 V, Rm= 30 Ω, CL= 20 [email protected] MHz - 1.5 - Startup 10 - - mA/V VDD is stabilized - 2 - ms Symbol Parameter fOSC_IN RF HSE current consumption IDD Oscillator transconductance gm tSU(HSE) Conditions(1) (4) Startup time mA 1. Resonator characteristics given by the crystal/ceramic resonator manufacturer. 2. Guaranteed by design, not tested in production. 3. This consumption level occurs during the first 2/3 of the tSU(HSE) startup time 4. tSU(HSE) is the startup time measured from the moment it is enabled (by software) to a stabilized 8 MHz oscillation is reached. This value is measured for a standard crystal resonator and it can vary significantly with the crystal manufacturer 74/131 DocID022691 Rev 4 STM32F37xxx Electrical characteristics For CL1 and CL2, it is recommended to use high-quality external ceramic capacitors in the 5 pF to 20 pF range (typ.), designed for high-frequency applications, and selected to match the requirements of the crystal or resonator (see Figure 14). CL1 and CL2 are usually the same size. The crystal manufacturer typically specifies a load capacitance which is the series combination of CL1 and CL2. PCB and MCU pin capacitance must be included (10 pF can be used as a rough estimate of the combined pin and board capacitance) when sizing CL1 and CL2. Note: For information on electing the crystal, refer to the application note AN2867 “Oscillator design guide for ST microcontrollers” available from the ST website www.st.com. Figure 14. Typical application with an 8 MHz crystal Resonator with integrated capacitors CL1 fHSE OSC_IN 8 MH z resonator CL2 REXT(1) RF Bias controlled gain OSC_OU T MS19876V1 1. REXT value depends on the crystal characteristics. DocID022691 Rev 4 75/131 114 Electrical characteristics STM32F37xxx Low-speed external clock generated from a crystal resonator The low-speed external (LSE) clock can be supplied with a 32.768 kHz crystal resonator oscillator. All the information given in this paragraph are based on design simulation results obtained with typical external components specified in Table 41. In the application, the resonator and the load capacitors have to be placed as close as possible to the oscillator pins in order to minimize output distortion and startup stabilization time. Refer to the crystal resonator manufacturer for more details on the resonator characteristics (frequency, package, accuracy). Table 41. LSE oscillator characteristics (fLSE = 32.768 kHz) Symbol IDD gm Parameter LSE current consumption Oscillator transconductance tSU(LSE)(3) Startup time Conditions(1) Min(2) Typ Max(2) Unit LSEDRV[1:0]=00 lower driving capability - 0.5 0.9 LSEDRV[1:0]= 01 medium low driving capability - - 1 LSEDRV[1:0] = 10 medium high driving capability - - 1.3 LSEDRV[1:0]=11 higher driving capability - - 1.6 LSEDRV[1:0]=00 lower driving capability 5 - - LSEDRV[1:0]= 01 medium low driving capability 8 - - LSEDRV[1:0] = 10 medium high driving capability 15 - - LSEDRV[1:0]=11 higher driving capability 25 - - VDD is stabilized - 2 - µA µA/V 1. Refer to the note and caution paragraphs below the table, and to the application note AN2867 “Oscillator design guide for ST microcontrollers”. 2. Guaranteed by design, not tested in production. 3. tSU(LSE) is the startup time measured from the moment it is enabled (by software) to a stabilized 32.768 kHz oscillation is reached. This value is measured for a standard crystal and it can vary significantly with the crystal manufacturer Note: 76/131 For information on selecting the crystal, refer to the application note AN2867 “Oscillator design guide for ST microcontrollers” available from the ST website www.st.com. DocID022691 Rev 4 s STM32F37xxx Electrical characteristics Figure 15. Typical application with a 32.768 kHz crystal Resonator with integrated capacitors CL1 fLSE OSC32_IN Drive programmable amplifier 32.768 kH z resonator OSC32_OU T CL2 MS30253V1 Note: An external resistor is not required between OSC32_IN and OSC32_OUT and it is forbidden to add one. 6.3.8 Internal clock source characteristics The parameters given in Table 42 are derived from tests performed under ambient temperature and supply voltage conditions summarized in Table 22. The provided curves are chararacterization results, not tested in production. High-speed internal (HSI) RC oscillator Table 42. HSI oscillator characteristics(1) Symbol fHSI TRIM DuCy(HSI) ACCHSI Parameter Conditions Frequency Typ Max Unit - 8 - MHz (2) - 1 % 45(2) - 55(2) % TA = –40 to 105 °C –3.8(3) - 4.6(3) % TA = –10 to 85 °C –2.9(3) - 2.9(3) % TA = 0 to 70 °C –2.3(3) - –2.2(3) % –1 - 1 % HSI user trimming step - Duty cycle Accuracy of the HSI oscillator (factory calibrated) Min TA = 25 °C tsu(HSI) HSI oscillator startup time 1(3) - 2(3) µs IDD(HSI) HSI oscillator power consumption - 80 100(3) µA 1. VDDA =3.3 V, TA = –40 to 105 °C unless otherwise specified. 2. Guaranteed by design, not tested in production. 3. Data based on characterization results, not tested in production. DocID022691 Rev 4 77/131 114 Electrical characteristics STM32F37xxx Figure 16. HSI oscillator accuracy characterization results ACCHSI 5% 4% 3% 2% MAX 1% MIN 0% -40 TA [°C] -20 0 20 40 60 80 100 120 - 1% - 2% - 3% -4% -5% MS30986V2 Low-speed internal (LSI) RC oscillator Table 43. LSI oscillator characteristics(1) Symbol fLSI tsu(LSI) Parameter Min Typ Max Unit 30 40 60 kHz LSI oscillator startup time - - 85 µs LSI oscillator power consumption - 0.75 1.2 µA Frequency (2) IDD(LSI)(2) 1. VDDA = 3.3 V, TA = –40 to 105 °C unless otherwise specified. 2. Guaranteed by design, not tested in production. 6.3.9 PLL characteristics The parameters given in Table 44 are derived from tests performed under ambient temperature and supply voltage conditions summarized in Table 22. Table 44. PLL characteristics Symbol Parameter Value Unit Min Typ Max 1(2) - 24(2) MHz PLL input clock duty cycle (2) 40 - 60(2) % fPLL_OUT PLL multiplier output clock 16(2) - 72 MHz tLOCK PLL lock time - - 200(2) µs - (2) ps fPLL_IN Jitter PLL input clock(1) Cycle-to-cycle jitter - 300 1. Take care of using the appropriate multiplier factors so as to have PLL input clock values compatible with the range defined by fPLL_OUT. 2. Guaranteed by design, not tested in production. 78/131 DocID022691 Rev 4 STM32F37xxx 6.3.10 Electrical characteristics Memory characteristics Flash memory The characteristics are given at TA = –40 to 105 °C unless otherwise specified. Table 45. Flash memory characteristics Min Typ Max(1) Unit 16-bit programming time TA = –40 to +105 °C 40 53.5 60 µs Page (2 kB) erase time TA = –40 to +105 °C 20 - 40 ms tME Mass erase time TA = –40 to +105 °C 20 - 40 ms IDD Supply current Write mode - - 10 mA Erase mode - - 12 mA Symbol tprog tERASE Parameter Conditions 1. Guaranteed by design, not tested in production. Table 46. Flash memory endurance and data retention Value Symbol NEND tRET Parameter Endurance Data retention Conditions Min(1) TA = –40 to +85 °C (6 suffix versions) TA = –40 to +105 °C (7 suffix versions) 10 1 kcycle(2) at TA = 85 °C 30 1 kcycle 10 (2) at TA = 105 °C kcycles(2) at TA = 55 °C 10 Unit kcycles Years 20 1. Data based on characterization results, not tested in production. 2. Cycling performed over the whole temperature range. DocID022691 Rev 4 79/131 114 Electrical characteristics 6.3.11 STM32F37xxx EMC characteristics Susceptibility tests are performed on a sample basis during device characterization. Functional EMS (electromagnetic susceptibility) While a simple application is executed on the device (toggling 2 LEDs through I/O ports). the device is stressed by two electromagnetic events until a failure occurs. The failure is indicated by the LEDs: • Electrostatic discharge (ESD) (positive and negative) is applied to all device pins until a functional disturbance occurs. This test is compliant with the IEC 61000-4-2 standard. • FTB: A Burst of Fast Transient voltage (positive and negative) is applied to VDD and VSS through a 100 pF capacitor, until a functional disturbance occurs. This test is compliant with the IEC 61000-4-4 standard. A device reset allows normal operations to be resumed. The test results are given in Table 47. They are based on the EMS levels and classes defined in application note AN1709. Table 47. EMS characteristics Symbol Parameter Conditions Level/ Class VFESD VDD = 3.3 V, LQFP100, TA = +25 °C, Voltage limits to be applied on any I/O pin fHCLK = 72 MHz to induce a functional disturbance conforms to IEC 61000-4-2 3B VEFTB Fast transient voltage burst limits to be applied through 100 pF on VDD and VSS pins to induce a functional disturbance VDD = 3.3 V, LQFP100, TA = +25 °C, fHCLK = 72 MHz conforms to IEC 61000-4-4 4A Designing hardened software to avoid noise problems EMC characterization and optimization are performed at component level with a typical application environment and simplified MCU software. It should be noted that good EMC performance is highly dependent on the user application and the software in particular. Therefore it is recommended that the user applies EMC software optimization and prequalification tests in relation with the EMC level requested for his application. Software recommendations The software flowchart must include the management of runaway conditions such as: • Corrupted program counter • Unexpected reset • Critical Data corruption (control registers...) Prequalification trials Most of the common failures (unexpected reset and program counter corruption) can be reproduced by manually forcing a low state on the NRST pin or the Oscillator pins for 1 second. 80/131 DocID022691 Rev 4 STM32F37xxx Electrical characteristics To complete these trials, ESD stress can be applied directly on the device, over the range of specification values. When unexpected behavior is detected, the software can be hardened to prevent unrecoverable errors occurring (see application note AN1015). Electromagnetic Interference (EMI) The electromagnetic field emitted by the device are monitored while a simple application is executed (toggling 2 LEDs through the I/O ports). This emission test is compliant with IEC 61967-2 standard which specifies the test board and the pin loading. Table 48. EMI characteristics Symbol Parameter SEMI 6.3.12 Conditions Monitored frequency band Max vs. [fHSE/fHCLK] Unit 8/72 MHz 0.1 to 30 MHz VDD = 3.3 V, TA = 25 °C, 30 to 130 MHz LQFP100 package Peak level compliant with IEC 130 MHz to 1 GHz 61967-2 SAE EMI Level 9 26 dBµV 30 4 - Electrical sensitivity characteristics Based on three different tests (ESD, LU) using specific measurement methods, the device is stressed in order to determine its performance in terms of electrical sensitivity. Electrostatic discharge (ESD) Electrostatic discharges (a positive then a negative pulse separated by 1 second) are applied to the pins of each sample according to each pin combination. The sample size depends on the number of supply pins in the device (3 parts × (n+1) supply pins). This test conforms to the JESD22-A114/C101 standard. Table 49. ESD absolute maximum ratings Symbol Ratings Class Maximum value(1) 2 2000 TA = +25 °C, conforming to ANSI/ESD STM5.3.1, LQFP100, LQFP64, LQFP48 and BGA100 packages II 500 TA = +25 °C, conforming to JESD22C101, WLCSP66 package II 250 Conditions TA = +25 °C, VESD(HBM Electrostatic discharge conforming to JESD22voltage (human body model) ) A114 VESD(CD M) Electrostatic discharge voltage (charge device model) Unit V 1. Data based on characterization results, not tested in production. DocID022691 Rev 4 81/131 114 Electrical characteristics STM32F37xxx Static latch-up Two complementary static tests are required on six parts to assess the latch-up performance: • A supply overvoltage is applied to each power supply pin • A current injection is applied to each input, output and configurable I/O pin These tests are compliant with EIA/JESD 78A IC latch-up standard. Table 50. Electrical sensitivities Symbol LU 6.3.13 Parameter Static latch-up class Conditions TA = +105 °C conforming to JESD78A Class II level A I/O current injection characteristics As a general rule, current injection to the I/O pins, due to external voltage below VSS or above VDD (for standard, 3 V-capable I/O pins) should be avoided during normal product operation. However, in order to give an indication of the robustness of the microcontroller in cases when abnormal injection accidentally happens, susceptibility tests are performed on a sample basis during device characterization. Functional susceptibility to I/O current injection While a simple application is executed on the device, the device is stressed by injecting current into the I/O pins programmed in floating input mode. While current is injected into the I/O pin, one at a time, the device is checked for functional failures. The failure is indicated by an out of range parameter: ADC error above a certain limit (higher than 5 LSB TUE), out of conventional limits of induced leakage current on adjacent pins (out of –5 µA/+0 µA range), or other functional failure (for example reset occurrence or oscillator frequency deviation). The test results are given in Table 51. 82/131 DocID022691 Rev 4 STM32F37xxx Electrical characteristics Table 51. I/O current injection susceptibility Functional susceptibility Symbol Description Unit Negative Positive injection injection IINJ Note: Injected current on BOOT0 pin -0 NA Injected current on PC0 pin -0 +5 Injected current on TC type I/O pins on VDDSD12 power domain: PB2, PE7, PE8, PE9, PE10, PE11, PE12, PE13, PE14, PE15, PB10 with induced leakage current on other pins from this group less than -50 µA -5 +5 Injected current on TC type I/O pins on VDDSD3 power domain: PB14, PB15, PD8, PD9, PD10, PD12, PD13, PD14, PD15 with induced leakage current on other pins from this group less than -50 µA -5 +5 Injected current on TTa type pins: PA4, PA5, PA6 with induced leakage current on adjacent pins less than -10 µA -5 +5 Injected current on any other FT and FTf pins -5 NA Injected current on any other pins -5 +5 mA It is recommended to add a Schottky diode (pin to ground) to analog pins which may potentially inject negative currents. DocID022691 Rev 4 83/131 114 Electrical characteristics 6.3.14 STM32F37xxx I/O port characteristics General input/output characteristics Unless otherwise specified, the parameters given in Table 52 are derived from tests performed under the conditions summarized in Table 22. All I/Os are CMOS and TTL compliant. Table 52. I/O static characteristics (1) Symbol VIL Parameter Low level input voltage Conditions High level input voltage Vhys Ilkg Input leakage current (3) Max Unit (2) - - 0.3VDD+0.07 FT and FTf I/O - - 0.475VDD–0.2(2) BOOT0 - - 0.3VDD–0.3(2) All I/Os except BOOT0 pin - - 0.3VDD +0.398(2) - - 0.445VDD FT and FTf I/O 0.5VDD+0.2(2) - - BOOT0 0.2VDD+0.95(2) - - All I/Os except BOOT0 pin 0.7VDD - - - 200(2) - FT and FTf I/O - 100(2) - BOOT0 - 300(2) - TC, FT and FTf I/O TTa in digital mode VSS < VIN < VDD - - ±0.1 TTa in digital mode VDD ≤ VIN ≤ VDDA - - 1 TTa in analog mode VSS ≤ VIN ≤ VDDA - - ±0.2 FT and FTf I/O (3) VDD ≤ VIN ≤ 5 V - - 10 25 40 55 TC and TTa I/O Schmitt trigger hysteresis Typ TC and TTa I/O TC and TTa I/O VIH Min RPU Weak pull-up equivalent resistor(4) VIN = VSS RPD Weak pull-down equivalent resistor(4) VIN = VDD CIO I/O pin capacitance V mV µA kΩ 25 40 55 - 5 - pF 1. VDDSD12 is the external power supply for the PB2, PB10, and PE7 to PE15 I/O pins (the I/O pin ground is internally connected to VSS). VDDSD3 is the external power supply for PB14 to PB15 and PD8 to PD15 I/O pins (the I/O pin ground is internally connected to VSS). For those pins all VDD supply references in this table are related to their given VDDSDx power supply. 2. Data based on design simulation only. Not tested in production. 3. Leakage could be higher than maximum value, if negative current is injected on adjacent pins. 4. Pull-up and pull-down resistors are designed with a true resistance in series with a switchable PMOS/NMOS. This PMOS/NMOS contribution to the series resistance is minimal (~10% order). 84/131 DocID022691 Rev 4 STM32F37xxx Note: Electrical characteristics I/O pins are powered from VDD voltage except pins which can be used as SDADC inputs: - The PB2, PB10 and PE7 to PE15 I/O pins are powered from VDDSD12. - PB14 to PB15 and PD8 to PD15 I/O pins are powered from VDDSD3. All I/O pin ground is internally connected to VSS. VDD mentioned in the Table 52 represents power voltage for a given I/O pin (VDD or VDDSD12 or VDDSD3). All I/Os are CMOS and TTL compliant (no software configuration required). Their characteristics cover more than the strict CMOS-technology or TTL parameters. The coverage of these requirements is shown in Figure 17 and Figure 18 for standard I/Os, and in Figure 19 and Figure 20 for 5 V tolerant I/Os. Figure 17. TC and TTa I/O input characteristics - CMOS port VIL/VIH (V) min ts VIH S CMO VIHmin 2.0 Tested en quirem = 0.7 VDD 98 ns +0.3 5V DD imulatio 0.44 s = n V IHmin on desig d Base ons 7 +0.0 ulati .3V DDsign sim 0 = e V ILmaxed on d Bas ard re stand uction in prod 1.3 Area not determined CMOS standard requirements VILmax = 0.3VDD VILmax 0.7 0.6 duction in pro Tested VDD (V) 2.0 2.7 3.0 3.3 3.6 MS30255V2 Figure 18. TC and TTa I/O input characteristics - TTL port VIL/VIH (V) TTL standard requirements VIHmin = 2 V VIHmin 2.0 98 +0.3 ulations 5V DD 0.44 sign sim = V IHmin d on de Base 0.07 tions V DD+ n simula = 0.3 sig V ILmax d on de Base 1.3 Area not determined 0.8 VILmax 0.7 TTL standard requirements VILmax = 0.8 V VDD (V) 2.0 2.7 3.0 3.3 3.6 MS30256V4 DocID022691 Rev 4 85/131 114 Electrical characteristics STM32F37xxx Figure 19. Five volt tolerant (FT and FTf) I/O input characteristics - CMOS port VIL/VIH (V) in = ts V IHm ndard men quire 0.7V DD re ons 0.2 V DD+ simulati n = 0.5 V IHmin on desig d Base -0.2 lations u 5V DD 0.47 ign sim x= s a e m d V IL d on e s a B S sta CMO 2.0 Area not determined 1.0 nts ard requireme CMOS stand VILmax = 0.3VDD 0.5 VDD (V) 2.7 2.0 3.6 MS30257V3 Figure 20. Five volt tolerant (FT and FTf) I/O input characteristics - TTL port VIL/VIH (V) TTL standard requirements VIHmin = 2 V 2.0 Area not determined 1.0 0.8 ons 0.2 V DD+ simulati n = 0.5 V IHmin on desig d Base -0.2 tions 75V DD simula = 0.4 ign V ILmax on des d Base TTL standard requirements VILmax = 0.8 V 0.5 VDD (V) 2.0 2.7 3.6 MS30258V4 Output driving current The GPIOs (general purpose input/outputs) can sink or source up to ± 8 mA, and sink or source up to ± 20 mA (with a relaxed VOL/VOH). In the user application, the number of I/O pins which can drive current must be limited to respect the absolute maximum rating specified in Section 6.2: 86/131 • The sum of the currents sourced by all the I/Os on all VDD_x and VDDSDx, plus the maximum Run consumption of the MCU sourced on VDD cannot exceed the absolute maximum rating ΣIVDD (see Table 20). • The sum of the currents sunk by all the I/Os on all VSS_x and VSSSD, plus the maximum Run consumption of the MCU sunk on VSS cannot exceed the absolute maximum rating ΣIVSS (see Table 20). DocID022691 Rev 4 STM32F37xxx Electrical characteristics Output voltage levels Unless otherwise specified, the parameters given in Table 53 are derived from tests performed under ambient temperature and VDD supply voltage conditions summarized in Table 22. All I/Os are CMOS and TTL compliant (FT, TTa or TC unless otherwise specified). Table 53. Output voltage characteristics (1) Symbol VOL (2) Parameter Output low level voltage for an I/O pin VOH(4) Output high level voltage for an I/O pin VOL(2) Output low level voltage for an I/O pin VOH (4) Output high level voltage for an I/O pin VOL(2)(5) Output low level voltage for an I/O pin VOH(4)(5) Output high level voltage for an I/O pin VOL(2)(5) Output low level voltage for an I/O pin VOH(4)(5) Output high level voltage for an I/O pin VOLFM+(2) Output low level voltage for a FTf I/O pins in FM+ mode Conditions Min (3) Max Unit CMOS port IIO = +8 mA VDD–0.4 2.7 V < VDD < 3.6 V 0.4 TTL port(3) IIO = +8 mA 2.7 V < VDD < 3.6 V - 0.4 2.4 - IIO = +20 mA 2.7 V < VDD < 3.6 V VDD–1.3 IIO = +6 mA 2 V < VDD < 2.7 V - - - 0.4 VDD–0.4 - - 0.4 IIO = +20 mA 2.7 V < VDD < 3.6 V V 1.3 1. VDDSD12 is the external power supply for PB2, PB10, and PE7 to PE15 I/O pins (the I/O ground pin is internally connected to VSS). VDDSD3 is the external power supply for PB14 to PB15 and PD8 to PD15 I/O pins (the I/O ground pin is internally connected to VSS). For those pins all VDD supply references in this table are related to their given VDDSDx power supply. 2. The IIO current sunk by the device must always respect the absolute maximum rating specified in Table 20 and the sum of IIO (I/O ports and control pins) must not exceed IVSS. 3. TTL and CMOS outputs are compatible with JEDEC standards JESD36 and JESD52. 4. The IIO current sourced by the device must always respect the absolute maximum rating specified in Table 20 and the sum of IIO (I/O ports and control pins) must not exceed IVDD. 5. Data based on design simulation. Note: I/O pins are powered from VDD voltage except pins which can be used as SDADC inputs: - The PB2, PB10 and PE7 to PE15 I/O pins are powered from VDDSD12. - PB14 to PB15 and PD8 to PD15 I/O pins are powered from VDDSD3. All I/O pin ground is internally connected to VSS. VDD mentioned in the Table 53 represents power voltage for a given I/O pin (VDD or VDDSD12 or VDDSD3). DocID022691 Rev 4 87/131 114 Electrical characteristics STM32F37xxx Input/output AC characteristics The definition and values of input/output AC characteristics are given in Figure 21 and Table 54, respectively. Unless otherwise specified, the parameters given are derived from tests performed under ambient temperature and VDD supply voltage conditions summarized in Table 22. Table 54. I/O AC characteristics(1) OSPEEDRy [1:0] value(1) x0 01 Symbol fmax(IO)out Maximum frequency(2) tf(IO)out Output high to low level fall time tr(IO)out Output low to high level rise time fmax(IO)out Maximum frequency(2) tf(IO)out Output high to low level fall time tr(IO)out Output low to high level rise time fmax(IO)out 11 tf(IO)out tr(IO)out FM+ configuration Parameter Maximum frequency(2)(3) Output high to low level fall time Output low to high level rise time Conditions Min Max Unit - 2 MHz - 125(3) - 125(3) - 10 - 25(3) - 25(3) CL = 30 pF, VDD = 2.7 V to 3.6 V - 50 MHz CL = 50 pF, VDD = 2.7 V to 3.6 V - 30 MHz CL = 50 pF, VDD = 2 V to 2.7 V - 20 MHz CL = 30 pF, VDD = 2.7 V to 3.6 V - 5(3) CL = 50 pF, VDD = 2.7 V to 3.6 V - 8(3) CL = 50 pF, VDD = 2 V to 2.7 V - 12(3) CL = 30 pF, VDD = 2.7 V to 3.6 V - 5(3) CL = 50 pF, VDD = 2.7 V to 3.6 V - 8(3) CL = 50 pF, VDD = 2 V to 2.7 V - 12(3) - 2 - 12 CL = 50 pF, VDD = 2 V to 3.6 V CL = 50 pF, VDD = 2 V to 3.6 V CL = 50 pF, VDD = 2 V to 3.6 V ns CL = 50 pF, VDD = 2 V to 3.6 V ns fmax(IO)out Maximum frequency(2) tf(IO)out Output high to low level fall time tr(IO)out Output low to high level rise time - 34 tEXTIpw Pulse width of external signals detected by the EXTI controller 10 - (4) CL = 50 pF, VDD = 2 V to 3.6 V MHz ns MHz ns ns 1. The I/O speed is configured using the OSPEEDRx[1:0] bits. Refer to the RM0313 reference manual for a description of GPIO Port configuration register. 2. The maximum frequency is defined in Figure 21. 3. Guaranteed by design, not tested in production. 4. The I/O speed configuration is bypassed in FM+ I/O mode. Refer to the STM32F37xx and STM32F38xx reference manual RM0313 for a description of FM+ I/O mode configuration 88/131 DocID022691 Rev 4 STM32F37xxx Electrical characteristics Figure 21. I/O AC characteristics definition 90% 10% 50% 50% 10% EXTERNAL OUTPUT ON 50 pF 90% t f(IO)out t r(IO)out T Maximum frequency is achieved if (t r + t f (≤ 2/3)T and if the duty cycle is (45-55%) when loaded by 50 pF MS32132V1 6.3.15 NRST characteristics NRST pin characteristics The NRST pin input driver uses CMOS technology. It is connected to a permanent pull-up resistor, RPU (see Table 52). Unless otherwise specified, the parameters given in Table 55 are derived from tests performed under ambient temperature and VDD supply voltage conditions summarized in Table 22. Table 55. NRST pin characteristics Symbol Min Typ Max VIL(NRST)(1) NRST Input low level voltage - - 0.3VDD + 0.07(1) VIH(NRST)(1) NRST Input high level voltage 0.445VDD + 0.398(1) - - - 200 - mV 25 40 55 kΩ - - 100 ns 500 - - ns Vhys(NRST)(1) Conditions NRST Schmitt trigger voltage hysteresis Weak pull-up equivalent resistor(2) RPU VF(NRST)(1) VNF(NRST) Parameter (1) VIN = VSS NRST Input filtered pulse NRST Input not filtered pulse Unit V 1. Data based on design simulation only, not tested in production. 2. The pull-up is designed with a true resistance in series with a switchable PMOS. This PMOS contribution to the series resistance is minimal (~10% order). DocID022691 Rev 4 89/131 114 Electrical characteristics STM32F37xxx Figure 22. Recommended NRST pin protection VDD External reset circuit(1) NRST(2) R PU Internal Reset Filter 0.1 μF MS19878V1 1. The reset network protects the device against parasitic resets. 2. The user must ensure that the level on the NRST pin can go below the VIL(NRST) max level specified in Table 55. Otherwise the reset will not be taken into account by the device. 90/131 DocID022691 Rev 4 STM32F37xxx 6.3.16 Electrical characteristics Communications interfaces I2C interface characteristics The I2C interface meets the requirements of the standard I2C communication protocol with the following restrictions: the I/O pins SDA and SCL are mapped to are not “true” opendrain. When configured as open-drain, the PMOS connected between the I/O pin and VDD is disabled, but is still present. The I2C characteristics are described in Table 56. Refer also to Section 6.3.14: I/O port characteristics for more details on the input/output alternate function characteristics (SDA and SCL). Table 56. I2C characteristics(1) Standard Symbol Fast mode Fast mode + Parameter Unit Min Max Min Max Min Max 0 100 0 400 0 1000 KHz fSCL SCL clock frequency tLOW Low period of the SCL clock 4.7 - 1.3 - 0.5 - µs tHIGH High Period of the SCL clock 4 - 0.6 - 0.26 - µs tr Rise time of both SDA and SCL signals - 1000 - 300 - 120 ns tf Fall time of both SDA and SCL signals - 300 - 300 - 120 ns Data hold time 0 - 0 - 0 - µs - 3.45(2) - 0.9(2) - 0.45(2) µs - 3.45(2) - 0.9(2) - 0.45(2) µs tHD;DAT tVD;DAT Data valid time tVD;ACK Data valid acknowledge time tSU;DAT Data setup time 250 - 100 - 50 - ns tHD;STA Hold time (repeated) START condition 4.0 - 0.6 - 0.26 - µs tSU;STA Set-up time for a repeated START condition 4.7 - 0.6 - 0.26 - µs tSU;STO Set-up time for STOP condition 4.0 - 0.6 - 0.26 - µs Bus free time between a STOP and START condition 4.7 - 1.3 - 0.5 - µs - 400 - 400 - 550 pF tBUF Cb Capacitive load for each bus line 1. The I2C characteristics are the requirements from the I2C bus specification rev03. They are guaranteed by design when the I2Cx_TIMING register is correctly programmed (refer to reference manual). These characteristics are not tested in production. 2. The maximum tHD;DAT could be 3.45 µs, 0.9 µs and 0.45 µs for standard mode, fast mode and fast mode plus, but must be less than the maximum of tVD;DAT or tVD;ACK by a transition time. DocID022691 Rev 4 91/131 114 Electrical characteristics STM32F37xxx Table 57. I2C analog filter characteristics(1) Symbol Parameter Pulse width of spikes that are suppressed by the analog filter tSP Min Max Unit 50 260 ns 1. Guaranteed by design, not tested in production. Figure 23. I2C bus AC waveforms and measurement circuit VDD_I2C VDD_I2C Rp MCU Rp Rs SDA I2C bus Rs SCL UG 4%" U 46%"5 US UG U )%%"5 4$U )%45" U 7%%"5 U )*() DPOUJOVFE U -08 G4$- 4 DPOUJOVFE US UIDMPDL U #6' TUDMPDLDZDMF 4%" U 4645" U )%45" U 41 U 7%"$, U 46450 4$4S UIDMPDL 1 4 MS19879V3 1. Legend: Rs: Series protection resistors. Rp: Pull-up resistors. VDD_I2C: I2C bus supply. 92/131 DocID022691 Rev 4 STM32F37xxx Electrical characteristics SPI/I2S characteristics Unless otherwise specified, the parameters given in Table 58 for SPI or in Table 59 for I2S are derived from tests performed under ambient temperature, fPCLKx frequency and VDD supply voltage conditions summarized in Table 22. Refer to Section 6.3.14: I/O port characteristics for more details on the input/output alternate function characteristics (NSS, SCK, MOSI, MISO for SPI and WS, CK, SD for I2S). Table 58. SPI characteristics Symbol fSCK 1/tc(SCK)(1) Parameter SPI clock frequency Conditions Min Max Master mode - 18 Slave mode - 18 - 8 ns % tr(SCK) tf(SCK)(1) SPI clock rise and fall time Capacitive load: C = 30 pF DuCy(SCK)(1) SPI slave input clock duty cycle Slave mode 30 70 tsu(NSS)(1) NSS setup time Slave mode 2Tpclk - th(NSS)(1) NSS hold time Slave mode 4Tpclk - SCK high and low time Master mode, fPCLK = 36 MHz, presc = 4 Tpclk/2 Tpclk/2 -3 +3 (1) tw(SCKH) tw(SCKL)(1) tsu(MI) (1) tsu(SI)(1) th(MI) Data input setup time (1) th(SI)(1) Data input hold time Master mode 5.5 - Slave mode 6.5 - Master mode 5 - Slave mode 5 - ta(SO)(1)(2) Data output access time Slave mode, fPCLK = 24 MHz 0 4Tpclk tdis(SO)(1)(3) Data output disable time Slave mode 0 24 (1) Data output valid time Slave mode (after enable edge) - 39 tv(MO)(1) Data output valid time Master mode (after enable edge) - 3 Slave mode (after enable edge) 15 - Master mode (after enable edge) 4 - tv(SO) th(SO)(1) th(MO)(1) Data output hold time Unit MHz ns 1. Data based on characterization results, not tested in production. 2. Min time is for the minimum time to drive the output and the max time is for the maximum time to validate the data. 3. Min time is for the minimum time to invalidate the output and the max time is for the maximum time to put the data in Hi-Z. DocID022691 Rev 4 93/131 114 Electrical characteristics STM32F37xxx Figure 24. SPI timing diagram - slave mode and CPHA = 0 NSS input tc(SCK) th(NSS) tSU(NSS) SCK Input CPHA= 0 CPOL=0 tw(SCKH) tw(SCKL) CPHA= 0 CPOL=1 tv(SO) ta(SO) MISO OUT P UT tr(SCK) tf(SCK) th(SO) MS B O UT BI T6 OUT tdis(SO) LSB OUT tsu(SI) MOSI I NPUT M SB IN LSB IN B I T1 IN th(SI) ai14134c Figure 25. SPI timing diagram - slave mode and CPHA = 1(1) NSS input tSU(NSS) SCK Input CPHA=1 CPOL=0 CPHA=1 CPOL=1 tc(SCK) tw(SCLH) tw(SCLL) tv(SO) ta(SO) MISO OUT P UT MS B O UT tsu(SI) MOSI I NPUT th(NSS) th(SO) BI T6 OUT tr(SCL) tf(SCL) tdis(SO) LSB OUT th(SI) M SB IN B I T1 IN LSB IN ai14135 1. Measurement points are done at 0.5VDD level and with external CL = 30 pF. 94/131 DocID022691 Rev 4 STM32F37xxx Electrical characteristics Figure 26. SPI timing diagram - master mode(1) High NSS input SCK Output CPHA= 0 CPOL=0 SCK Output tc(SCK) CPHA=1 CPOL=0 CPHA= 0 CPOL=1 CPHA=1 CPOL=1 tsu(MI) MISO INP UT tw(SCKH) tw(SCKL) tr(SCK) tf(SCK) MS BIN BI T6 IN LSB IN th(MI) MOSI OUTPUT M SB OUT tv(MO) B I T1 OUT LSB OUT th(MO) ai14136V2 1. Measurement points are done at 0.5VDD level and with external CL = 30 pF. DocID022691 Rev 4 95/131 114 Electrical characteristics STM32F37xxx Table 59. I2S characteristics Symbol Parameter Conditions Min Max Unit 30 70 % 1.528 1.539 Slave mode 0 12.288 DuCy(SCK)(1) I2S slave input clock duty cycle fCK(1) 1/tc(CK) I2S clock frequency tr(CK)(1) tf(CK) I2S clock rise and fall time Capacitive load CL = 30 pF - 8 tv(WS) (1) WS valid time Master mode 4 - (1) WS hold time Master mode 4 - WS setup time Slave mode 2 - - - 306 - 312 - Master receiver 6 - Slave receiver 3 - Master receiver 1.5 - Slave receiver 1.5 - th(WS) tsu(WS) (1) (1) Slave mode Master mode (data: 16 bits, Audio frequency = 48 kHz) WS hold time Slave mode tw(CKH) (1) I2S clock high time tw(CKL) (1) I2S clock low time Master fPCLK= 16 MHz, audio frequency = 48 kHz th(WS) tsu(SD_MR) (1) tsu(SD_SR) (1) th(SD_MR) (1) th(SD_SR) (1) Data input setup time Data input hold time MHz tv(SD_ST) (1) Data output valid time Slave transmitter (after enable edge) - 16 th(SD_ST) (1) Data output hold time Slave transmitter (after enable edge) 16 - tv(SD_MT) (1) Data output valid time Master transmitter (after enable edge) - 2 th(SD_MT) (1) Data output hold time Master transmitter (after enable edge) 0 - 1. Data based on design simulation, not tested in production. 96/131 DocID022691 Rev 4 ns STM32F37xxx Electrical characteristics Figure 27. I2S slave timing diagram (Philips protocol)(1) CK Input tc(CK) CPOL = 0 CPOL = 1 tw(CKH) th(WS) tw(CKL) WS input tv(SD_ST) tsu(WS) SDtransmit LSB transmit(2) MSB transmit Bitn transmit tsu(SD_SR) LSB receive(2) SDreceive th(SD_ST) LSB transmit th(SD_SR) MSB receive Bitn receive LSB receive ai14881b 1. Measurement points are done at 0.5 VDD level and with external CL = 30 pF. 2. LSB transmit/receive of the previously transmitted byte. No LSB transmit/receive is sent before the first byte. Figure 28. I2S master timing diagram (Philips protocol)(1) tr(CK) tf(CK) CK output tc(CK) CPOL = 0 tw(CKH) CPOL = 1 tv(WS) th(WS) tw(CKL) WS output tv(SD_MT) SDtransmit LSB transmit(2) MSB transmit SDreceive LSB transmit th(SD_MR) tsu(SD_MR) LSB receive(2) Bitn transmit th(SD_MT) MSB receive Bitn receive LSB receive ai14884b 1. Measurement points are done at 0.5 VDD level and with external CL = 30 pF. 2. LSB transmit/receive of the previously transmitted byte. No LSB transmit/receive is sent before the first byte. DocID022691 Rev 4 97/131 114 Electrical characteristics 6.3.17 STM32F37xxx 12-bit ADC characteristics Unless otherwise specified, the parameters given in Table 60 are preliminary values derived from tests performed under ambient temperature, fPCLK2 frequency and VDDA supply voltage conditions summarized in Table 22. Note: It is recommended to perform a calibration after each power-up. Table 60. ADC characteristics Symbol Parameter Conditions Min Typ Max Unit VDDA Power supply 2.4 - 3.6 V VREF+ Positive reference voltage 2.4 - VDDA V - 0.9 - mA - 160(2) 220(2) µA IDDA(ADC)(1) Current consumption from VDDA VDD = VDDA = 3.3 V IVREF Current on the VREF input pin fADC ADC clock frequency 0.6 - 14 MHz fS(3) Sampling rate 0.05 - 1 MHz - - 823 kHz - - 17 1/fADC 0 (VSSA or VREFtied to ground) - VREF+ V - - 50 κΩ fADC = 14 MHz fTRIG(3) External trigger frequency VAIN Conversion voltage range RSRC(3) Signal source impedance RADC(3) Sampling switch resistance - - 1 κΩ CADC(3) Internal sample and hold capacitor - - 8 pF tCAL(3) Calibration time See Equation 1 and Table 61 for details fADC = 14 MHz tlat(3) Injection trigger conversion latency fADC = 14 MHz tlatr(3) Regular trigger conversion latency fADC = 14 MHz tS(3) Sampling time tSTAB(3) Power-up time tCONV(3) Total conversion time (including sampling time) fADC = 14 MHz fADC = 14 MHz - 5.9 µs 83 1/fADC - 0.214 µs - - 2(4) 1/fADC - - 0.143 µs - - 2(4) 1/fADC 0.107 - 17.1 µs 1.5 - 239.5 1/fADC 0 0 1 µs 1 - 18 µs 14 to 252 (tS for sampling +12.5 for successive approximation) 1/fADC 1. During conversion of the sampled value (12.5 x ADC clock period), an additional consumption of 100 µA on IDDA and 60 µA on IDD is present 2. Based on characterization, not tested in production. 3. Guaranteed by design, not tested in production. 4. For external triggers, a delay of 1/fPCLK2 must be added to the latency specified in Table 60 98/131 DocID022691 Rev 4 STM32F37xxx Electrical characteristics Equation 1: RSRC max formula TS - – R ADC R SRC < ------------------------------------------------------------N+2 f ADC × C ADC × ln ( 2 ) The formula above (Equation 1) is used to determine the maximum external signal source impedance allowed for an error below 1/4 of LSB. Here N = 12 (from 12-bit resolution). Table 61. RSRC max for fADC = 14 MHz(1) Ts (cycles) tS (µs) RSRC max (kΩ) 1.5 0.11 0.4 7.5 0.54 5.9 13.5 0.96 11.4 28.5 2.04 25.2 41.5 2.96 37.2 55.5 3.96 50 71.5 5.11 50 239.5 17.1 50 1. Guaranteed by design, not tested in production. Table 62. ADC accuracy(1)(2) (3) Symbol Parameter Test conditions Typ Max(4) ±1.3 ±3 ±1 ±2 ±0.5 ±1.5 ±0.7 ±1 ET Total unadjusted error EO Offset error EG Gain error ED Differential linearity error EL Integral linearity error ±0.8 ±1.5 ET Total unadjusted error ±3.3 ±4 EO Offset error ±1.9 ±2.8 EG Gain error ±2.8 ±3 ED Differential linearity error ±0.7 ±1.3 EL Integral linearity error ±1.2 ±1.7 ET Total unadjusted error ±3.3 ±4 EO Offset error ±1.9 ±2.8 EG Gain error ±2.8 ±3 ED Differential linearity error ±0.7 ±1.3 EL Integral linearity error ±1.2 ±1.7 fADC = 14 MHz, RSRC < 10 kΩ, VDDA = 3 V to 3.6 V TA = 25 °C fADC = 14 MHz, RSRC < 10 kΩ, VDDA = 2.7 V to 3.6 V TA = -40 to 105 °C fADC = 14 MHz, RSRC < 10 kΩ, VDDA = 2.4 V to 3.6 V TA = 25 °C Unit LSB LSB LSB 1. ADC DC accuracy values are measured after internal calibration. DocID022691 Rev 4 99/131 114 Electrical characteristics STM32F37xxx 2. ADC accuracy vs. negative injection current: Injecting a negative current on any analog input pins should be avoided as this significantly reduces the accuracy of the conversion being performed on another analog input. It is recommended to add a Schottky diode (pin to ground) to analog pins which may potentially inject negative currents. Any positive injection current within the limits specified for IINJ(PIN) and ΣIINJ(PIN) in Section 6.3.14 does not affect the ADC accuracy. 3. Better performance may be achieved in restricted VDDA, frequency and temperature ranges. 4. Data based on characterization results, not tested in production. Figure 29. ADC accuracy characteristics EG (1) Example of an actual transfer curve (2) The ideal transfer curve (3) End point correlation line 4095 4094 4093 (2) ET ET=Total Unadjusted Error: maximum deviation between the actual and the ideal transfer curves. EO=Offset Error: deviation between the first actual transition and the first ideal one. EG=Gain Error: deviation between the last ideal transition and the last actual one. ED=Differential Linearity Error: maximum deviation between actual steps and the ideal one. EL =Integral Linearity Error: maximum deviation between any actual transition and the end point correlation line. (3) 7 (1) 6 5 EO 4 EL 3 ED 2 1 LSBIDEAL 1 0 1 VSSA 2 3 4 5 6 7 4093 4094 4095 4096 VDDA MS19880V1 Figure 30. Typical connection diagram using the ADC VDD RSRC(1) 7SRC VT 0.6 V AINx Cparasitic VT 0.6 V IL±1 μA Sample and hold ADC converter RADC(1) 12-bit converter CADC(1) MS32163V1 1. Refer to Table 60 for the values of RSRC, RADC and CADC. 2. Cparasitic represents the capacitance of the PCB (dependent on soldering and PCB layout quality) plus the pad capacitance (roughly 7 pF). A high Cparasitic value will downgrade conversion accuracy. To remedy this, fADC should be reduced. General PCB design guidelines Power supply decoupling should be performed as shown in Figure 9. The 10 nF capacitor should be ceramic (good quality) and it should be placed as close as possible to the chip. 100/131 DocID022691 Rev 4 STM32F37xxx 6.3.18 Electrical characteristics DAC electrical specifications Table 63. DAC characteristics Symbol Parameter Min Typ Max Unit Comments VDDA Analog supply voltage 2.4 - 3.6 V VREF+ Reference supply voltage 2.4 - 3.6 V VSSA Ground 0 - 0 V RLOAD(1) Resistive load with buffer ON 5 - - kΩ RO(1) Impedance output with buffer OFF - - 15 kΩ When the buffer is OFF, the Minimum resistive load between DAC_OUT and VSS to have a 1% accuracy is 1.5 MΩ CLOAD(1) Capacitive load - - 50 pF Maximum capacitive load at DAC_OUT pin (when the buffer is ON). VREF+ must always be below VDDA It gives the maximum output excursion of the DAC. It corresponds to 12-bit input code (0x0E0) to (0xF1C) at VREF+ = 3.6 V and (0x155) and (0xEAB) at VREF+ = 2.4 V DAC_OUT Lower DAC_OUT voltage min(1) with buffer ON 0.2 - - V DAC_OUT Higher DAC_OUT voltage with buffer ON max(1) - - VDDA – 0.2 V DAC_OUT Lower DAC_OUT voltage min(1) with buffer OFF - 0.5 - mV DAC_OUT Higher DAC_OUT voltage max(1) with buffer OFF - - VREF+ – 1LSB V ) DAC DC current consumption in quiescent mode (Standby mode) - - 220 µA With no load, worst code (0xF1C) at VREF+ = 3.6 V in terms of DC consumption on the inputs - - 380 µA With no load, middle code (0x800) on the inputs IDDA(3) DAC DC current consumption in quiescent mode(2) - - 480 µA With no load, worst code (0xF1C) at VREF+ = 3.6 V in terms of DC consumption on the inputs - - ±0.5 LSB Given for the DAC in 10-bit configuration - - ±2 LSB Given for the DAC in 12-bit configuration - - ±1 LSB Given for the DAC in 10-bit configuration - - ±4 LSB Given for the DAC in 12-bit configuration IDDVREF+(3 DNL(3) INL(3) Differential non linearity Difference between two consecutive code-1LSB) Integral non linearity (difference between measured value at Code i and the value at Code i on a line drawn between Code 0 and last Code 1023) DocID022691 Rev 4 It gives the maximum output excursion of the DAC. 101/131 114 Electrical characteristics STM32F37xxx Table 63. DAC characteristics (continued) Symbol Offset(3) Parameter Offset error (difference between measured value at Code (0x800) and the ideal value = VREF+/2) Min Typ Max Unit Comments - - ±10 mV - - ±3 LSB Given for the DAC in 10-bit at VREF+ = 3.6 V - - ±12 LSB Given for the DAC in 12-bit at VREF+ = 3.6 V Gain error(3) Gain error - - ±0.5 % Given for the DAC in 12bit configuration tSETTLING( 3) Settling time (full scale: for a 10-bit input code transition between the lowest and the highest input codes when DAC_OUT reaches final value ±1LSB - 3 4 µs CLOAD ≤ 50 pF, RLOAD ≥ 5 kΩ Update rate(3) Max frequency for a correct DAC_OUT change when small variation in the input code (from code i to i+1LSB) - - 1 Wakeup time from off state tWAKEUP(3) (Setting the ENx bit in the DAC Control register) - 6.5 10 µs CLOAD ≤ 50 pF, RLOAD ≥ 5 kΩ input code between lowest and highest possible ones. Power supply rejection ratio PSRR+ (1) (to VDDA) (static DC measurement - -67 -40 dB No RLOAD, CLOAD = 50 pF MS/ CLOAD ≤ 50 pF, RLOAD ≥ 5 kΩ s 1. Guaranteed by design, not tested in production. 2. Quiescent mode refers to the state of the DAC keeping a steady value on the output, so no dynamic consumption is involved. 3. Guaranteed by characterization, not tested in production. Figure 31. 12-bit buffered /non-buffered DAC Buffer(1) R LOAD 12-bit digital to analog converter DACx_OUT C LOAD ai17157 1. The DAC integrates an output buffer that can be used to reduce the output impedance and to drive external loads directly without the use of an external operational amplifier. The buffer can be bypassed by configuring the BOFFx bit in the DAC_CR register. 102/131 DocID022691 Rev 4 STM32F37xxx 6.3.19 Electrical characteristics Comparator characteristics Table 64. Comparator characteristics Symbol VDDA Parameter Conditions Min Typ Max(1) Unit Analog supply voltage 2 - 3.6 VIN Comparator input voltage range 0 - VDDA VBG Scaler input voltage - 1.2 - VSC Scaler offset voltage - ±5 ±10 mV tS_SC Scaler startup time from power down - - 0.1 ms tSTART Comparator startup time Startup time to reach propagation delay specification - - 60 µs Ultra-low power mode - 2 4.5 - 0.7 1.5 - 0.3 0.6 VDDA ≥ 2.7 V - 50 100 VDDA < 2.7 V - 100 240 - 2 7 - 0.7 2.1 - 0.3 1.2 VDDA ≥ 2.7 V - 90 180 VDDA < 2.7 V - 110 300 Low power mode Propagation delay for 200 mV step with 100 mV Medium power mode overdrive High speed mode tD Ultra-low power mode Low power mode Propagation delay for full range step with 100 mV Medium power mode overdrive High speed mode V µs ns µs ns Voffset Comparator offset error - ±4 ±10 mV dVoffset/dT Offset error temperature coefficient - 18 - µV/°C Ultra-low power mode - 1.2 1.5 Low power mode - 3 5 Medium power mode - 10 15 High speed mode - 75 100 IDD(COMP) COMP current consumption DocID022691 Rev 4 µA 103/131 114 Electrical characteristics STM32F37xxx Table 64. Comparator characteristics (continued) Symbol Parameter Min Typ Max(1) Conditions No hysteresis (COMPxHYST[1:0]=00) Low hysteresis (COMPxHYST[1:0]=01) Vhys Comparator hysteresis Medium hysteresis (COMPxHYST[1:0]=10) High hysteresis (COMPxHYST[1:0]=11) High speed mode 3 All other power modes 5 High speed mode 7 All other power modes 9 High speed mode 18 All other power modes 19 0 Unit 13 8 10 mV 26 15 19 49 31 40 1. Guaranteed by design, not tested in production. 6.3.20 Temperature sensor characteristics Table 65. Temperature sensor calibration values Calibration value name Description Memory address TS_CAL1 TS ADC raw data acquired at temperature of 30 °C, VDDA= 3.3 V 0x1FFF F7B8 - 0x1FFF F7B9 TS_CAL2 TS ADC raw data acquired at temperature of 110 °C VDDA= 3.3 V 0x1FFF F7C2 - 0x1FFF F7C3 Table 66. TS characteristics Symbol Min Typ Max Unit - ±1 ±2 °C Average slope 4.0 4.3 4.6 mV/°C V25 Voltage at 25 °C 1.34 1.43 1.52 V tSTART(1) Startup time 4 - 10 µs TS_temp(2)(1) ADC sampling time when reading the temperature 17.1 - - µs TL Avg_Slope Parameter VSENSE linearity with temperature (1) 1. Guaranteed by design, not tested in production. 2. Shortest sampling time can be determined in the application by multiple iterations. 104/131 DocID022691 Rev 4 STM32F37xxx 6.3.21 Electrical characteristics VBAT monitoring characteristics Table 67. VBAT monitoring characteristics Symbol Parameter Min Typ Max Unit KΩ R Resistor bridge for VBAT - 50 - Q Ratio on VBAT measurement - 2 - Error on Q -1 - +1 % ADC sampling time when reading the VBAT 1mV accuracy 5 - - µs Er (1) TS_vbat(2) 1. Guaranteed by design, not tested in production. 2. Shortest sampling time can be determined in the application by multiple iterations. 6.3.22 Timer characteristics The parameters given in Table 68 are guaranteed by design. Refer to Section 6.3.14: I/O port characteristics for details on the input/output alternate function characteristics (output compare, input capture, external clock, PWM output). Table 68. TIMx(1) (2)characteristics Symbol tres(TIM) Parameter Conditions Timer resolution time Min Max Unit 1 - tTIMxCLK 13.9 - ns 0 fTIMxCLK/2 MHz 0 24 MHz TIMx (except TIM2) - 16 TIM2 - 32 1 65536 tTIMxCLK 0.0139 910 µs - 65536 × 65536 tTIMxCLK - 59.65 s fTIMxCLK = 72 MHz Timer external clock frequency on CH1 to CH4 f TIMxCLK = 72 MHz fEXT ResTIM tCOUNTER Timer resolution 16-bit counter clock period tMAX_COUN Maximum possible count with 32-bit counter T fTIMxCLK = 72 MHz fTIMxCLK = 72 MHz bit 1. TIMx is used as a general term to refer to the TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, TIM12, TIM13, TIM14, TIM15, TIM16 , TIM17, TIM18 and TIM19 timers. 2. Data based on characterization results, not tested in production. Table 69. IWDG min/max timeout period at 40 kHz (LSI) (1)(2) Prescaler divider PR[2:0] bits Min timeout (ms) RL[11:0]= 0x000 Max timeout (ms) RL[11:0]= 0xFFF /4 0 0.1 409.6 /8 1 0.2 819.2 /16 2 0.4 1638.4 DocID022691 Rev 4 105/131 114 Electrical characteristics STM32F37xxx Table 69. IWDG min/max timeout period at 40 kHz (LSI) (continued)(1)(2) Prescaler divider PR[2:0] bits Min timeout (ms) RL[11:0]= 0x000 Max timeout (ms) RL[11:0]= 0xFFF /32 3 0.8 3276.8 /64 4 1.6 6553.6 /128 5 3.2 13107.2 /256 7 6.4 26214.4 1. These timings are given for a 40 kHz clock but the microcontroller’s internal RC frequency can vary from 30 to 60 kHz. Moreover, given an exact RC oscillator frequency, the exact timings still depend on the phasing of the APB interface clock versus the LSI clock so that there is always a full RC period of uncertainty. 2. Data based on characterization results, not tested in production. Table 70. WWDG min-max timeout value @72 MHz (PCLK) 106/131 Prescaler WDGTB Min timeout value Max timeout value 1 0 0.05687 3.6409 2 1 0.1137 7.2817 4 2 0.2275 14.564 8 3 0.4551 29.127 DocID022691 Rev 4 STM32F37xxx 6.3.23 Electrical characteristics USB characteristics Table 71. USB startup time Symbol tSTARTUP(1) Parameter USB transceiver startup time Max Unit 1 µs 1. Guaranteed by design, not tested in production. Table 72. USB DC electrical characteristics Symbol Parameter Min.(1) Max.(1) Unit 3.0(3) 3.6 V I(USB_DP, USB_DM) 0.2 - Includes VDI range 0.8 2.5 1.3 2.0 - 0.3 2.8 3.6 Conditions Input levels VDD USB operating voltage(2) VDI(4) Differential input sensitivity (for USB compliance) VCM(4) Differential common mode range VSE(4) Single ended receiver threshold V Output levels VOL VOH RL of 1.5 kΩ to 3.6 V(5) Static output level low Static output level high RL of 15 kΩ to VSS(5) V 1. All the voltages are measured from the local ground potential. 2. To be compliant with the USB 2.0 full-speed electrical specification, the USB_DP (D+) pin should be pulled up with a 1.5 kΩ resistor to a 3.0-to-3.6 V voltage range. 3. The STM32F3xxx USB functionality is ensured down to 2.7 V but not the full USB electrical characteristics which are degraded in the 2.7-to-3.0 V VDD voltage range. 4. Guaranteed by design, not tested in production. 5. RL is the load connected on the USB drivers DocID022691 Rev 4 107/131 114 Electrical characteristics STM32F37xxx Figure 32. USB timings: definition of data signal rise and fall time Crossover points Differential Data Lines VCRS VSS tr tf ai14137 Table 73. USB: Full-speed electrical characteristics(1) Symbol Parameter Conditions Min Typ Max Unit CL = 50 pF 4 - 20 ns CL = 50 pF 4 - 20 ns tr/tf 90 - 110 % - 1.3 - 2.0 V 28 40 44 Ω Driver characteristics tr tf trfm VCRS Rise time(2) Fall time(2) Rise/ fall time matching Output signal crossover voltage driving high and low Output driver Z Impedance(3) DRV 1. Guaranteed by design, not tested in production. 2. Measured from 10% to 90% of the data signal. For more detailed informations, please refer to USB Specification - Chapter 7 (version 2.0). 3. No external termination series resistors are required on USB_DP (D+) and USB_DM (D-), the matching impedance is already included in the embedded driver. 6.3.24 CAN (controller area network) interface Refer to Section 6.3.14: I/O port characteristics for more details on the input/output alternate function characteristics (CAN_TX and CAN_RX). 6.3.25 SDADC characteristics Table 74. SDADC characteristics (1) Symbol Parameter Conditions Min Typ Max Slow mode (fADC = 1.5 MHz) 2.2 - VDDA Fast mode (fADC = 6 MHz) 2.4 - VDDA Slow mode (fADC = 1.5 MHz) 0.5 1.5 1.65 Fast mode (fADC = 6 MHz) 0.5 6 6.3 Unit VDDSDx Power supply fADC SDADC clock frequency VREFSD+ Positive ref. voltage 1.1 - VDDSDx V VREFSD- Negative ref. voltage - VSSA - V 108/131 DocID022691 Rev 4 V MHz Note STM32F37xxx Electrical characteristics Table 74. SDADC characteristics (continued)(1) Symbol IDDSDx VAIN VDIFF fS Parameter Supply current (VDDSDx = 3.3 V) Common input voltage range Differential input voltage Sampling rate tCONV Conversion time Rain Analog input impedance tCALIB Calibration time tSTAB Stabilizatio n time tSTANDBY Wakeup from standby time Conditions Min Typ Max Fast mode (fADC = 6 MHz) - 800 1200 Slow mode (fADC = 1.5 MHz) - - 600 Standby - - 200 Power down - - 2.5 SD_ADC off - - 1 VSSA - VREFSD+ /gain Single ended mode (zero reference) Single ended offset mode VSSA - VREFSD+/ (gain*2) Differential mode VSSA - VDDSDx -VREF Unit Note µA V Voltage on AINP or AINN pin Differential voltage between AINP and AINN SD+/ - VREFSD+/ (gain*2) Slow mode (fADC = 1.5 MHz) - 4.166 - fADC/360 Slow mode one channel only (fADC = 1.5 MHz) - 12.5 - fADC/120 Fast mode multiplexed channel (fADC = 6 MHz) - 16.66 - Fast mode one channel only (fADC = 6 MHz) - 50 - - 1/fs - One channel, gain = 0.5, fADC = 1.5 MHz - 540 - One channel, gain = 0.5, fADC = 6 MHz - 135 - One channel, gain = 8, fADC = 6 MHz - 47 - fADC = 6 MHz, one offset calibration - 5120 - Differential mode only (gain*2) From power down fADC = 6 MHz - 100 - fADC = 6 MHz - 50 - fADC = 1.5 MHz - 50 - DocID022691 Rev 4 kHz fADC/360 fADC/120 s kΩ see reference manual for detailed description µs 30720/fADC µs 600/fADC, 75/fADC if SLOWCK =1 300/fADC µs 75/fADC if SLOWCK =1 109/131 114 Electrical characteristics STM32F37xxx Table 74. SDADC characteristics (continued)(1) Symbol Parameter Conditions gain = 1 gain = 8 gain = 1 Offset error Single ended mode EO gain = 8 Differential mode fADC = 1.5 MHz fADC = 6 MHz fADC = 6 MHz Min Typ Max VREFSD+ = 3.3 - - 110 VREFSD+ = 1.2 - - 110 VREFSD+ = 3.3 - - 100 VREFSD+ = 1.2 - - 70 VREFSD+ = 3.3 - - 100 VDDSDx = 3.3 fADC = VREFSD+ = 1.5 MHz 3.3 - - 90 VREFSD+ = 1.2 - - 2100 VREFSD+ = 3.3 - - 2000 VREFSD+ = 1.2 - - 1500 VREFSD+ = 3.3 - - 1800 Unit Note uV after offset calibration Dvoffsett emp Offset drift with temperatur e Differential or single ended mode, gain = 1, VDDSDx = 3.3 V - 10 15 uV/K EG Gain error All gains, differential mode, single ended mode -2.4 -2.7 -3.1 % EGT Gain drift with temperatur e gain = 1, differential mode, single ended mode - 0 - ppm/ K 110/131 DocID022691 Rev 4 STM32F37xxx Electrical characteristics Table 74. SDADC characteristics (continued)(1) Conditions gain = 8 gain = 8 gain = 1 gain = 8 Differential mode gain = 8 gain = 1 VDDSDx = 3.3 Single ended mode ED Differential linearity error gain = 1 VDDSDx = 3.3 Single ended mode EL Integral linearity error gain = 1 Parameter Differential mode Symbol Min Typ Max VREFSD+ = 1.2 - - 16 VREFSD+ = 3.3 - - 14 VREFSD+ = 1.2 - - 26 VREFSD+= 3.3 - - 14 VREFSD+ = 1.2 - - 31 VREFSD+= 3.3 - - 23 VREFSD+= 1.2 - - 80 VREFSD+ = 3.3 - - 35 VREFSD+ = 1.2 - - 2.4 VREFSD+ = 3.3 - - 1.8 VREFSD+= 1.2 - - 3.6 VREFSD+ = 3.3 - - 2.9 VREFSD+ = 1.2 - - 3.2 VREFSD+ = 3.3 - - 2.8 VREFSD+= 1.2 - - 4.1 VREFSD+ = 3.3 - - 3.3 DocID022691 Rev 4 Unit Note LSB LSB 111/131 114 Electrical characteristics STM32F37xxx Table 74. SDADC characteristics (continued)(1) Symbol Parameter Conditions Min Typ Max VREFSD+ = 3.3(2) 84 85 - VREFSD+= 1.2(3) 86 88 - VREFSD+ = 3.3 88 92 - VREFSD+ = 1.2(3) 76 78 - VREFSD+ = 3.3 82 86 - fADC = VDDSDx VREFSD+= 1.5 MHz = 3.3 3.3(2) 76 80 - fADC = 1.5MHz VREFSD+ = 3.3 80 84 - VREFSD+ = 1.2(3) 77 81 - VREFSD+ = 3.3 85 90 - VREFSD+ = 1.2(3) 66 71 - VREFSD+ = 3.3 74 78 - 112/131 gain = 1 gain = 8 gain = 1 Signal to noise ratio Single ended mode SNR(4) gain = 8 Differential mode fADC = 1.5 MHz fADC = 6 MHz fADC = 6 MHz fADC = 6 MHz fADC = 6 MHz DocID022691 Rev 4 Unit dB Note STM32F37xxx Electrical characteristics Table 74. SDADC characteristics (continued)(1) Symbol Parameter Conditions Min Typ Max VREFSD+ = 3.3(2) 76 77 - VREFSD+ = 1.2(3) 75 76 - VREFSD+ = 3.3 76 77 - VREFSD+ = 1.2(3) 70 74 - VREFSD+ = 3.3 79 85 - fADC = VDDSDx VREFSD+ = 1.5 MHz = 3.3 3.3(2) 75 81 - fADC = 1.5MHz VREFSD+ = 3.3 72 73 - VREFSD+ = 1.2(3) 68 71 - VREFSD+ = 3.3 72 73 - VREFSD+ = 1.2(3) 60 64 - VREF = 3.3 67 72 - VREFSD+ = 3.3(2) - -77 -76 VREFSD+ = 1.2(3) - -77 -76 VREFSD+ = 3.3 - -77 -76 VREFSD+ = 1.2(3) - -85 -70 VREFSD+ = 3.3 - -93 -80 gain =1 gain =8 gain =1 Single ended mode SINAD(4) Signal to noise and distortion ratio gain =8 Differential mode fADC = 1.5 MHz fADC = 6 MHz fADC = 6 MHz fADC = 6 MHz fADC = 6 MHz gain =1 gain =8 gain =1 Single ended mode THD(4) Total harmonic distortion gain =8 Differential mode fADC = 1.5 MHz fADC = 6 MHz fADC = 6 MHz VDDSDx = 3.3 VREFSD+ = fADC = 1.5 MHz 3.3(2) fADC = 6 MHz fADC = 6 MHz dB Note ENOB = SINAD/ 6.02 -0.292 dB - -93 -83 VREFSD+ = 1.2(3) - -72 -68 VREFSD+ = 3.3 - -74 -72 VREFSD+ = 1.2(3) - -66 -61 VREFSD+ = 3.3 - -75 -70 DocID022691 Rev 4 Unit 113/131 114 Electrical characteristics STM32F37xxx 1. Data based on characterization results, not tested in production. 2. For fADC lower than 5 MHz, there will be a performance degradation of around 2 dB due to flicker noise increase. 3. If the reference value is lower than 2.4 V, there will be a performance degradation proportional to the reference supply drop, according to this formula: 20*log10(VREF/2.4) dB 4. SNR, THD, SINAD parameters are valid for frequency bandwidth 20Hz - 1kHz. Input signal frequency is 300Hz (for fADC=6MHz) and 100Hz (for fADC=1.5MHz). Table 75. VREFSD+ pin characteristics(1) Symbol VREFINT Parameter Internal reference voltage CVREFSD+(2) Reference voltage filtering capacitor RVREFSD+ Reference voltage input impedance Conditions Min Typ Max Unit Note See Section 6.3.4: Embedded reference voltage on page 60 Buffered embedded reference voltage (1.2 V) - 1.2 - V Embedded reference voltage amplified by factor 1.5 - 1.8 - V 10000 nF VREFSD+ = VREFINT 1000 Fast mode (fADC = 6 MHz) - Slow mode (fADC = 1.5 MHz) - 238 kΩ 952 - See RM0313 reference manual for detailed description 1. Data based on characterization results, not tested in production. 2. If internal reference voltage is selected then this capacitor is charged through internal resistance - typ. 300 ohm. If internal reference source is selected through the reference voltage selection bits (REFV<>”00” in SDADC_CR1 register), the application must first configure REFV bits and then wait for capacitor charging. Recommended waiting time is 3 ms if 1 µF capacitor is used. 114/131 DocID022691 Rev 4 STM32F37xxx Package characteristics 7 Package characteristics 7.1 Package mechanical data In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK® packages, depending on their level of environmental compliance. ECOPACK® specifications, grade definitions and product status are available at: www.st.com. ECOPACK® is an ST trademark. DocID022691 Rev 4 115/131 126 Package characteristics STM32F37xxx Figure 33. UFBGA100 – ultra fine pitch ball grid array, 7 x 7 mm, 0.50 mm pitch, package outline 0.10 Z D1 D X A1 ball pad corner FD Y A1 ball pad corner 0.50 1.75 b 1.75 E1 E e A1 A 0.10 Side view Top view FE A2 Bottom view A0C2_ME 1. Drawing is not to scale. Table 76. UFBGA100 – ultra fine pitch ball grid array, 7 x 7 mm, 0.50 mm pitch, package mechanical data inches(1) millimeters Symbol Min Typ Max Min Typ Max A 0.46 0.53 0.6 0.0181 0.0209 0.0236 A1 0.06 0.08 0.1 0.0024 0.0031 0.0039 A2 0.4 0.45 0.5 0.0157 0.0177 0.0197 b 0.2 0.25 0.3 0.0079 0.0098 0.0118 D - 7 - - 0.2756 - D1 - 5.5 - - 0.2165 - E - 7 - - 0.2756 - E1 - 5.5 - - 0.2165 - e - 0.5 - - 0.0197 - FD - 0.75 - - 0.0295 - FE - 0.75 - - 0.0295 - 1. Values in inches are converted from mm and rounded to 4 decimal digits. 116/131 DocID022691 Rev 4 STM32F37xxx Package characteristics Figure 34. LQFP100 –14 x 14 mm 100-pin low-profile quad flat package outline c A1 A A2 SEATING PLANE C 0.25 mm GAUGE PLANE A1 K ccc C L D L1 D1 D3 51 75 50 100 26 PIN 1 1 IDENTIFICATION E E3 E1 b 76 25 e 1L_ME_V4 1. Drawing is not to scale. Table 77. LQPF100 – 14 x 14 mm low-profile quad flat package mechanical data inches(1) millimeters Symbol Min Typ Max Min Typ Max A - - 1.600 - - 0.0630 A1 0.050 - 0.150 0.0020 - 0.0059 A2 1.350 1.400 1.450 0.0531 0.0551 0.0571 b 0.170 0.220 0.270 0.0067 0.0087 0.0106 c 0.090 - 0.200 0.0035 - 0.0079 D 15.800 16.000 16.200 0.6220 0.6299 0.6378 D1 13.800 14.000 14.200 0.5433 0.5512 0.5591 D3 - 12.000 - - 0.4724 - E 15.800 16.000 16.200 0.6220 0.6299 0.6378 DocID022691 Rev 4 117/131 126 Package characteristics STM32F37xxx Table 77. LQPF100 – 14 x 14 mm low-profile quad flat package mechanical data (continued) inches(1) millimeters Symbol Min Typ Max Min Typ Max E1 13.800 14.000 14.200 0.5433 0.5512 0.5591 E3 - 12.000 - - 0.4724 - e - 0.500 - - 0.0197 - L 0.450 0.600 0.750 0.0177 0.0236 0.0295 L1 - 1.000 - - 0.0394 - K 0° 3.5° 7° 0° 3.5° 7° ccc - - 0.080 - - 0.0031 1. Values in inches are converted from mm and rounded to 4 decimal digits. Figure 35. LQFP100 recommended footprint 75 51 76 50 0.5 0.3 16.7 14.3 100 26 1.2 1 25 12.3 16.7 ai14906b 1. Dimensions are in millimeters. 118/131 DocID022691 Rev 4 STM32F37xxx Package characteristics Figure 36. LQFP64 – 10 x 10 mm 64 pin low-profile quad flat package outline A2 c A1 A SEATING PLANE C 0.25 mm GAUGE PLANE A1 ccc C K L D L1 D1 D3 33 48 32 49 64 E E1 E3 b 17 16 1 PIN 1 IDENTIFICATION e 5W_ME_V2 1. Drawing is not to scale. Table 78. LQFP64 – 10 x 10 mm low-profile quad flat package mechanical data inches(1) millimeters Symbol Min Typ Max Min Typ Max A - - 1.600 - - 0.0630 A1 0.050 - 0.150 0.0020 - 0.0059 A2 1.350 1.400 1.450 0.0531 0.0551 0.0571 b 0.170 0.220 0.270 0.0067 0.0087 0.0106 c 0.090 - 0.200 0.0035 - 0.0079 D 11.800 12.000 12.200 0.4646 0.4724 0.4803 D1 9.800 10.000 10.200 0.3858 0.3937 0.4016 D3 - 7.500 - - 0.2953 - DocID022691 Rev 4 119/131 126 Package characteristics STM32F37xxx Table 78. LQFP64 – 10 x 10 mm low-profile quad flat package mechanical data (continued) inches(1) millimeters Symbol Min Typ Max Min Typ Max E 11.800 12.000 12.200 0.4646 0.4724 0.4803 E1 9.800 10.000 10.200 0.3858 0.3937 0.4016 E3 - 7.500 - - 0.2953 - e - 0.500 - - 0.0197 - L 0.450 0.600 0.750 0.0177 0.0236 0.0295 L1 - 1.000 - - 0.0394 - K 0° 3.5° 7° 0° 3.5° 7° ccc - - 0.080 - - 0.0031 1. Values in inches are converted from mm and rounded to 4 decimal digits. Figure 37. LQFP64 recommended footprint 48 33 0.3 0.5 49 32 12.7 10.3 10.3 64 17 1.2 1 16 7.8 12.7 ai14909b 1. Dimensions are in millimeters. 120/131 DocID022691 Rev 4 STM32F37xxx Package characteristics Figure 38. LQFP48 – 7 x 7 mm, 48-pin low-profile quad flat package outline c A1 A A2 SEATING PLANE C 0.25 mm GAUGE PLANE ccc C K A1 D L D1 L1 D3 36 25 37 24 48 PIN 1 IDENTIFICATION E E1 E3 b 13 1 12 e 5B_ME_V2 1. Drawing is not to scale. Table 79. LQFP48 – 7 x 7 mm, low-profile quad flat package mechanical data inches(1) millimeters Symbol Min Typ Max Min Typ Max A - - 1.600 - - 0.0630 A1 0.050 - 0.150 0.0020 - 0.0059 A2 1.350 1.400 1.450 0.0531 0.0551 0.0571 b 0.170 0.220 0.270 0.0067 0.0087 0.0106 c 0.090 - 0.200 0.0035 - 0.0079 D 8.800 9.000 9.200 0.3465 0.3543 0.3622 D1 6.800 7.000 7.200 0.2677 0.2756 0.2835 D3 - 5.500 - - 0.2165 - E 8.800 9.000 9.200 0.3465 0.3543 0.3622 E1 6.800 7.000 7.200 0.2677 0.2756 0.2835 E3 - 5.500 - - 0.2165 - e - 0.500 - - 0.0197 - DocID022691 Rev 4 121/131 126 Package characteristics STM32F37xxx Table 79. LQFP48 – 7 x 7 mm, low-profile quad flat package mechanical data (continued) inches(1) millimeters Symbol Min Typ Max Min Typ Max L 0.450 0.600 0.750 0.0177 0.0236 0.0295 L1 - 1.000 - - 0.0394 - K 0° 3.5° 7° 0° 3.5° 7° ccc - - 0.080 - - 0.0031 1. Values in inches are converted from mm and rounded to 4 decimal digits. Figure 39. LQFP48 recommended footprint 0.50 1.20 9.70 0.30 25 36 37 24 0.20 7.30 5.80 7.30 48 13 12 1 1.20 5.80 9.70 ai14911d 1. Dimensions are in millimeters. 122/131 DocID022691 Rev 4 STM32F37xxx 7.2 Package characteristics Thermal characteristics The maximum chip junction temperature (TJmax) must never exceed the values given in Table 22: General operating conditions on page 57. The maximum chip-junction temperature, TJ max, in degrees Celsius, may be calculated using the following equation: TJ max = TA max + (PD max x ΘJA) Where: • TA max is the maximum ambient temperature in °C, • ΘJA is the package junction-to-ambient thermal resistance, in °C/W, • PD max is the sum of PINT max and PI/O max (PD max = PINT max + PI/Omax), • PINT max is the product of IDD and VDD, expressed in Watts. This is the maximum chip internal power. PI/O max represents the maximum power dissipation on output pins where: PI/O max = Σ (VOL × IOL) + Σ((VDD – VOH) × IOH), taking into account the actual VOL / IOL and VOH / IOH of the I/Os at low and high level in the application. Table 80. Package thermal characteristics Symbol ΘJA 7.2.1 Parameter Value Thermal resistance junction-ambient LQFP64 - 10 × 10 mm / 0.5 mm pitch 45 Thermal resistance junction-ambient LQFP48 - 7 × 7 mm 55 Thermal resistance junction-ambient LQFP100 - 14 × 14 mm / 0.5 mm pitch 46 Thermal resistance junction-ambient BGA100 - 7 x 7 mm 59 Unit °C/W Reference document JESD51-2 Integrated Circuits Thermal Test Method Environment Conditions - Natural Convection (Still Air). Available from www.jedec.org DocID022691 Rev 4 123/131 126 Package characteristics 7.2.2 STM32F37xxx Selecting the product temperature range When ordering the microcontroller, the temperature range is specified in the ordering information scheme shown in Section 8: Part numbering. Each temperature range suffix corresponds to a specific guaranteed ambient temperature at maximum dissipation and, to a specific maximum junction temperature. As applications do not commonly use the STM32F373x at maximum dissipation, it is useful to calculate the exact power consumption and junction temperature to determine which temperature range will be best suited to the application. The following examples show how to calculate the temperature range needed for a given application. Example 1: High-performance application Assuming the following application conditions: Maximum ambient temperature TAmax = 82 °C (measured according to JESD51-2), IDDmax = 50 mA, VDD = 3.5 V, maximum 3 I/Os used at the same time in output at low level with IOL = 8 mA, VOL= 0.4 V and maximum 2 I/Os used at the same time in output at low level with IOL = 20 mA, VOL= 1.3 V PINTmax = 50 mA × 3.5 V= 175 mW PIOmax = 3 × 8 mA × 0.4 V + 2 × 20 mA × 1.3 V = 61.6 mW This gives: PINTmax = 175 mW and PIOmax = 61.6 mW: PDmax = 175+ 61.6 = 236.6 mW Thus: PDmax = 236.6 mW Using the values obtained in Table 80 TJmax is calculated as follows: – For LQFP64, 45°C/W TJmax = 82 °C + (45°C/W × 236.6 mW) = 82 °C + 10.65 °C = 92.65 °C This is within the range of the suffix 6 version parts (–40 < TJ < 105 °C). In this case, parts must be ordered at least with the temperature range suffix 6 (see Section 8: Part numbering). Example 2: High-temperature application Using the same rules, it is possible to address applications that run at high ambient temperatures with a low dissipation, as long as junction temperature TJ remains within the specified range. Assuming the following application conditions: Maximum ambient temperature TAmax = 115 °C (measured according to JESD51-2), IDDmax = 20 mA, VDD = 3.5 V, maximum 9 I/Os used at the same time in output at low level with IOL = 8 mA, VOL= 0.4 V PINTmax = 20 mA × 3.5 V= 70 mW PIOmax = 9 × 8 mA × 0.4 V = 28.8 mW This gives: PINTmax = 70 mW and PIOmax = 28.8 mW: PDmax = 70 + 28.8 = 98.8 mW Thus: PDmax = 98.8 mW 124/131 DocID022691 Rev 4 STM32F37xxx Package characteristics Using the values obtained in Table 80 TJmax is calculated as follows: – For LQFP100, 46°C/W TJmax = 115 °C + (46°C/W × 98.8 mW) = 115 °C + 4.54 °C = 119.5 °C This is within the range of the suffix 7 version parts (–40 < TJ < 125 °C). In this case, parts must be ordered at least with the temperature range suffix 7 (see Section 8: Part numbering). Figure 40. LQFP64 PD max vs. TA 700 PD (mW) 600 500 400 Suffix 6 300 Suffix 7 200 100 0 65 75 85 95 105 115 TA (°C) DocID022691 Rev 4 125 135 MSv32143V1 125/131 126 Part numbering 8 STM32F37xxx Part numbering For a list of available options (memory, package, and so on) or for further information on any aspect of this device, please contact your nearest ST sales office. Table 81. Ordering information scheme Example: STM32 Device family STM32 = ARM-based 32-bit microcontroller Product type F = General-purpose Sub-family 373 = STM32F373xx Pin count C = 48 pins R = 64 pins V = 100 pins Code size 8 = 64 Kbytes of Flash memory B = 128 Kbytes of Flash memory C = 256 Kbytes of Flash memory Package T = LQFP H = BGA Temperature range 6 = Industrial temperature range, –40 to 85 °C 7 = Industrial temperature range, –40 to 105 °C Options xxx = programmed parts TR = tape and real 126/131 DocID022691 Rev 4 F 373 R 8 T 6 x STM32F37xxx 9 Revision history Revision history Table 82. Document revision history Date Revision 18-Jun-2012 1 Initial release. 2 Added ‘F’ to all ‘Cortex-M4’ occurences Modified the shapes of Figure 2: STM32F373x LQFP48 pinout to Figure 4: STM32F373x LQFP100 pinout Added two rows ‘VREFSD+ - VDDSD3’ and ‘VREF+ - VDDA’ in Table 19: Voltage characteristics Removed PB0 in footnote of Table 19: Voltage characteristics and in Section 6.3.14: I/O port characteristics Added a paragraph after ‘...power up sequence’ in Section 6.2: Absolute maximum ratings and after ‘...in output mode’ in I/O system current consumption Corrected SDAC_VREF+ in Figure 9: Power supply scheme Modified Table 20: Current characteristics Added BGA100 in Table 22: General operating conditions Added values in Table 27: Embedded internal reference voltage Filled values in Table 28: Typical and maximum current consumption from VDD supply at VDD = 3.6 V Filled values in Table 29: Typical and maximum current consumption from VDDA supply Filled values in Table 30: Typical and maximum VDD consumption in Stop and Standby modes Removed table: “Typical and maximum VDDA consumption in Stop modes” Filled values in Table 31: Typical and maximum VDDA consumption in Stop and Standby modes Added VBAT values in Table 32: Typical and maximum current consumption from VBAT supply Added typ values in Table 33: Typical current consumption in Run mode, code with data processing running from Flash and Table 34: Typical current consumption in Sleep mode, code running from Flash or RAM Added max value in Table 41: LSE oscillator characteristics (fLSE = 32.768 kHz) Modified min and max values in Table 42: HSI oscillator characteristics Added values in Table 37: Low-power mode wakeup timings Added Class values in Table 47: EMS characteristics Modified values in Table 48: EMI characteristics Added values in Table 49: ESD absolute maximum ratings Added class value in Table 50: Electrical sensitivities Modified values and descriptions in Table 51: I/O current injection susceptibility 07-Sep-2012 Changes DocID022691 Rev 4 127/131 130 Revision history STM32F37xxx Table 82. Document revision history (continued) Date 07-Sep-2012 128/131 Revision Changes 2 (cont’d) Filled values in Table 70: WWDG min-max timeout value @72 MHz (PCLK) Filled values in Table 58: SPI characteristics Filled values in Table 59: I2S characteristics Replaced Table 60: ADC characteristics Added values in Table 74: SDADC characteristics Modified footnote in Table 75: VREFSD+ pin characteristics Replaced ‘AIN’ with ‘SRC’ in Table 61: RSRC max for fADC = 14 MHz and Figure 30: Typical connection diagram using the ADC Reordered chapters and Cover page features. Added subsection to GPIOS in Table 2: Device overview Aligned SRAM with USB in Figure 1: Block diagram Added “Do not reconfigure...” sentence in Section 3.9: General-purpose input/outputs (GPIOs) Added Table 7: STM32F373x I2C implementation Added Table 8: STM32F373x USART implementation Merged SPI and I2S into one section Reshaped Figure 5: STM32F373x BGA100 ballout and removed ADC10 Added notes column, modified I/O structure values and pin, function names, removed TIM1_TX & TIM1_RX in Table 11: STM32F37x pin definitions Added the note “do not reconfigure...” after Table 11: STM32F37x pin definitions Modified “x_CK” occurrences to “I2Sx_CK” in Table 12: Alternate functions for port PA to Table 17: Alternate functions for port PF Added two GP I/Os in Figure 9: Power supply scheme Added Caution after Figure 9: Power supply scheme Added Max values in Table 23: Operating conditions at power-up / power-down Modified (1) footnote in Table 24: Embedded reset and power control block characteristics Added row to Table 27: Embedded internal reference voltage Added the note “ It is recommended...” under Table 51: I/O current injection susceptibility Modified Table 51: I/O current injection susceptibility Modified temperature and current values in Section 7.2.2: Selecting the product temperature range Added crystal EPSON-TOYOCOM bullet under Typical current consumption Modified Figure 9: Power supply scheme Removed Boot 0 section Modified Table 73: USB: Full-speed electrical characteristics DocID022691 Rev 4 STM32F37xxx Revision history Table 82. Document revision history (continued) Date 21-Dec-2012 Revision Changes 3 Updated Table 2: Device overview, capacitive sensing channels peripheral added. Updated Table 3: Capacitive sensing GPIOs available on STM32F373x devices Updated Section 3.19: Inter-integrated circuit interface (I2C) Updated the function names in Table 11: STM32F37x pin definitions Updated Table 20: Current characteristics Updated Table 22: General operating conditions Updated Table 30: Typical and maximum VDD consumption in Stop and Standby modes Updated Table 32: Typical and maximum current consumption from VBAT supply Added Figure 11: Typical VBAT current consumption (LSE and RTC ON/LSEDRV[1:0]='00') Updated Table 33: Typical current consumption in Run mode, code with data processing running from Flash and Table 34: Typical current consumption in Sleep mode, code running from Flash or RAM Added Table 35: Switching output I/O current consumption Added Table 36: Peripheral current consumption, Figure 16: HSI oscillator accuracy characterization results Updated Section 6.3.6: Wakeup time from low-power mode Updated Table 37: Low-power mode wakeup timings Updated Table 47: EMS characteristics Updated Table 51: I/O current injection susceptibility Updated Table 52: I/O static characteristics Updated , Figure 18: TC and TTa I/O input characteristics TTL port, Figure 19: Five volt tolerant (FT and FTf) I/O input characteristics - CMOS port and Figure 20: Five volt tolerant (FT and FTf) I/O input characteristics - TTL port Updated Table 53: Output voltage characteristics Updated Table 54: I/O AC characteristics Updated Table 55: NRST pin characteristics Updated Table 63: DAC characteristics Updated Table 74: SDADC characteristics Updated Figure 34: LQFP100 –14 x 14 mm 100-pin lowprofile quad flat package outline, Figure 36: LQFP64 – 10 x 10 mm 64 pin low-profile quad flat package outline and Figure 38: LQFP48 – 7 x 7 mm, 48-pin low-profile quad flat package outline Updated Table 77: LQPF100 – 14 x 14 mm low-profile quad flat package mechanical data, Table 78: LQFP64 – 10 x 10 mm low-profile quad flat package mechanical data and Table 79: LQFP48 – 7 x 7 mm, low-profile quad flat package mechanical data Added Figure 16: HSI oscillator accuracy characterization results DocID022691 Rev 4 129/131 130 Revision history STM32F37xxx Table 82. Document revision history (continued) Date 19-Sep-2013 130/131 Revision Changes 4 Replaced “Cortex-M4F” with “Cortex-M4” throughout the document. Removed part number STM32F372xx. Added “1.25 DMIPS/MHz (Dhrystone 2.1)” in Features. Updated Introduction. Added reference to the STMTouch touch sensing firmware library in Section 3.16: Touch sensing controller (TSC). Added “All I2S interfaces can operate in half-duplex mode only.” in Section 3.21: Serial peripheral interface (SPI)/Interintegrated sound interfaces (I2S). Added row “I2S full-duplex mode” to Table 9: STM32F373x SPI/I2S implementation. Modified introduction of I2C interface characteristics. Added alternate function RTC_REFIN and removed additional function RTC_REF_CLK_IN to pins PA1 and PB15. Replaced alternate function JNTRST with NJTRST for pin PB4. In Table 12: Alternate functions for port PA: replaced alternate function JTMS-SWDIO with SWDIO-JTMS for pin PA13, and JTCK-SWCLK with SWCLK-JTCK for pin PA14. Added rows VREF+ and VREFSD+ to Table 22: General operating conditions. Replaced "fAPB1 = fAHB/2" with "fAPB1 = fAHB" for “When the peripherals are enabled...” in Typical current consumption. Added COMP in Table 36: Peripheral current consumption Added conditions for fHSE_ext in Table 38: High-speed external user clock characteristics. Added Min and Max values for ACCHISI in Table 42: HSI oscillator characteristics. Replaced reference "JESD22-C101" with "ANSI/ESD STM5.3.1" in Table 49: ESD absolute maximum ratings. Removed pins PB0 and PB1 in description of IINJ in Table 51: I/O current injection susceptibility. Updated Table 56: I2C characteristics. Replaced all occurrences of “gain/2” with “gain*2” in Table 74: SDADC characteristics. Corrected typo in Figure 21: I/O AC characteristics definition. Replaced Figure 23: I2C bus AC waveforms and measurement circuit.. Added IDDA(ADC) and footnote 1 in Table 60: ADC characteristics DocID022691 Rev 4 STM32F37xxx Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER’S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR “AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL” INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. © 2013 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com DocID022691 Rev 4 131/131 131
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
advertisement