Description

The STM32G030x6/x8 mainstream microcontrollers are based on high-performance Arm Cortex-M0+ 32-bit RISC core operating at up to 64 MHz frequency. Offering a high level of integration, they are suitable for a wide range of applications in consumer, industrial and appliance domains and ready for the Internet of Things (IoT) solutions.

Les appareils intègrent une unité de protection de la mémoire (MPU), des mémoires intégrées à grande vitesse (8 Koctets de SRAM et jusqu'à 64 Koctets de mémoire de programme Flash avec protection en lecture et en écriture), un DMA, une gamme étendue de fonctions système, des E/S améliorées et des périphériques. Les dispositifs offrent des interfaces de communication standard (deux I²C, deux SPI / un I²S, et deux USART), un ADC 12 bits (2,5 MSps) avec jusqu'à 19 canaux, un RTC basse consommation, un timer PWM de contrôle avancé, quatre timers 16 bits à usage général, deux timers chien de garde, et un timer SysTick.

The devices operate within ambient temperatures from -40 to 85°C and 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.

VBAT direct battery input allows keeping RTC and backup registers powered.

Les dispositifs sont proposés dans des boîtiers de 8 à 48 broches.

 

Caractéristiques

Core: Arm 32-bit Cortex-M0+ CPU, frequency up to 64 MHz

-40°C to 85°C operating temperature

Mémoires

– Up to 64 Kbytes of Flash memory with protection

- 8 Kbytes de SRAM avec contrôle de parité HW

CRC calculation unit

Reset and power management

- Plage de tension : 2,0 V à 3,6 V

- Réinitialisation à la mise sous tension/à la mise hors tension (POR/PDR)

– Low-power modes: Sleep, Stop, Standby

- Alimentation VBAT pour RTC et registres de sauvegarde

Clock management

- Oscillateur à cristal de 4 à 48 MHz

- Oscillateur à cristal de 32 kHz avec étalonnage

- RC interne 16 MHz avec option PLL

- Oscillateur RC interne de 32 kHz (±5 %)

Up to 44 fast I/Os

- Tous mappables sur des vecteurs d'interruption externes

- Plusieurs E/S tolérantes à 5 V

channel DMA controller with flexible mapping

12-bit, 0.4 μs ADC (up to 16 ext. channels)

- Jusqu'à 16 bits avec suréchantillonnage matériel

- Plage de conversion : 0 à 3,6V

8 timers: 16-bit for advanced motor control, four 16-bit general-purpose, two watchdogs, SysTick timer

Calendar RTC with alarm and periodic wakeup from Stop/Standby

Communication interfaces

– Two I²C-bus interfaces supporting Fastmode Plus (1 Mbit/s) with extra current sink, one supporting SMBus/PMBus and wakeup from Stop mode

– Two USARTs with master/slave

synchronous SPI; one supporting ISO7816 interface, LIN, IrDA capability, auto baud rate detection and wakeup feature

– Two SPIs (32 Mbit/s) with 4- to 16-bit programmable bitframe, one multiplexed with I²S interface

Development support: serial wire debug (SWD)

All packages ECOPACK 2 compliant

 

Functional overview

Unité de protection de la mémoire

L'unité de protection de la mémoire (MPU) est utilisée pour gérer les accès du CPU à la mémoire afin d'éviter qu'une tâche ne corrompe accidentellement la mémoire ou les ressources utilisées par une autre tâche active.

The MPU is especially helpful for applications where some critical or certified code has to be protected against the misbehavior of other tasks. It is usually managed by an RTOS (realtime operating system). If a program accesses a memory location that is prohibited by the MPU, the RTOS can detect it and take action. In an RTOS environment, the kernel can dynamically update the MPU area setting, based on the process to be executed. The MPU is optional and can be bypassed for applications that do not need it.

Mémoire flash intégrée

Les STM32G030x6/x8 disposent d'une mémoire Flash embarquée pouvant atteindre 64 Ko pour le stockage du code et des données.

Des protections flexibles peuvent être configurées grâce aux octets d'option :

Readout protection (RDP) to protect the whole memory. Three levels are available:

Level 0: no readout protection

Level 1: memory readout protection: the Flash memory cannot be read from or written to if either debug features are connected, boot in RAM or bootloader is selected

Level 2: chip readout protection: debug features (Cortex-M0+ serial wire), boot in RAM and bootloader selection are disabled.