Page 1
Detailed reference design schematics are also contained in this document with descriptions of the main components, interfaces and modes. Table 1. Applicable products Type Part number STM32F05xxx family Microcontrollers STM32F06xxx family February 2013 Doc ID 023035 Rev 2 1/29 www.st.com...
Power supplies of the STM32F05xxx family AN4080 Power supplies of the STM32F05xxx family Power supply schemes There are a variety of power supply schemes: ● = 2.0 to 3.6 V: external power supply for I/Os and the internal regulator. Provided externally through V pins.
AN4080 Power supplies of the STM32F05xxx family 1.1.1 Independent analog converter supply To improve conversion accuracy and to extend the supply flexibility, the analog domain has an independent power supply which can be separately filtered and shielded from noise on the PCB.
Page 6
Power supplies of the STM32F05xxx family AN4080 It works in three different modes depending on the application modes: ● Run mode: the regulator supplies full power to the 1.8 V domain (core, memories and digital peripherals) ● Stop mode: the regulator supplies low power to the 1.8 V domain, preserving the contents of the registers and SRAM ●...
AN4080 Power supplies of the STM32F05xxx family Reset and power supply supervisor 1.2.1 Power-on reset (POR) / power-down reset (PDR) The device has an integrated power-on reset (POR) and power-down reset (PDR) circuits which are always active and ensure proper operation above a threshold of 2 V. The device remains in Reset mode when the monitored supply voltage is below a specified threshold, V , without the need for an external reset circuit.
Power supplies of the STM32F05xxx family AN4080 1.2.2 System reset A system reset sets all registers to their reset values, except the reset flags in the clock controller CSR register and the registers in the Backup domain. A system reset is generated when one of the following events occurs: A low level on the NRST pin (external reset).
Page 9
AN4080 Power supplies of the STM32F05xxx family Low-power management reset There are two ways to generate a low-power management reset: Entering Standby mode: This type of reset is enabled by resetting nRST_STDBY bit in User Option Bytes. In this case, whenever a Standby mode entry sequence is successfully executed, the device is reset instead of entering Standby mode.
Power supplies of the STM32F05xxx family AN4080 1.2.3 Programmable voltage detector (PVD) You can use the PVD to monitor the V power supply by comparing it to a threshold selected by the PLS[2:0] bits in the Power control register (PWR_CR). The PVD is enabled by setting the PVDE bit.
AN4080 Power supplies of the STM32F06xxx family Power supplies of the STM32F06xxx family Power supply schemes There are a variety of power supply schemes: ● = 1.8 V +/- 8%: external power supply for I/Os. Provided externally through V pins. ●...
Power supplies of the STM32F06xxx family AN4080 2.1.1 Independent analog converter supply To improve conversion accuracy and to extend the supply flexibility, the analog domain has an independent power supply which can be separately filtered and shielded from noise on the PCB.
AN4080 Power supplies of the STM32F06xxx family Reset and power supply supervisor 2.2.1 External power-on reset and power-down reset (NPOR) To guarantee a proper power-on and power-down reset to the device, the NPOR pin must be held low until V is stable or before turning off the supply.
Page 14
Power supplies of the STM32F06xxx family AN4080 Low-power management reset A low-power management reset can be generated by entering Stop mode. This type of reset is enabled by resetting nRST_STOP bit in User Option Bytes. In this case, whenever a Stop mode entry sequence is successfully executed, the device is reset instead of entering Stop mode.
AN4080 Clocks Clocks Three different clock sources can be used to drive the system clock (SYSCLK): ● HSI 8 MHz RC oscillator clock (high-speed internal clock signal) ● HSE oscillator clock (high-speed external clock signal) ● PLL clock The devices have other secondary clock sources: ●...
Clocks AN4080 External crystal/ceramic resonator (HSE crystal) The 4 to 32 MHz external oscillator has the advantage of producing a very accurate rate on the main clock. Refer to the electrical characteristics section of the datasheet for more details about the associated hardware configuration. The HSERDY flag in the Clock control register (RCC_CR) indicates if the HSE oscillator is stable or not.
Calibration RC oscillator frequencies can vary from one chip to another due to manufacturing process variations, This is why each device is factory calibrated by ST for 1% accuracy at T =25°C. Furthermore, it is possible to route the HSI clock to the MCO multiplexer. The clock can then be input to Timer 14 to allow the user to calibrate the oscillator.
0000), but is still accessible from its original memory space (0x2000 0000). Embedded boot loader The embedded boot loader is located in the System memory, programmed by ST during production. It is used to reprogram the Flash memory using one of the following serial interfaces: ●...
Figure 10 shows the connection of the host to the evaluation board (STM320518_EVAL). The STM320518_EVAL evaluation board embeds the debug tools (ST-LINK). Consequently, it can be directly connected to the PC through a USB cable. Figure 10. Host-to-board connection...
Debug management AN4080 5.3.2 SWD pin assignment After reset (SYSRESETn or PORESETn), the pins used for the SWD are assigned as dedicated pins which are immediately usable by the debugger host. However, the MCU offers the possibility to disable the SWD, therefore releasing the associated pins for general-purpose I/O (GPIO) usage.
AN4080 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 AN4080 Figure 12. Typical layout for V pair Via to V Via to V Cap. STM32F0xxx 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 (such as interrupts and handshaking strobe signals, but not LED commands).
AN4080 Reference design Reference design Description The reference design shown in Figure 13, introduces the STM32F051, a highly integrated ™ microcontroller running at 48 MHz, that combines the Cortex -M0 32-bit RISC CPU core with 64 Kbytes of embedded Flash memory and 8 Kbytes of SRAM For the STM32F061 reference designs, refer to Figure 14.
Reference design AN4080 7.1.7 Pinouts and pin description Please refer to the STM32F0 datasheets available on www.st.com for the pinout information and pin description of each device. Component references Table 4. Mandatory components Component Reference Value Quantity Comments STM32F051R8 or...
All peripherals shares the same pins in the two families, but there are some minor differences between packages. The transition from the STM32F1 series to the STM32F0 series is simple as only a few pins are impacted (impacted pins are in bold in Table Table 6.
Document revision history Date Revision Changes 11-Jul-2012 Initial release. Added Chapter 2: Power supplies of the STM32F06xxx family. Modified Chapter 7: Reference design. 11-Feb-2013 Modified Table 6: STM32F1 series and STM32F0 series pinout differences. 28/29 Doc ID 023035 Rev 2...
Page 29
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.
Need help?
Do you have a question about the STM32F0 Series and is the answer not in the manual?
Questions and answers