The following documents are available on www.st.com. Table 2. Referenced documents Reference Title AN2867 Oscillator design guide for ST microcontrollers AN2606 STM32 microcontroller system memory boot mode AN3364 Migration and compatibility guidelines for STM32 microcontroller applications 6/44 DocID026304 Rev 3...
AN4488 Power supplies Power supplies Introduction The operating voltage supply (V ) range is 1.8 V to 3.6 V, which can be reduced down to 1.7 V with some restrictions, as detailed in the product datasheets. An embedded regulator is used to supply the internal 1.2 V digital power. The real-time clock (RTC) and backup registers can be powered from the V voltage when the main V...
Power supplies AN4488 2.1.3 Voltage regulator The voltage regulator is always enabled after reset. It works in three different modes depending on the application modes. • in Run mode, the regulator supplies full power to the 1.2 V domain (core, memories and digital peripherals) •...
AN4488 Power supplies Figure 1. Power supply scheme 1. Optional. If a separate, external reference voltage is connected on V , the two capacitors (100 nF and REF+ 1 µF) must be connected. 2. V is not available on all packages. In that case, a single 4.7 µF (ESR < 1Ω) is connected to V CAP2 CAP1 3.
Power supplies AN4488 Reset & power supply supervisor 2.3.1 Power on reset (POR) / power down reset (PDR) The device has an integrated POR/PDR circuitry that allows proper operation starting from 1.8 V. The device remains in the Reset mode as long as V is below a specified threshold, , without the need for an external reset circuit.
AN4488 Power supplies Figure 3. PVD thresholds 2.3.3 System reset A system reset sets all registers to their reset values except for the reset flags in the clock controller CSR register and the registers in the Backup domain (see Figure A system reset is generated when one of the following events occurs: A low level on the NRST pin (external reset) window watchdog end-of-count condition (WWDG reset)
NRST pin). Anyway (thanks to backward compatibility), circuitry built for other STM32F4xxxx products will work for STM32F411xx and STM32F446xx. Note: Please contact your local STMicroelectronics representative or visit www.st.com in case you want to use circuitry different from the one described hereafter. Restrictions: •...
AN4488 Power supplies Figure 6. PDR_ON timings example (not to scale, not needed for STM32F411xx and STM32F446xx) Selection of PDR_ON voltage supervisor Voltage supervisor should have the following characteristics • Reset output active-high push-pull (output driving high when voltage is below trip point) •...
Power supplies AN4488 2.3.5 NRST circuitry example (for STM32F411xx and STM32F446xx only) This example applies to STM32F411xx and STM32F446xx where PDR_ON can be connected to VSS to permanently disable internal reset circuitry. Restrictions: • PDR_ON = 0 is mostly intended for V supply between 1.7 V and 1.9V (i.e.
AN4488 Power supplies Figure 8. NRST circuitry timings example (not to scale, only for STM32F411xx and STM32F446xx) Selection of NRST voltage supervisor Voltage supervisor should have the following characteristics • Reset output active-low open-drain (output driving low when voltage is below trip point).
Power supplies AN4488 2.3.6 Regulator OFF mode Refer to section “Voltage regulator” in datasheet for details. • When BYPASS_REG = V , the core power supply should be provided through V CAP1 and V pins connected together. CAP1 – The two V ceramic capacitors should be replaced by two 100 nF decoupling capacitors.
AN4488 Power supplies The following conditions must be respected: • should always be higher than V to avoid 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...
Package AN4488 Package Package Selection Package should be selected by taking into account the constrains that are strongly dependent upon the application. The list below summarizes the more frequent ones: – Amount of interfaces required. Some interfaces might not be available on some packages. Some interfaces combinations could not be possible on some packages –...
Package AN4488 Pinout Compatibility Table 6 allows to select the right package depending on required signals. Note the two different pinouts for 64 and 100 pins which require specific connection in case board compatibility is required. See Table 10 and 11. Note that Chip Scale Package of different products even with same pinout might have different package dimensions which might be taken into account for PCB clearance.
AN4488 Package 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 17. STM32CubeMX example screen-shot DocID026304 Rev 3 25/44...
Clocks AN4488 Clocks Three different clock sources can be used to drive the system clock (SYSCLK): • HSI oscillator clock (high-speed internal clock signal) • HSE oscillator clock (high-speed external clock signal) • PLL clock The devices have two secondary clock sources: •...
(10 pF can be used as a rough estimate of the combined pin and board capacitance). Refer to the dedicated Application Note (AN2867 - Oscillator design guide for ST microcontrollers) and electrical characteristics sections in the datasheet of your product for more details.
The load capacitance values must be adjusted according to the selected oscillator. Refer to the dedicated Application Note (AN2867 - Oscillator design guide for ST microcontrollers) and electrical characteristics sections in the datasheet of your product for more details.
HSE oscillator. If the HSE oscillator clock (divided or not) is the clock entry of the PLL used as system clock when the failure occurs, the PLL is disabled too. For details, see the reference manuals available from the STMicroelectronics website www.st.com. DocID026304 Rev 3 29/44...
Boot configuration AN4488 Boot configuration Boot mode selection In the STM32F4xxxx, three different boot modes can be selected by means of the BOOT[1:0] pins as shown in Table Table 7. Boot modes BOOT mode selection pins Boot mode Aliasing BOOT1 BOOT0 Main Flash memory Main Flash memory is selected as boot space...
AN4488 Boot configuration Embedded boot loader mode The embedded boot loader is located in the System memory and is programmed by ST during production. For additional information, refer to AN2606 (Table 2 The USART peripheral operates with the internal 16 MHz oscillator (HSI). The CAN and USB OTG FS, however, can only function if an external clock (HSE) multiple of 1 MHz (between 4 and 26 MHz) is present.
Debug management AN4488 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 23 shows the connection of the host to the evaluation board.
For more details, see the reference manual (Table 1), available from the STMicroelectronics website www.st.com. 6.3.3 Internal pull-up and pull-down resistors on JTAG pins The JTAG input pins must not be floating since they are directly connected to flip-flops to control the debug mode features.
Debug management AN4488 To avoid any uncontrolled I/O levels, the STM32F4xxxx embeds internal pull-up and pull- down resistors on JTAG input pins: • JNTRST: Internal pull-up • JTDI: Internal pull-up • JTMS/SWDIO: Internal pull-up • TCK/SWCLK: Internal pull-down Once a JTAG I/O is released by the user software, the GPIO controller takes control again. The reset states of the GPIO control registers put the I/Os in the equivalent state: •...
AN4488 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 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.
Recommendations AN4488 Figure 25. 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).
AN4488 Reference design Reference design Description The reference design shown in Figure 26, is based on the STM32F407IG(H6), a highly ® integrated microcontroller running at 168 MHz, that combines the Cortex -M4 32-bit RISC CPU core with 1 Mbyte of embedded Flash memory and 192+4 Kbytes of SRAM including 64-Kbytes of CCM (core coupled memory) data RAM This reference design is intended to work with a V from 1.8V minimum (PDR_ON =...
AN4488 Reference design Figure 26. STM32F407IG(H6) microcontroller reference schematic 1. If no external battery is used in the application, it is recommended to connect V externally to V 2. To be able to reset the device from the tools this resistor has to be kept. DocID026304 Rev 3 39/44...
Reference design AN4488 Table 12. Reference connection for all packages Pin Numbers for packages with Pin Numbers for BGA Chip Scale Packages pins on 4 edges Packages Pin Name PA13 A12 E12 A15 A15 PA14 A14 A14 PA15 A13 A13 A10 A10 PC14-OSC32_IN B10 D11...
Page 41
AN4488 Reference design Table 12. Reference connection for all packages (continued) Pin Numbers for packages with Pin Numbers for BGA Chip Scale Packages pins on 4 edges Packages Pin Name H13 G11 G13 F11 VCAP1 M10 L11 (30) (48) VCAP2 D12 F13 (31) (49)
Page 42
Reference design AN4488 Table 12. Reference connection for all packages (continued) Pin Numbers for packages with Pin Numbers for BGA Chip Scale Packages pins on 4 edges Packages Pin Name H12 G10 (47) 1. Pins in parenthesis apply to STM32F401xx / F411xx 2.
AN4488 Revision history Revision history Table 13. Document revision history Date Revision Changes 20-Jun-2014 Initial release. Added STM32F411xC/xE in Table 1 Added footnote in Table 3 Updated Table 6 Table 12 28-Oct-2014 Updated Figure Figure 5 Figure 6 Updated Section 2.3.4 Added Section 2.3.5 for STM32F411xC/xE...
Page 44
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 STM32F4 Series and is the answer not in the manual?
Questions and answers