Discovery kit for stm32f7 series with stm32f746ng mcu (49 pages)
Summary of Contents for ST STM32F4 Series
Page 1
Part numbers and Product lines STM32F401xB / STM32F401xC STM32F401xD / STM32F401xE STM32F405/415 line STM32F407/417 line STM32F410x8 / STM32F410xB STM32F411xC / STM32F411xE Microcontrollers STM32F412xE / STM32F412xG STM32F413/423 line STM32F427/437 line STM32F429/439 line STM32F446 line STM32F469/479 line October 2018 AN4488 Rev 7 1/50 www.st.com...
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 ®(a) This document applies to Arm -based devices.
AN4488 Power supplies Power supplies 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), backup registers and backup registers can be powered from the voltage when the main V supply is powered off.
Power supplies AN4488 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.
AN4488 Power supplies Power supply schemes The circuit is powered by a stabilized power supply, V Caution: The V voltage range is 1.8 V to 3.6 V (down to 1.7 V with some restrictions, see relative Datasheet for details). • The V pins must be connected to V with external decoupling capacitors: one...
Power supplies AN4488 Figure 2. (excluding STM32F469xx/F479xx) 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.
AN4488 Power supplies Figure 3. Power supply scheme for STM32F469xx/F479xx 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 either connected to V or to V (depending on package).
Power supplies AN4488 Analog Supply To improve conversion accuracy, the ADC has an independent power supply that can be filtered separately, and shielded from noise on the PCB. • The ADC voltage supply input is available on V pin. • An isolated supply ground connection is provided on the V pin.
AN4488 Reset and power supply supervisor Reset and power supply supervisor 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)
Reset and power supply supervisor AN4488 internal circuitry (no additional component needed, thanks to fully embedded reset controller). • When the internal reset is OFF, the following integrated features are no longer supported: – The integrated power-on reset (POR) / power-down reset (PDR) circuitry is disabled.
AN4488 Reset and power supply supervisor Figure 6. NRST circuitry timings example (not to scale, only for STM32F410xx, STM32F411xx, STM32F412xx, STM32F413xx, STM32F423xx, STM32F446xx, STM32F469xx and STM32F479xx) 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).
Reset and power supply supervisor AN4488 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: • PDR_ON = 0 is mostly intended for V supply between 1.7 V and 1.9V (i.e. 1.8V +/- 5% supply).
AN4488 Reset and power supply supervisor Figure 8. PDR_ON timings example (not to scale, (not needed for STM32F410xx, STM32F411xx, STM32F412xx, STM32F413xx, STM32F423xx, STM32F446xx, STM32F469xx and STM32F479xx) 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) •...
Reset and power supply supervisor AN4488 power on/power down reset threshold, refer to the electrical characteristics in the product datasheets. Figure 9. Power-on reset/power-down reset waveform 1. t is approximately 2.6 ms. V rising edge is 1.74 V (typ.) and V falling edge is RSTTEMPO POR/PDR...
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 4.2.1 I/O speed • When using the GPIO as I/O, design considerations have to be taken into account to ensure that the operation is as intended. • When the load capacitance becomes larger, the rise/fall time of the I/O pin increases. This capacitance includes the effects of the board traces.
Page 23
AN4488 Package (1)(2) Table 4. I/O AC characteristics (continued) OSPEEDR y[1:0] bit Symbol Parameter Conditions Unit value = 40 pF, V ≥ 2.7 V = 10 pF, V ≥ 2.7 V Maximum frequency = 40 pF, V ≥ 1.7 V max(IO)out = 10 pF, V ≥...
CH2N _RTS HS_DM SPI2_ RTC_ TIM1_ TIM8_ TIM12_C OTG_H EVENT PB15 MOSI/ REFIN CH3N CH3N S_DP ‘OUT I2S2_SD In order to easily explore Peripheral Alternate Functions mapping to pins, it is recommended to use the STM32CubeMX tool available on www.st.com.
AN4488 Package Figure 11. STM32CubeMX example screen-shot 4.3.1 Handling unused pins All microcontrollers are designed for a variety of applications and often a particular application does not use 100% of the MCU resources. To increase EMC performance, unused clocks, counters or I/Os, should not be left free, e.g. I/Os should be set to “0”...
Package AN4488 Table 6. Boot modes BOOT mode selection pins Boot mode Aliasing BOOT1 BOOT0 Main Flash memory Main Flash memory is selected as boot space System memory System memory is selected as boot space Embedded SRAM Embedded SRAM is selected as boot space The values on the BOOT pins are latched on the 4 rising edge of SYSCLK after a reset.
1. Resistor values are given only as a typical example. Embedded boot loader mode The embedded boot loader is located in the System memory and is programmed by ST during production. It is used to reprogram the Flash memory using one of the following serial interfaces.
AN4488 Debug management Debug management 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 13 shows the connection of the host to the evaluation board.
Debug management AN4488 Table 8. Debug port pin assignment JTAG debug port SW debug port SWJ-DP pin name assignmen Type Description Type Debug assignment JTAG test mode Serial wire data JTMS/SWDIO PA13 selection input/output JTCK/SWCLK JTAG test clock Serial wire clock PA14 JTDI JTAG test data input...
Typical value is in the range of 5 to 6 R (resonator series resistance). 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.
A 0 Ω resistor would work but would not be The value of R optimal. To fine tube R value, refer to AN2867 - Oscillator design guide for ST microcontrollers (Table and electrical characteristics sections in the datasheet of your product for more details.
Recommended PCB routing guidelines for STM32F4xxxx devices AN4488 Recommended PCB routing guidelines for STM32F4xxxx 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.
AN4488 Recommended PCB routing guidelines for STM32F4xxxx devices Figure 22. 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 STM32F4xxxx devices AN4488 Figure 23. Typical layout for V pair High speed signal layout 8.4.1 SDMMC bus interface Interface connectivity The SD/SDIO MMC card host interface (SDMMC) provides an interface between the APB2 peripheral bus and Multi Media Cards (MMCs), SD memory cards and SDIO cards. The SDMMC interface is a serial data bus interface, that consists of a clock (CK), command signal (CMD) and 8 data lines (D [0:7]).
AN4488 Recommended PCB routing guidelines for STM32F4xxxx devices 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. The controller I/O signals could be split in four groups as follow: •...
Recommended PCB routing guidelines for STM32F4xxxx devices AN4488 FLASH memories. The QUAD SPI interface is a serial data bus interface, that consists of a clock (SCLK), a chip select signal (nCS) and 4 data lines (IO[0:3]). Interface signal layout guidelines •...
Recommended PCB routing guidelines for STM32F4xxxx devices AN4488 Figure 25. Via fan-out Figure 26. FMC signal fan-out routing example 8.5.2 WLCSP143 0.4 mm pitch design example Table 10. Wafer level chip scale package information Package information (mm) Design parameters (mm) Microvia size : hole size ∅= 0.1, via land: 0.2 Bump pitch : 0.4 Bump size : 0.25...
Page 43
AN4488 Recommended PCB routing guidelines for STM32F4xxxx devices A better way to route this package and the fan-out signals is to use a through microvia technology. Microvia will route out internal bumps to a buried layers inside the PCB. To achieve this, the WLCSP package pads have to be connected to this internal layer through microvia.
In order to identify the STM32F4 refer to section “Part numbering” in your product datasheet. To get the MCU’s ID you can use ST-LINK Utility, once connected, the tool identify the target, and shows the ID, sub family, revision and flash size of the device as shown below.
Verify the GND coupling. • Monitor OSC_OUT with oscillator to verify if it is working properly. OSC_OUT • Refer to the AN2867: Oscillator design guide for ST microcontrollers. • Check if RESET pin is correctly driven. RESET pin • NRST connection includes a 100nF capacitor to ground.
AN4488 Conclusion Conclusion This application note should be used as a starting reference for a new design with STM32F4xxxx device. AN4488 Rev 7 47/50...
Page 50
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