STM32G070RBT6
The STM32G070RBT6 is an electronic component from STMicroelectronics. View the full STM32G070RBT6 datasheet below including key specifications, absolute maximum ratings.
Key Specifications
| Parameter | Value |
|---|---|
| Connectivity | I2C, IrDA, LINbus, SPI, SmartCard, UART/USART |
| Core Processor | ARM® Cortex®-M0+ |
| Core Size | 32-Bit |
| Data Converters | A/D 19x12b |
| DigiKey Programmable | Not Verified |
| DigiKey Programmable | Not Verified |
| DigiKey Programmable | Not Verified |
| DigiKey Programmable | Not Verified |
| DigiKey Programmable | Not Verified |
| DigiKey Programmable | Not Verified |
| DigiKey Programmable | Not Verified |
| DigiKey Programmable | Not Verified |
| DigiKey Programmable | Not Verified |
| DigiKey Programmable | Not Verified |
| Mounting Type | Surface Mount |
| Number of I/O | 59 |
| Operating Temperature | -40°C ~ 85°C (TA) |
| Oscillator Type | External, Internal |
| Oscillator Type | External, Internal |
| Oscillator Type | External, Internal |
| Oscillator Type | External, Internal |
| Oscillator Type | External, Internal |
| Oscillator Type | External, Internal |
| Oscillator Type | External, Internal |
| Oscillator Type | External, Internal |
| Oscillator Type | External, Internal |
| Oscillator Type | External, Internal |
| Package / Case | 64-LQFP |
| Packaging | Tray |
| Peripherals | DMA, I2S, POR, PWM, WDT |
| Flash Memory Size | 128KB (128K x 8) |
| Program Memory Type | FLASH |
| RAM Size | 36K x 8 B |
| Clock Speed | 64MHz |
| Standard Pack Qty | 960 |
| Supplier Device Package | 64-LQFP (10x10) |
| Supplier Device Package | 64-LQFP (10x10) |
| Supplier Device Package | 64-LQFP (10x10) |
| Supplier Device Package | 64-LQFP (10x10) |
| Supplier Device Package | 64-LQFP (10x10) |
| Supplier Device Package | 64-LQFP (10x10) |
| Supplier Device Package | 64-LQFP (10x10) |
| Supplier Device Package | 64-LQFP (10x10) |
| Supplier Device Package | 64-LQFP (10x10) |
| Supplier Device Package | 64-LQFP (10x10) |
| Supply Voltage | 2V ~ 3.6V |
Overview
Part: STM32G070CB/KB/RB — STMicroelectronics
Type: ARM Cortex-M0+ 32-bit MCU
Description: 32-bit ARM Cortex-M0+ MCU operating at up to 64 MHz with 128 KB Flash, 36 KB SRAM, multiple communication interfaces, and a 12-bit ADC, designed for a 2.0-3.6 V supply.
Operating Conditions:
- Supply voltage: 2.0 V to 3.6 V
- Operating temperature: -40°C to 85°C
- CPU frequency: up to 64 MHz
Absolute Maximum Ratings:
- Max supply voltage: 4.0 V (VDD, VDDA, VDDIO2)
- Max junction/storage temperature: 150 °C (Storage temperature)
Key Specs:
- Flash memory: 128 Kbytes
- SRAM: 36 Kbytes (32 Kbytes with HW parity check)
- ADC resolution: 12-bit
- ADC conversion time: 0.4 μs
- I2C Fast-mode Plus speed: 1 Mbit/s
- SPI speed: 32 Mbit/s
- Internal 16 MHz RC oscillator accuracy: ±1% (at 25°C, 3.3V)
- Internal 32 kHz RC oscillator accuracy: ±5%
Features:
- Arm 32-bit Cortex-M0+ CPU
- CRC calculation unit
- Power-on/Power-down reset (POR/PDR)
- Low-power modes: Sleep, Stop, Standby
- VBAT supply for RTC and backup registers
- Multiple 5 V-tolerant I/Os
- 7-channel DMA controller
- 11 timers: advanced motor control, general-purpose, basic, watchdogs, SysTick
- Calendar RTC with alarm and periodic wakeup
Applications:
Package:
- LQFP64 (10 × 10 mm)
- LQFP48 (7 × 7 mm)
- LQFP32 (7 × 7 mm)
Features
- Includes ST state-of-the-art patented technology
- Core: Arm ® 32-bit Cortex ® -M0+ CPU, frequency up to 64 MHz
- -40°C to 85°C operating temperature
- Memories
- -128 Kbytes of flash memory with protection -36 Kbytes of SRAM (32 Kbytes with HW parity check)
- CRC calculation unit
- Reset and power management
- -Power-on/Power-down reset (POR/PDR)
- -Voltage range: 2.0 V to 3.6 V
- -Low-power modes: Sleep, Stop, Standby
- -VBAT supply for RTC and backup registers
- Clock management
- -32 kHz crystal oscillator with calibration
- -4 to 48 MHz crystal oscillator
- -Internal 16 MHz RC with PLL option
- -Internal 32 kHz RC oscillator (±5 %)
- Up to 59 fast I/Os
- -Multiple 5 V-tolerant I/Os
- -All mappable on external interrupt vectors
- 7-channel DMA controller with flexible mapping
- 12-bit, 0.4 μs ADC (up to 16 ext. channels)
- -Conversion range: 0 to 3.6V
- -Up to 16-bit with hardware oversampling
- 11 timers: 16-bit for advanced motor control, five 16-bit general-purpose, two basic 16-bit, two watchdogs, SysTick timer
- Calendar RTC with alarm and periodic wakeup from Stop/Standby
Pin Configuration
Figure 3. STM32G070KxT LQFP32 pinout
Figure 4. STM32G070CxT LQFP48 pinout
35
Figure 5. STM32G070RxT LQFP64 pinout
Table 10. Terms and symbols used in Pin assignment and description table
| Column | Symbol | Definition |
|---|---|---|
| Pin name | Terminal name corresponds to its by-default function at reset, unless otherwise specified in parenthesis under the pin name. | Terminal name corresponds to its by-default function at reset, unless otherwise specified in parenthesis under the pin name. |
| S | Supply pin | |
| Pin type I/O structure Note Upon | I I/O FT TT RST _f _a _c _d | Input only pin Input / output pin 5 V tolerant I/O 3.6 V tolerant I/O Reset pin with embedded weak pull-up resistor Options for TT or FT I/Os I/O, Fm+ capable I/O, with analog switch function I/O, with specific electrical characteristics |
| reset, all I/Os are | I/O, with specific electrical characteristics set as analog inputs, unless otherwise specified. | |
| Pin functions functions | ||
| Functions selected through GPIOx_AFR registers | Functions selected through GPIOx_AFR registers | |
| Functions directly selected/enabled through peripheral registers | Functions directly selected/enabled through peripheral registers | |
| Additional functions |
Table 11. Pin assignment and description
| Pin Number | Pin Number | Pin Number |
|---|---|---|
| LQFP32 | LQFP48 | LQFP64 |
| - | - | 1 |
| - | - | 2 |
| - | 1 | 3 |
| - | 2 | 4 |
| 2 | - | - |
| 3 | 3 | 5 |
| - | 4 | 6 |
| - | 5 | 7 |
| 4 | 6 | 8 |
| 5 | 7 | 9 |
| - | 8 | 10 |
| - | 9 | 11 |
| 6 | 10 | 12 |
| - | - | 13 |
| - | - | 14 |
| - | - | 15 |
| - | - | 16 |
| 7 | 11 | 17 |
Table 11. Pin assignment and description
35
Table 11. Pin assignment and description (continued)
| Pin Number | Pin Number | Pin Number |
|---|---|---|
| LQFP32 | LQFP48 | LQFP64 |
| 8 | 12 | 18 |
| 9 | 13 | 19 |
| 10 | 14 | 20 |
| - | 15 | 21 |
| 11 | - | - |
| 12 | 16 | 22 |
| 13 | 17 | 23 |
| 14 | 18 | 24 |
| - | - | 25 |
| - | - | 26 |
| 15 | 19 | 27 |
| 16 | 20 | 28 |
| 17 | 21 | 29 |
| - | 22 | 30 |
Table 11. Pin assignment and description (continued)
Table 11. Pin assignment and description (continued)
| Pin Number | Pin Number | Pin Number |
|---|---|---|
| LQFP32 | LQFP48 | LQFP64 |
| - | 23 | 31 |
| - | 24 | 32 |
| - | 25 | 33 |
| - | 26 | 34 |
| - | 27 | 35 |
| 18 | 28 | 36 |
| 19 | 29 | 37 |
| 20 | 30 | 38 |
| - | 31 | 39 |
| - | - | 40 |
| - | - | 41 |
| 21 | 32 | 42 |
| 22 | 33 | 43 |
| 23 | 34 | 44 |
Table 11. Pin assignment and description (continued)
35
Table 11. Pin assignment and description (continued)
| Pin Number | Pin Number | Pin Number |
|---|---|---|
| LQFP32 | LQFP48 | LQFP64 |
| 24 | 35 | 45 |
| 25 | 36 | 46 |
| 26 | 37 | 47 |
| - | - | 48 |
| - | - | 49 |
| - | 38 | 50 |
| - | 39 | 51 |
| - | 40 | 52 |
| - | 41 | 53 |
| - | - | 54 |
| - | - | 55 |
| - | - | 56 |
| 27 | 42 | 57 |
| 28 | 43 | 58 |
| 29 | 44 | 59 |
Table 11. Pin assignment and description (continued)
Table 11. Pin assignment and description (continued)
| Pin Number | Pin Number | Pin Number |
|---|---|---|
| LQFP32 | LQFP48 | LQFP64 |
| 30 | 45 | 60 |
| 31 | 46 | 61 |
| 32 | 47 | 62 |
| 1 | 48 | 63 |
| - | - | 64 |
- PC13, PC14 and PC15 are supplied through the power switch. Since the switch only sinks a limited amount of current (3 mA), the use of GPIOs PC13 to PC15 in output mode is limited:
-
These GPIOs must not be used as current sources (for example to drive a LED).
-
The speed should not exceed 2 MHz with a maximum load of 30 pF
- After an RTC domain power-up, PC13, PC14 and PC15 operate as GPIOs. Their function then depends on the content of the RTC registers as they are not reset by the system reset. For details on how to manage these GPIOs, refer to the RTC domain and RTC register descriptions in the RM0444 reference manual.
- Upon reset, a pull-down resistor might be present on PA8, PB15, PD0, or PD2, depending on the voltage level on PA9/PC6, PA10/PB0, PD1, and PD3, respectively. In order to disable this resistor, strobe the UCPDx_STROBE bit of the SYSCFG_CFGR1 register during start-up sequence.
- Pins PA9/PA10 can be remapped in place of pins PA11/PA12 (default mapping), using SYSCFG_CFGR1 register.
- Upon reset, these pins are configured as SW debug alternate functions, and the internal pull-up on PA13 pin and the internal pull-down on PA14 pin are activated.
35
Table 12. Port A alternate function mapping
Table 12. Port A alternate function mapping
| Port | AF0 | AF1 | AF2 | AF3 | AF4 | AF5 | AF6 | AF7 |
|---|---|---|---|---|---|---|---|---|
| PA0 | SPI2_SCK | USART2_CTS | - | - | USART4_TX | - | - | - |
| PA1 | SPI1_SCK/ I2S1_CK | USART2_RTS _DE_CK | - | - | USART4_RX | TIM15_CH1N | I2C1_SMBA | EVENTOUT |
| PA2 | SPI1_MOSI/ I2S1_SD | USART2_TX | - | - | - | TIM15_CH1 | - | - |
| PA3 | SPI2_MISO | USART2_RX | - | - | - | TIM15_CH2 | - | EVENTOUT |
| PA4 | SPI1_NSS/ I2S1_WS | SPI2_MOSI | - | - | TIM14_CH1 | - | - | EVENTOUT |
| PA5 | SPI1_SCK/ I2S1_CK | - | - | - | USART3_TX | - | - | EVENTOUT |
| PA6 | SPI1_MISO/ I2S1_MCK | TIM3_CH1 | TIM1_BKIN | - | USART3_CTS | TIM16_CH1 | - | - |
| PA7 | SPI1_MOSI/ I2S1_SD | TIM3_CH2 | TIM1_CH1N | - | TIM14_CH1 | TIM17_CH1 | - | - |
| PA8 | MCO | SPI2_NSS | TIM1_CH1 | - | - | - | - | EVENTOUT |
| PA9 | MCO | USART1_TX | TIM1_CH2 | - | SPI2_MISO | TIM15_BKIN | I2C1_SCL | EVENTOUT |
| PA10 | SPI2_MOSI | USART1_RX | TIM1_CH3 | - | - | TIM17_BKIN | I2C1_SDA | EVENTOUT |
| PA11 | SPI1_MISO/ I2S1_MCK | USART1_CTS | TIM1_CH4 | - | - | TIM1_BKIN2 | I2C2_SCL | - |
| PA12 | SPI1_MOSI/ I2S1_SD | USART1_RTS _DE_CK | TIM1_ETR | - | - | I2S_CKIN | I2C2_SDA | - |
| PA13 | SWDIO | IR_OUT | - | - | - | - | - | EVENTOUT |
| PA14 | SWCLK | USART2_TX | - | - | - | - | - | EVENTOUT |
| PA15 | SPI1_NSS/ I2S1_WS | USART2_RX | - | - | USART4_RTS _DE_CK | USART3_RTS _DE_CK | - | EVENTOUT |
Table 12. Port A alternate function mapping
Table 13. Port B alternate function mapping
| Port | AF0 | AF1 | AF2 | AF3 | AF4 | AF5 | AF6 | AF7 |
|---|---|---|---|---|---|---|---|---|
| PB0 | SPI1_NSS/ I2S1_WS | TIM3_CH3 | TIM1_CH2N | - | USART3_RX | - | - | - |
| PB1 | TIM14_CH1 | TIM3_CH4 | TIM1_CH3N | - | USART3_RTS _DE_CK | - | - | EVENTOUT |
| PB2 | - | SPI2_MISO | - | - | USART3_TX | - | - | EVENTOUT |
| PB3 | SPI1_SCK/ I2S1_CK | TIM1_CH2 | - | - | USART1_RTS _DE_CK | - | - | EVENTOUT |
| PB4 | SPI1_MISO/ I2S1_MCK | TIM3_CH1 | - | - | USART1_CTS | TIM17_BKIN | - | EVENTOUT |
| PB5 | SPI1_MOSI/ I2S1_SD | TIM3_CH2 | TIM16_BKIN | - | - | - | I2C1_SMBA | - |
| PB6 | USART1_TX | TIM1_CH3 | TIM16_CH1N | - | SPI2_MISO | - | I2C1_SCL | EVENTOUT |
| PB7 | USART1_RX | SPI2_MOSI | TIM17_CH1N | - | USART4_CTS | - | I2C1_SDA | EVENTOUT |
| PB8 | - | SPI2_SCK | TIM16_CH1 | - | USART3_TX | TIM15_BKIN | I2C1_SCL | EVENTOUT |
| PB9 | IR_OUT | - | TIM17_CH1 | - | USART3_RX | SPI2_NSS | I2C1_SDA | EVENTOUT |
| PB10 | - | - | - | - | USART3_TX | SPI2_SCK | I2C2_SCL | - |
| PB11 | SPI2_MOSI | - | - | - | USART3_RX | - | I2C2_SDA | - |
| PB12 | SPI2_NSS | - | TIM1_BKIN | - | - | TIM15_BKIN | - | EVENTOUT |
| PB13 | SPI2_SCK | - | TIM1_CH1N | - | USART3_CTS | TIM15_CH1N | I2C2_SCL | EVENTOUT |
| PB14 | SPI2_MISO | - | TIM1_CH2N | - | USART3_RTS _DE_CK | TIM15_CH1 | I2C2_SDA | EVENTOUT |
| PB15 | SPI2_MOSI | - | TIM1_CH3N | - | TIM15_CH1N | TIM15_CH2 | - | EVENTOUT |
Table 13. Port B alternate function mapping
Table 14. Port C alternate function mapping
| Port | AF0 | AF1 | AF2 | AF3 | AF4 | AF5 | AF6 | AF7 |
|---|---|---|---|---|---|---|---|---|
| PC0 | - | - | - | - | - | - | - | - |
| PC1 | - | - | TIM15_CH1 | - | - | - | - | - |
| PC2 | - | SPI2_MISO | TIM15_CH2 | - | - | - | - | - |
| PC3 | - | SPI2_MOSI | - | - | - | - | - | - |
| PC4 | USART3_TX | USART1_TX | - | - | - | - | - | - |
| PC5 | USART3_RX | USART1_RX | - | - | - | - | - | - |
| PC6 | - | TIM3_CH1 | - | - | - | - | - | - |
| PC7 | - | TIM3_CH2 | - | - | - | - | - | - |
| PC8 | - | TIM3_CH3 | TIM1_CH1 | - | - | - | - | - |
| PC9 | I2S_CKIN | TIM3_CH4 | TIM1_CH2 | - | - | - | - | - |
| PC10 | USART3_TX | USART4_TX | TIM1_CH3 | - | - | - | - | - |
| PC11 | USART3_RX | USART4_RX | TIM1_CH4 | - | - | - | - | - |
| PC12 | - | - | TIM14_CH1 | - | - | - | - | - |
| PC13 | - | - | TIM1_BKIN | - | - | - | - | - |
| PC14 | - | - | TIM1_BKIN2 | - | - | - | - | - |
| PC15 | OSC32_EN | OSC_EN | TIM15_BKIN | - | - | - | - | - |
Table 14. Port C alternate function mapping
Table 15. Port D alternate function mapping
| Port | AF0 | AF1 | AF2 | AF3 | AF4 | AF5 | AF6 | AF7 |
|---|---|---|---|---|---|---|---|---|
| PD0 | EVENTOUT | SPI2_NSS | TIM16_CH1 | - | - | - | - | - |
| PD1 | EVENTOUT | SPI2_SCK | TIM17_CH1 | - | - | - | - | - |
| PD2 | USART3_RTS _DE_CK | TIM3_ETR | TIM1_CH1N | - | - | - | - | - |
| PD3 | USART2_CTS | SPI2_MISO | TIM1_CH2N | - | - | - | - | - |
| PD4 | USART2_RTS _DE_CK | SPI2_MOSI | TIM1_CH3N | - | - | - | - | - |
| PD5 | USART2_TX | SPI1_MISO/ I2S1_MCK | TIM1_BKIN | - | - | - | - | - |
| PD6 | USART2_RX | SPI1_MOSI/ I2S1_SD | - | - | - | - | - | - |
| PD8 | USART3_TX | SPI1_SCK/ I2S1_CK | - | - | - | - | - | - |
| PD9 | USART3_RX | SPI1_NSS/ I2S1_WS | TIM1_BKIN2 | - | - | - | - | - |
Absolute Maximum Ratings
Stresses above the absolute maximum ratings listed in Table 17 , Table 18 and Table 19 may cause permanent damage to the device. These are stress ratings only and functional operation of the device at these conditions is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. The device mission profile (application conditions) is compliant with the JEDEC JESD47 qualification standard.
All voltages are defined with respect to V SS .
Table 17. Voltage characteristics
| Symbol | Ratings | Min | Max | Unit |
|---|---|---|---|---|
| V DD | External supply voltage | -0.3 | 4.0 | V |
| V BAT | External supply voltage on VBAT pin | -0.3 | 4.0 | V |
| V REF+ | External voltage on VREF+ pin | -0.3 | Min(V DD + 0.4, 4.0) | V |
| V IN (1) | Input voltage on FT_xx pins except FT_c | -0.3 | V DD + 4.0 (2)(3) | V |
| V IN (1) | Input voltage on FT_c pins | -0.3 | 5.5 | V |
| V IN (1) | Input voltage on any other pin | -0.3 | 4.0 | V |
- Refer to Table 18 for the maximum allowed injected current values.
- To sustain a voltage higher than 4 V the internal pull-up/pull-down resistors must be disabled.
- When an FT_a pin is used by an analog peripheral such as ADC, the maximum V IN is 4 V.
Table 18. Current characteristics
| Symbol | Ratings | Max | Unit |
|---|---|---|---|
| I VDD/VDDA | Current into VDD/VDDA power pin (source) (1) | 100 | mA |
| I VSS/VSSA | Current out of VSS/VSSA ground pin (sink) (2) | 100 | mA |
| I IO(PIN) | Output current sunk by any I/O and control pin except FT_f | 15 | mA |
| I IO(PIN) | Output current sunk by any FT_f pin | 20 | mA |
| I IO(PIN) | Output current sourced by any I/O and control pin | 15 | mA |
Table 18. Current characteristics
Table 18. Current characteristics (continued)
| Symbol | Ratings | Max | Unit |
|---|---|---|---|
| ∑ I IO(PIN) | Total output current sunk by sum of all I/Os and control pins | 80 | mA |
| ∑ I IO(PIN) | Total output current sourced by sum of all I/Os and control pins | 80 | mA |
| I INJ(PIN) (2) | Injected current on a FT_xx pin | -5 / NA (3) | mA |
| I INJ(PIN) (2) | Injected current on a TT_a pin (4) | -5 / 0 | mA |
| ∑ \ | I INJ(PIN) \ | Total injected current (sum of all I/Os and control pins) (5) |
- A positive injection is induced by V IN > V DDIO1 while a negative injection is induced by V IN < V SS . I INJ(PIN) must never be exceeded. Refer also to Table 17: Voltage characteristics for the maximum allowed input voltage values.
- Positive injection is not possible on these I/Os and does not occur for input voltages lower than the specified maximum value.
- On these I/Os, any current injection disturbs the analog performances of the device.
- When several inputs are submitted to a current injection, the maximum ∑ |I INJ(PIN) | is the absolute sum of the negative injected currents (instantaneous values).
Table 19. Thermal characteristics
| Symbol | Ratings | Value | Unit |
|---|---|---|---|
| T STG | Storage temperature range | -65 to +150 | °C |
| T J | Maximum junction temperature | 150 | °C |
Thermal Information
The operating junction temperature T J must never exceed the maximum given in Table 20: General operating conditions .
The maximum junction temperature in °C that the device can reach if respecting the operating conditions, is:
Package Information
In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK packages, depending on their level of environmental compliance. ECOPACK specifications, grade definitions and product status are available at: www.st.com . ECOPACK is an ST trademark.
Related Variants
The following components are covered by the same datasheet.
| Part Number | Manufacturer | Package |
|---|---|---|
| STM32G070 | STMicroelectronics | — |
| STM32G070CB | STMicroelectronics | — |
| STM32G070CB/KB/RB | STMicroelectronics | — |
| STM32G070CXT | STMicroelectronics | — |
| STM32G070KB | STMicroelectronics | — |
| STM32G070KXT | STMicroelectronics | — |
| STM32G070RB | STMicroelectronics | — |
| STM32G070RXT | STMicroelectronics | — |
Get structured datasheet data via API
Get started free