Description
Stm32g031x4 / X6 / X8 mainstream microcontrollers are based on high-performance arm ® Cortex ®- M0 + 32-bit RISC core, working frequency up to 64mhz. They provide a high level of integration for a wide range of applications in consumer, industrial and household appliances, and are ready to use Internet of things (IOT) solutions.
The device includes a memory protection unit (MPU), high-speed embedded memory (up to 64KB flash memory and 8KB SRAM), DMA and a wide range of system functions, enhanced I / O and peripherals. The device provides standard communication interfaces (two I2C, two IPI / one I2S and two USART), a 12 bit ADC (2.5msps), up to 19 channels, an internal voltage reference buffer, a low-power RTC, an advanced control PWM timer with twice the CPU frequency, four general-purpose 16 bit timers, a 32-bit general-purpose timer, two low-power 16 bit timers, two Watchdog Timers and a systick timer.
The equipment operates at an ambient temperature of - 40 to 125 ° C. They can operate at a supply voltage of 1.7V to 3.6V. The optimized dynamic consumption combines a set of comprehensive power-saving modes, low-power timer and low-power UART, allowing the design of low-power applications. The Vbat direct battery input allows the RTC and backup registers to remain powered. These devices have 8 to 48 pins in the package.
features
• core: arm ® 32-bit cortex ®- M0 + CPU, frequency up to 64 MHz
• - 40 ° C to 85 ° C / 125 ° c operating temperature
• memory – up to 64 kb flash memory – 8 KB SRAM with hardware parity
• CRC computing unit
• reset and power management
– voltage range: 1.7 V to 3.6 V
– power on / power off reset (POR / PDR)
– programmable power off reset (BOR)
– programmable voltage detector (PVD)
– low power mode: sleep, stop, standby, shutdown – Vbat power supply for RTC and backup registers
• clock management
– 4 to 48 MHz crystal oscillator
– 32 kHz crystal oscillator with calibration
– internal 16 MHz RC with PLL option (± 1%)
– internal 32 kHz RC oscillator (± 5%)
• up to 44 fast I / OS – all mappable external interrupt vectors – multiple 5V Tolerant I / OS
• 5-channel DMA controller with flexible mapping
• 12 bit 0.4 µ s ADC (up to 16 external channels)
– up to 16 bits with hardware oversampling
– conversion range: 0 to 3.6V
• 11 timers (one supporting 128 MHz): 16 bits for advanced motor control, one 32-bit and four 16 bit universal, two low-power 16 bits, two watchdog, systick timer
• calendar RTC with alarm and periodic wake-up function from stop / standby / shutdown
• communication interface
– two I2C bus interfaces, supporting fast mode plus (1 Mbit / s) receivers with additional current, and one supporting SMBus / pmbus and wake-up from stop mode
– two master / slave USART synchronous SPI; One supports ISO7816 interface, Lin, IrDA function, automatic baud rate detection and wake-up function
– one low-power UART – two SPIs (32 Mbit / s) with 4 to 16 bit programmable bit frames, one multiplex with I2S interface
• development support: serial line debugging (SWD)
• unique ID 96 bits
• ecopack compliant ® 2 standard all packages