Skip to main content
RTrip.1
Associate
March 7, 2020
Solved

How to use STM32 microchip as a standalone project like mega2560 or atmega328 microchip?

  • March 7, 2020
  • 2 replies
  • 2037 views

..

    This topic has been closed for replies.
    Best answer by berendi

    There are Getting started with ... series hardware development application notes for each MCU series.

    A minimal design should have

    • Power and ground to ALL Vdd*/Vss* pins.
    • Decoupling capacitors on all supply pins.
    • Pulldown on the BOOT0 pin if there is one.
    • Maybe a few additional passive components on higher end MCUs.
    • A way to upload the firmware: via ST-Link (connect SWDIO, SWCLK, Vdd, GND), or via the internal bootloader (see AN2606).

    Analog applications using ADC/DAC/COMP etc should have a separate Vdda/Vssa supply, otherwise they can be connected to Vdd/Vss.

    2 replies

    Piranha
    Principal III
    March 7, 2020

    Design the board, by the parts, solder the parts - how does STM32 differ from any other chip?

    berendi
    berendiBest answer
    Principal
    March 7, 2020

    There are Getting started with ... series hardware development application notes for each MCU series.

    A minimal design should have

    • Power and ground to ALL Vdd*/Vss* pins.
    • Decoupling capacitors on all supply pins.
    • Pulldown on the BOOT0 pin if there is one.
    • Maybe a few additional passive components on higher end MCUs.
    • A way to upload the firmware: via ST-Link (connect SWDIO, SWCLK, Vdd, GND), or via the internal bootloader (see AN2606).

    Analog applications using ADC/DAC/COMP etc should have a separate Vdda/Vssa supply, otherwise they can be connected to Vdd/Vss.

    RTrip.1
    RTrip.1Author
    Associate
    March 7, 2020

    Does the factory shipped chip (STM32 series) contain a hardcoded bootloader that allows them to be programmed via USART1 ?

    berendi
    Principal
    March 7, 2020

    Check AN2606 STM32 microcontroller system memory boot mode for your part number. Some of them do, some might not, some have it on another UART port. Watch out for the activation pattern.