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 1.1.3 Battery backup domain Backup domain description To retain the content of the RTC backup registers, backup SRAM, and supply the RTC when is turned off, V pin can be connected to an optional standby voltage supplied by a battery or by another source.
AN4661 Power supplies When the backup domain is supplied by V (analog switch connected to V because is not present), the following functions are available: • PC14 and PC15 can be used as LSE pins only. • PC13 can be used as tamper pin (TAMP1). •...
Power supplies AN4661 connected on this pin. In all cases, V must be kept between (V -1.2 V) and REF+ with minimum of 1.7 V. • Additional precautions can be taken to filter analog noise: – can be connected to V through a ferrite bead.
AN4661 Power supplies μF) must be connected. 2. V is either connected to V or to V (depending on package). REF+ REF+ 3. V is either connected to V or to V (depending on package). REF- REF- 4. 19 is the number of V and V inputs.
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 6. Reset circuit 1.3.4 Internal reset ON On 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 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 logic power domain (V PA0 pin should be used for this purpose, and act as power-on reset on V12 power domain. • In regulator OFF mode, the following features are no more supported: – PA0 cannot be used as a GPIO pin since it allows to reset a part of the V12 logic power domain which is not reset by the NRST pin.
Power supplies AN4661 1.3.7 Regulator ON/OFF and internal reset ON/OFF availability Table 2. Regulator ON/OFF and internal reset ON/OFF availability Internal reset Package Regulator ON Regulator OFF Internal reset ON LQFP100 LQFP144, LQFP208 LQFP176, PDR_ON set to PDR_ON set to WLCSP143, BYPASS_REG set BYPASS_REG set...
Alternate function mapping to pins Alternate function mapping to pins In order to easily explore peripheral alternate functions mapping to pins it is recommended to use the STM32CubeMX tool available on www.st.com. Figure 10. STM32CubeMX example screen-shot DocID027559 Rev 2...
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 12.
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 address defined by user option byte BOOT_ADD0[15:0] BOOT_ADD0 [15:0] - ST programmed value: Flash on ITCM at 0x0020 0000 – Boot address defined by user option byte BOOT_ADD1[15:0] BOOT_ADD1 [15:0] - ST programmed value: System bootloader at 0x0010 0000...
1. Resistor values are given only as a typical example. System bootloader mode The embedded bootloader code is located in system memory. It is programmed by ST during production. It is used to reprogram the Flash memory using one of the following serial interfaces.
AN4661 Debug management Debug management Introduction The host/target interface is the hardware equipment that connects the host to the application board. This interface is made of three components: a hardware debug tool, a JTAG or SW connector and a cable connecting the host to the debug tool. Figure 16 shows the connection of the host to the evaluation board.
Debug management AN4661 5.3.1 SWJ debug port pins Five pins are used as outputs from the STM32F74xxx/STM32F75xxx for the SWJ-DP as alternate functions of general-purpose I/Os. These pins are available on all packages. Table 5. SWJ debug port pins JTAG debug port SW debug port SWJ-DP pin name assignment...
AN4661 Debug management 5.3.3 Internal pull-up and pull-down on JTAG pins It is necessary to ensure that the JTAG input pins are not floating since they are directly connected to flip-flops to control the debug mode features. A special care must be taken with the SWCLK/TCK pin which is directly connected to the clock of some of these flip-flops.
Recommendations AN4661 Recommendations Printed circuit board For technical reasons, it is best to use a multilayer printed circuit board (PCB) with a separate layer dedicated to ground (V ) and another dedicated to the V supply. This provides good decoupling and a good shielding effect. For many applications, economical reasons prohibit the use of this type of board.
AN4661 Recommendations Figure 18. 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).
Reference design AN4661 Reference design Description The reference design shown in Figure 19, 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 32
Reference design AN4661 Table 9. Reference connection for all packages (continued) Pin Name PA0-WKUP PC13 32/45 DocID027559 Rev 2...
Page 33
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 STM32F745xx/STM32F756xx devices AN4661 Recommended PCB routing guidelines for STM32F745xx/STM32F756xx 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.
AN4661 Recommended PCB routing guidelines for STM32F745xx/STM32F756xx devices Figure 21. Six layer PCB stack-up example Crystal oscillator Use the application note: Oscillator design guide for STM8S, STM8A and STM32 microcontrollers (AN2867), for further guidance on how to layout and route crystal oscillator circuits.
Recommended PCB routing guidelines for STM32F745xx/STM32F756xx devices AN4661 Figure 22. Example of bypass cap placed underneath the STM32F74xxx/STM32F75xxx • 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.
AN4661 Recommended PCB routing guidelines for STM32F745xx/STM32F756xx devices Interface signal layout guidelines: • Reference the plane using GND or PWR (if PWR, add 10nf switching cap between PWR and GND) • Trace the impedance: 50Ω ± 10% • The skew being introduced into the clock system by unequal trace lengths and loads, minimize the board skew, keep the trace lengths equal between the data and clock.
Recommended PCB routing guidelines for STM32F745xx/STM32F756xx 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 STM32F745xx/STM32F756xx devices Avoid using a serpentine routing for the clock signal and as less via(s) as possible for the whole path. a via alter the impedance and add a reflection to the signal. 8.4.4 Embedded trace macrocell (ETM) Interface connectivity The ETM enables the reconstruction of the program execution.
Recommended PCB routing guidelines for STM32F745xx/STM32F756xx devices AN4661 Figure 26. 143-bumps WLCSP, 0.40 mm pitch routing example 42/45 DocID027559 Rev 2...
Page 43
AN4661 Conclusion Conclusion This application note should be used as a starting reference for a new design with STM32F74xxx and STM32F75xxx devices. DocID027559 Rev 2 43/45...
Revision history AN4661 Revision history Table 12. Document revision history Date Revision Changes 24-Mar-2015 Initial release. Added Section 8: Recommended PCB routing guidelines for STM32F745xx/STM32F756xx devices. Updated title and the whole document changing STM32F746xx/STM32F756xx by STM32F74xxx/STM32F75xxx. Updated Table 1: Applicable products adding STM32F745xx RPNs.
Page 45
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 STM32F74 Series and is the answer not in the manual?
Questions and answers