Editor Version ×
Standard

1.Easy to use and quick to get started

2.The process supports design scales of 300 devices or 1000 pads

3.Supports simple circuit simulation

4.For students, teachers, creators

Profession

1.Brand new interactions and interfaces

2.Smooth support for design sizes of over 5,000 devices or 10,000 pads

3.More rigorous design constraints, more standardized processes

4.For enterprises, more professional users

Ongoing

STD STM32G030 F6P6 Development Board U2S

License: CC BY-SA 3.0

Mode: Editors' pick

  • 1.9k
  • 0
  • 1
Update time: 2024-01-20 09:54:53
Creation time: 2023-10-11 15:25:30
Description
# STM32G030 F6P6 Development Board Development board for the STM32G030F6P6 cost-effective 32-bit ARM Cortex M0+ microcontroller with integrated USB-to-serial adapter which can also be used to upload firmware utilizing the factory built-in serial bootloader. - Project Files (Github): https://github.com/wagiminator/Development-Boards/tree/main/STM32G030F6P6_DevBoard ![STM32G030F6P6_DevBoard_pic1.jpg](https://raw.githubusercontent.com/wagiminator/Development-Boards/main/STM32G030F6P6_DevBoard/documentation/STM32G030F6P6_DevBoard_pic1.jpg) # Pinout ![STM32G030F6P6_DevBoard_pinout.png](https://raw.githubusercontent.com/wagiminator/Development-Boards/main/STM32G030F6P6_DevBoard/documentation/STM32G030F6P6_DevBoard_pinout.png) # The STM32G030 Family of 32-bit ARM Microcontrollers ## Overview The STM32G030 mainstream microcontrollers are based on high-performance Arm® Cortex®-M0+ 32-bit RISC core operating at up to 64 MHz frequency. The devices incorporate a memory protection unit (MPU), high-speed embedded memories (8 Kbytes of SRAM and up to 64 Kbytes of Flash program memory with read protection, write protection), DMA, an extensive range of system functions, enhanced I/Os, and peripherals. The devices offer standard communication interfaces (two I2Cs, two SPIs / one I2S, and two USARTs), one 12-bit ADC (2.5 MSps) with up to 19 channels, a low-power RTC, an advanced control PWM timer, four general-purpose 16-bit timers, two watchdog timers, and a SysTick timer. The devices operate with supply voltages from 2.0 V to 3.6 V. Optimized dynamic consumption combined with a comprehensive set of power-saving modes allows the design of low-power applications. The devices come in packages with 8 to 48 pins. ## Features of STM32G030F6P6 - 32-bit ARM® Cortex®-M0+ CPU - Maximum 64MHz system main frequency - 8KB SRAM with hardware parity check - 32KB Flash with memory protection - Operating voltage: 2.0V - 3.6V - Internal 16MHz (±1%) RC oscillator (HSI) with PLL option - Internal 32kHz (±5%) RC oscillator (LSI) - External 4-48MHz crystal oscillator (HSE) - Multiple low-power modes: Sleep, Stop, Standby - Power on/down reset - 18 I/Os, all available as external interrupts, all 5V-tolerant - 1x 5-channel DMA controller with flexible mapping - 1x 12-bit ADC, up to 16 channels, 16-bit oversampling, 0V - 3.6V - 1× 16-bit advanced motor control timer - 4× 16-bit general-purpose timer - 2x watchdog timer - 1x SysTick timer - 1x real-time clock (RTC) with calendar, alarm and periodic wakeup - 2x USART interface, one with LIN, IrDA, auto baud and wakeup feature - 2x I²C interface supporting Fast-mode Plus (1Mbit/s), wakeup feature - 2x SPI interface, 32Mbit/s, one multiplexed with I²S interface - Hardware CRC-32 calculation unit - Serial wire debug interface (SWD) - Factory built-in embedded UART bootloader ## Unofficial Additional Features The STM32G030 obviously has the same core as its larger sibling, [STM32G031](https://dannyelectronics.wordpress.com/2023/08/23/is-stm32g030-really-a-stm32g031/) and partly [STM32G041](https://dannyelectronics.wordpress.com/2023/08/23/are-stm32g030-031-really-the-same-as-stm32g041/). Therefore, the following additional peripherals and capabilities are also available: - 1x 32-bit general-purpose timer - 2x 16-bit low-power timer - 1x low-power UART interface - True random number generator (RNG) - Programmable brownout reset (BOD) - Programmable voltage detector (PVD) While it cannot be guaranteed that this applies to all STM32G030 devices, at least in the case of mine, these features work very well. # Compiling, Programming and Debugging ## GCC Toolchain For compiling install the [ARM GNU toolchain](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads). On Linux (Debian-based), this can be done with the following command: ``` sudo apt install build-essential gcc-arm-none-eabi ``` ## Factory built-in UART Bootlader The MCU has an embedded bootloader with UART interface, which can be used to upload firmware using the CH340E USB-to-serial adapter integrated into the board. The Python tool [stm32isp.py](https://github.com/wagiminator/MCU-Flash-Tools) included with the example software can be used for this purpose. In order for this tool to work, Python3 must be installed on your system. To do this, follow these [instructions](https://www.pythontutorial.net/getting-started/install-python/). In addition [PySerial](https://github.com/pyserial/pyserial) must be installed. On Linux (Debian-based), all of this can be done with the following commands: ``` sudo apt install python3 python3-pip python3 -m pip install pyserial ``` To upload firmware via the USB port, the MCU must first be put into boot mode using ONE of the following methods: - Disconnect your board from all power supplies, press and hold the BOOT button, then connect the board to your USB port. The BOOT button can be released now. - Connect your board to your USB port. Press and hold the BOOT button, then press and release the RESET button and then release the BOOT button. On STM32G030 microcontrollers, the BOOT0 pin is initially disabled. When the chip is brand new or the main flash memory is erased, this isn't an issue as the embedded bootloader automatically kicks in. By using the stm32isp.py tool, the BOOT0 pin will then be activated for subsequent use. However, if the chip has been previously programmed using a different software tool, the bootloader might not be accessible through the BOOT0 pin (or BOOT button) anymore. In such cases, the nBOOT_SEL bit in the User Option Bytes must be cleared (set to 0) using an SWD programmer like ST-Link and the appropriate software. ## Serial Wire Debug Interface (SWD) The MCU can also be programmed via the SWD interface with corresponding hardware (ST-Link, DAPLink) and software (STM32CubeProg, OpenOCD, PyOCD, J-Link). ## Arduino and PlatformIO Support You can use [STM32duino](https://github.com/stm32duino) as an Arduino IDE core for several STM32 microcontrollers. There is also support for [PlatformIO](https://stm32-base.org/guides/platformio.html). # References, Links and Notes - [EasyEDA Design Files](https://oshwlab.com/wagiminator) - [STM Product Page](https://www.st.com/en/microcontrollers-microprocessors/stm32g030f6.html) - [MCU Templates](https://github.com/wagiminator/MCU-Templates) - [MCU Flash Tools](https://github.com/wagiminator/MCU-Flash-Tools) - [Arduino Support](https://github.com/stm32duino) - [PlatformIO Support](https://stm32-base.org/guides/platformio.html) - [ST-Link Software](https://www.st.com/en/development-tools/st-link-v2.html#tools-software) ![STM32G030F6P6_DevBoard_pic2.jpg](https://raw.githubusercontent.com/wagiminator/Development-Boards/main/STM32G030F6P6_DevBoard/documentation/STM32G030F6P6_DevBoard_pic2.jpg) ![STM32G030F6P6_DevBoard_pic3.jpg](https://raw.githubusercontent.com/wagiminator/Development-Boards/main/STM32G030F6P6_DevBoard/documentation/STM32G030F6P6_DevBoard_pic3.jpg) # License ![license.png](https://i.creativecommons.org/l/by-sa/3.0/88x31.png) This work is licensed under Creative Commons Attribution-ShareAlike 3.0 Unported License. (http://creativecommons.org/licenses/by-sa/3.0/)
Design Drawing
schematic diagram
1 /
PCB
1 /
The preview image was not generated, please save it again in the editor.
ID Name Designator Footprint Quantity BOM_Supplier BOM_Supplier Part
1 100n C1,C5 C_0603 2 LCSC C14663
2 10u C2 C_0603 1 LCSC C19702
3 1u C3,C4 C_0603 2 LCSC C15849
4 HDR-M-2.54_1x10 H1,H2 210S-10X1/2.54 2 LCSC C57369
5 PROG H3 210S-4X1/2.54 1 LCSC C124378
6 PWR LED1 LED0603 1 LCSC C72043
7 PB3 LED2 LED0603 1 LCSC C2286
8 1k R1,R2,R5 0603 3 LCSC C21190
9 10k R3,R4 0603 2 LCSC C25804
10 RST SW1 SW-SMD_L4.0-W2.9-LS5.0 1 LCSC C967786
11 BOOT0 SW2 SW-SMD_L4.0-W2.9-LS5.0 1 LCSC C967786
12 STM32G030F6P6 U1 TSSOP-20 1 LCSC C529330
13 AP2112K-3.3TRG1 U2 SOT-25-5 1 LCSC C51118
14 CH340E U3 MSOP-10 1 LCSC C99652
15 Micro Input USB1 MINI-USB-SMD_U254-051T-4BH23-S2B 1 LCSC C319164

Unfold

Project Attachments
Empty
Project Members
Target complaint
Related Projects
Change a batch
Loading...
Add to album ×

Loading...

reminder ×

Do you need to add this project to the album?

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn