Page 1
AN4661 Application note Getting started with STM32F7 Series MCU hardware development Introduction This application note is intended for system designers who require an hardware implementation overview of the development board, with a focus on the features: • Power supply, • Package selection, •...
AN4661 Power supplies Power supplies Introduction The device requires a 1.8 to 3.6 V operating voltage supply (V ), which can be reduced down to 1.7 V with PDR OFF, as detailed in the product datasheets. The embedded linear voltage regulator is used to supply the internal 1.2 V digital power. The real-time clock (RTC), the RTC backup registers, and the backup SRAM (BKP SRAM) can be powered from the V voltage when the main V...
Power supplies AN4661 Figure 1. V connected to V power supply DDUSB Figure 2. V connected to external power supply. DDUSB In the STM32F7x3xx devices, the USB PHY HS sub-system uses an additional power supply pin: • The V pin is the output of the PHY HS regulator (1.2 V). An external DD12OTGHS capacitor of 2.2 µF must be connected on the V pin.
AN4661 Power supplies 1.1.3 Independent SDMMC2 supply for STM32F767xx/STM32F777xx and STM32F72xxx/STM32F73xxx devices The V is an independent power supply for SDMMC2 peripheral IOs (PD6, PD7, DDSDMMC PG9..12). It can be connected either to V or an external independent power supply. For example, when the device is powered at 1.8V, an independent power supply 3.3V can be connected to V .
Power supplies AN4661 1.1.4 Independent DSI supply for STM32F769xx/STM32F779xx devices The DSI (Display Serial Interface) sub-system uses several power supply pins which are independent from the other supply pins: • The V is an independent DSI power supply dedicated for DSI Regulator and MIPI DDDSI DPHY.
AN4661 Power supplies Power supply scheme • = 1.7 to 3.6 V: external power supply for I/Os and the internal regulator (when enabled), provided externally through V pins. The V pins must be connected to with external decoupling capacitors: one single tantalum or ceramic capacitor (min.
Power supplies AN4661 Figure 4. Power supply overview (STM32F74xxx/STM32F75xxx) 1. Optional. If a separate, external reference voltage is connected on V , the two capacitors (100 nF and 1 REF+ μF) must be connected. 2. V is either connected to V or to V (depending on package).
AN4661 Power supplies Figure 5. STM32F769xx/STM32F779xx power supply scheme 1. The two 2.2 µF ceramic capacitors should be replaced by two 100 nF decoupling capacitors when the voltage regulator is OFF. 2. The 4.7 µF ceramic capacitor must be connected to one of the V pin.
Page 14
Power supplies AN4661 Figure 6. STM32F767xx/STM32F777xx power supply scheme 1. The two 2.2 µF ceramic capacitors should be replaced by two 100 nF decoupling capacitors when the voltage regulator is OFF. 2. The 4.7 µF ceramic capacitor must be connected to one of the V pin.
Page 15
AN4661 Power supplies Figure 7. STM32F7x2xx power supply scheme 1. The two 2.2 µF ceramic capacitors should be replaced by two 100 nF decoupling capacitors when the voltage regulator is OFF. 2. The 4.7 µF ceramic capacitor must be connected to one of the V pin.
Page 16
Power supplies AN4661 Figure 8. STM32F7x3xx power supply scheme 1. The V allows supplying the PHY FS in PA11/PA12 and the PHY HS on PB14/PB15. DDUSB 16/54 DocID027559 Rev 5...
AN4661 Power supplies 2. The two 2.2 µF ceramic capacitors should be replaced by two 100 nF decoupling capacitors when the voltage regulator is OFF. 3. The 4.7 µF ceramic capacitor must be connected to one of the V pin. 4.
Power supplies AN4661 A PVDO flag is available, in the PWR power control/status register (PWR_CSR1), to indicate if V is higher or lower than the PVD threshold. This event is internally connected to the EXTI line16 and can generate an interrupt if enabled through the EXTI registers. The PVD output interrupt can be generated when V drops below the PVD threshold and/or when V...
AN4661 Power supplies Figure 11. Reset circuit 1.3.4 Internal reset ON On the packages embedding the PDR_ON pin, the power supply supervisor is enabled by holding PDR_ON high. On the other packages, the power supply supervisor is always enabled. For more details about the internal reset ON, refer to the datasheets (DS10915, DS10916). 1.3.5 Internal reset OFF This feature is available only on the packages featuring the PDR_ON pin.
Power supplies AN4661 The supply ranges which never go below 1.8V minimum should be better managed by the internal circuitry (no additional component needed, thanks to the fully embedded reset controller). When the internal reset is OFF, the following integrated features are no more supported: •...
AN4661 Power supplies 1.3.6 Regulator OFF mode Refer to Voltage regulator section in the datasheet for details. • When BYPASS_REG = V , the core power supply should be provided through V CAP1 and V pins connected together. CAP2 – The two V ceramic capacitors should be replaced by two 100 nF decoupling capacitors.
Power supplies AN4661 The following conditions must be respected: • should always be higher than V to avoid a current injection between power domains. • If the time for V to reach V12 minimum value is smaller than the time for V reach 1.7 V, then PA0 should be kept low to cover both conditions: until V reaches V12 minimum value and until V...
Alternate function mapping to pins Alternate function mapping to pins In order to easily explore the peripheral alternate functions mapping to the pins it is recommended to use the STM32CubeMX tool available on www.st.com. Figure 15. STM32CubeMX example screen-shot DocID027559 Rev 5...
Clocks AN4661 Clocks Three different clock sources can be used to drive the system clock (SYSCLK): • HSI oscillator clock. • HSE oscillator clock. • Main PLL (PLL) clock. The devices have the two following secondary clock sources: • 32 kHz low-speed internal RC (LSI RC) which drives the independent watchdog and, optionally, the RTC used for Auto-wakeup from the Stop/Standby mode.
AN4661 Clocks 3.1.2 External crystal/ceramic resonator (HSE crystal) The external oscillator frequency ranges from 4 to 26 MHz. The external oscillator has the advantage of producing a very accurate rate on the main clock. The associated hardware configuration is shown in Figure 17.
Clocks AN4661 The LSE oscillator includes new modes and has a configurable drive using the LSEDRV [1:0] in RCC_BDCR register: • 00: Low drive. • 10: Medium low drive. • 01: Medium high drive. • 11: High drive. The LSERDY flag in the RCC backup domain control register (RCC_BDCR) indicates if the LSE crystal is stable or not.
Boot configuration Boot configuration Boot mode selection In the STM32F7 Series, two different boot spaces can be selected through the BOOT pin and the boot base address programmed in the BOOT_ADD0 or BOOT_ADD1 option bytes as shown in the Table Table 2.
1. Resistor values are given only as a typical example. System bootloader mode The embedded bootloader code is located in the system memory. It is programmed by ST during production. It is used to reprogram the Flash memory using one of the following serial interfaces.
Figure 21. Host to board connection SWJ debug port (serial wire and JTAG) The core of the STM32F7 Series integrates the Serial Wire / JTAG Debug Port (SWJ-DP). It ® is an ARM standard CoreSight debug port that combines a JTAG-DP (5-pin) interface and a SW-DP (2-pin) interface.
5.3.1 SWJ debug port pins Five pins are used as outputs from the STM32F7 Series for the SWJ-DP as alternate functions of general-purpose I/Os. These pins are available on all packages. Table 4. SWJ debug port pins...
Debug management AN4661 5.3.4 SWJ debug port connection with standard JTAG connector Figure 22 shows the connection between the STM32F7 Series and a standard JTAG connector. Figure 22. JTAG connector implementation 32/54 DocID027559 Rev 5...
AN4661 Recommendations Recommendations Printed circuit board For technical reasons, it is best to use a multilayer printed circuit board (PCB) with a separate layer dedicated to the ground (V ) and another dedicated to the V supply. This provides a good decoupling and a good shielding effect. For many applications, economical reasons prohibit the use of this type of board.
Recommendations AN4661 Figure 23. Typical layout for V pair Other signals When designing an application, the EMC performance can be improved by closely studying: • Signals for which a temporary disturbance affects the running process permanently (the case of interrupts and handshaking strobe signals, and not the case for LED commands).
AN4661 Recommendations Recommendations for the WLCSP180 package in the STM32F769Ax/STM32F768Ax devices These recommendations are required for the WLCSP180 package in the STM32F769Ax/STM32F768Ax devices: The NC (not-connected) balls must not be connected to GND nor to VDD. The NC (not-connected) pins are not bounded. They must be configured by software to output push-pull and forced to 0 in the output data register to avoid an extra current consumption in low-power modes.
Reference design AN4661 Reference design Description The reference design shown in Figure 24, is based on the STM32F756NGH6, a highly ® integrated microcontroller running at 216 MHz, that combines the Cortex -M7 32-bit RISC CPU core with 1 Mbyte of embedded Flash memory and system SRAM up to 320 Kbytes (including Data TCM RAM 64 Kbytes), 16 Kbytes of instruction RAM (ITCM-RAM) and 4 Kbytes of backup SRAM.
Page 40
Reference design AN4661 Table 8. Reference connection for all packages (continued) Pin Name PA0-WKUP PC13 40/54 DocID027559 Rev 5...
Page 41
AN4661 Reference design 1. PC13, PC14, PC15 and PI8 are supplied through the power switch. Since the switch only sinks a limited amount of current (3 mA), the use of GPIOs PC13 to PC15 and PI8 in output mode is limited: - The speed should not exceed 2 MHz with a maximum load of 30 pF.
Recommended PCB routing guidelines for STM32F7 Series devices AN4661 Recommended PCB routing guidelines for STM32F7 Series devices PCB stack-up In order to reduce the reflections on high speed signals, it is necessary to match the impedance between the source, sink and transmission lines. The impedance of a signal trace depends on its geometry and its position with respect to any reference planes.
(AN2867), for further guidance on how to layout and route crystal oscillator circuits. Power supply decoupling An adequate power decoupling for STM32F7 Series is necessary to prevent an excessive power noise and ground bounce noise. Please refer to Section 1.2: Power supply scheme.
Recommended PCB routing guidelines for STM32F7 Series devices AN4661 Figure 27. Example of bypass cap placed underneath the STM32F7 Series • Place the bypass capacitors as close as possible to the power and ground pins of the MCU. • Add the recommended bypass capacitors for as many V /GND pairs as possible.
+ N*C where Host is Host Card STM32F7 Series, bus is all the signals and Card is SD card. 8.4.2 Flexible memory controller (FMC) interface Interface connectivity The FMC controller and in particular SDRAM memory controller which has many signals, most of them have a similar functionality and work together.
Recommended PCB routing guidelines for STM32F7 Series devices AN4661 Interface signal layout guidelines: • Reference the plane using GND or PWR (if PWR, add 10nf stitching cap between PWR and GND • Trace the impedance: 50Ω ± 10% • The maximum trace length should be below 120mm. If the signal trace exceeds this trace-length/speed criterion, then a termination should be used •...
AN4661 Recommended PCB routing guidelines for STM32F7 Series devices • Avoid using a serpentine routing for the clock signal and as less via(s) as possible for the whole path. a via alters the impedance and adds a reflection to the signal.
Recommended PCB routing guidelines for STM32F7 Series devices AN4661 Figure 28. BGA 0.8mm pitch example of fan-out Figure 29. Via fan-out Figure 30. FMC signal fan-out routing example 48/54 DocID027559 Rev 5...
AN4661 Conclusion Conclusion This application note should be used as a starting reference for a new design with the STM32F7 Series devices. DocID027559 Rev 5 51/54...
Added Figure 8: STM32F7x3xx power supply scheme. 03-Feb-2017 Updated Table 1: Regulator ON/OFF and internal reset ON/OFF availability adding the LQFP64 and WLCSP100 packages and notes. Updated Table 3: STM32F7 Series bootloader communication peripherals adding peripherals. DocID027559 Rev 5 53/54...
Page 54
ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Need help?
Do you have a question about the STM32F7 Series and is the answer not in the manual?
Questions and answers