Microcontrollers STM32G0 Series product overview...Innovations for Your Benefit 4 • No external clock -10cts Accurate internal high speed clock +/- 1% for 0 / 90 C • No decoupling
Simple• Easy to configure thanks to the intuitive and
graphic STM32CubeMX configuration tool.• Easy to develop based on the Hardware
Abstraction Layer library (HAL) or the low-layer library (LL) allowing maximum re-use and faster time-to-market.
Presenter
Presentation Notes
This presentation will be about three driving concepts which define the STM32G0 Series: efficient, robust and simple. Because each and every detail counts, let us see why and how in the next slides.
Reducing BOM Cost 3
STM32G0
StandardMCU
smaller packageless surrounding components
clock
Vdd Vss
Vdd
Vss
Vdd
Vss
Vdd
Vss
Vdd
Vss
New platform optimized with 1 power supply pair only up to 64-pin packages
Presenter
Presentation Notes
Several innovations are coming with the STM32G0 Series to allow customer select the most compact microcontroller package with a minimum set of external components, thus reducing significantly the BOM cost: - Only 1 power supply pair up to 64-pin packages provide more IOs - The embedded 1% accurate clock across a wide temperature range from 0°C to 90°C allows to remove external components - Bigger flash and RAM fit into packages as small as 28-pin up to 128 Kbytes Flash, or 32-pin up to 512 Kbytes Flash Can you guess the savings associated? Let’s go to the next slide.
Innovations for Your Benefit 4
• No external clock -10ctsAccurate internal high speed clock +/-1% for 0 / 90°C
• No decoupling capacitances -4ctsRemove up to 6 decoupling capacitors for supply and clocks
• Smaller PCB -1ctsSmaller package, less components: save on PCB area
Additional benefits for your convenience:
• USB-C power delivery -15ctsIntegrated transceivers, pull-up/down resistors and digital
• Secure programming -25ctsIn house or at 3rd parties
Presenter
Presentation Notes
When computing the savings on the bill of material, the savings are significant for the benefit of STM32G0 users: - the internal high speed clock supports +/-1 % accuracy from 0 to 90°C, and less than +/-2% from -40°C to +125°C. Practically, most applications will be able to operate without external clock, thus removing the clock itself, but also decoupling capacitances. - One power supply up to 64-pin package also allows to remove more decoupling capacitances. - One power supply up to 64-pin package means also smaller package, better cost, and savings on board material. All together, one can easily consider 15 cents savings when buying STM32G0 compared to a standard solution. And guess what: more can be saved, thanks to the integrated USB type C power delivery, or secure programming capabilities and services.
0
20
40
60
80
100
120
140
160
0 10 20 30 40 50 60 70
Cor
emar
k sc
ore
System frequency
Performance with 0, 1 and 2 wait state
Series1
Series2
Providing More Performance 5
• Up to 64 MHz/ 59 DMIPS• Up to >142 CoreMark Result
• Arm Cortex-M0+ with Memory Protection Unit (MPU)
• Flexible DMA up to 12 channels
Do not compromise on performance with STM32G0
64
Prefetch onPrefetch off
142.88
Presenter
Presentation Notes
Now, let see the computation performances: The STM32G0 Series runs at a maximum frequency of 64 MHz, delivering up to 59 DMIPS and more than 142 CoreMark. It also embeds a flexible DMA on all devices to even free more CPU resources. Do not compromise on performance with STM32G0.
Low-power Modes Efficiency 6
When Mainstream MCU Series meets low-power requirements
Conditions: 25°C, VDD = 3VNote : * without RTC / with RTC
Tamper: few I/Os, RTCVBAT 10 nA / 400 nA*
Wake-up sources: reset pin, few I/Os, RTC SHUTDOWN 40 nA / 500 nA*250 µs
Wake-up time
Wake-up sources: any interruptor event
6 cycles SLEEP 800 µA
RUN at 64 MHz <100 µA / MHz
5 µsWake-up sources: + all I/Os, PVD, COMPs, LPUART, LPTIM, I²C, UART, USB
STOP 3.0 µA / 5 µA / 8 µA
14 µs Wake-up sources: + BOR, IWDG STANDBY 200 nA / 500 nA*
24 MHz, VDD= 3 V, PLL=on
Flash-RTC off-off/off-on/on-off
Presenter
Presentation Notes
What about current consumption? Be prepare for a very nice surprise: the STM32G0 Series bridges the need for efficient and compact MCU with the most demanding efficiency on current consumption, usually served with dedicated microcontrollers. When it comes to extending battery life or meeting new eco-friendly standards, STM32G0 is a microcontroller of choice. Let us list some typical consumptions: - Excellent dynamic consumption below the 100 µA/MHz - Stop mode from 3 to 8 µA with or without Real Time Clock - Stand-by mode at 500 nA with RTC or even down to 200 nA without Real Time Clock - Shutdown mode allows to reach as low as 40 nA if wake-up time if no major constraint - VBAT mode allows to decrease down to few Nano amperes, up to 400 nA with Real-Time Clock
Ready for Tomorrow 7
Faster, more accurate analog and digital functions
• More RAM for Flash• Up to 36KB SRAM for 128KB and 64KB Flash memory
• Timers frequency up to 128 MHz resolution (<8 ns)• Advanced control capabilities
• 12-bit ADC up to 2.5 MSPS (0.4µs) conversion time• 16-bit oversampling by hardware
• 32 Mbit/s SPI, 7 Mbaud/s USART, 1Mbit/s I²C communication
upgrade
Budget MCUworld
Presenter
Presentation Notes
Not only efficient on cost compactness and consumption, the STM32G0 Series comes with upgraded functions ready for tomorrow’s needs: - More RAM is offered for Flash around ratio ¼ , to enable further creativity - 2 timers, including one with advanced control, can run at 2 times the CPU frequency, up to 128 MHz, giving access to a timer resolution smaller than 8 ns, particularly suited for Lighting or digital control applications. - The ADC delivers 12-bit accuracy at a very fast conversion time of 0.4µs, and embeds an hardware 16-bit oversampling capability to ease developer’s code. - The SPI communication protocol runs up to 32Mbit/s, the USART reaches 7 Mbaud/s, the I²C protocol supports the fast-mode plus at 1 Mbit/s. Let’s go to the next slide to see more…
TRNG & AES for Security128-/256-bit AESkey encryption hardware accelerator
VBAT with RTCfor battery backup 400 nA in VBAT mode for RTC and20x 32-bit backup registers
USBUSB 2.0 Full speedDevice / Host
USB-C Power DeliveryUp to 2 ports with dead-battery management
Timers8ns PWM resolutionAdvanced control16- and 32-bit
FD CAN Up to 2 instances
Comparators2 instancesDown to 30ns propagation delay
DAC2x 12-bit DAC,
ADC16x12-bit, 16-bit oversampling2.5MSPS (0.4µs)
OBD Industrial
Presenter
Presentation Notes
Preparing tomorrow’s needs further, the STM32G0 Series is deploying a complete set of peripherals. On the communication side, the FDCAN, USB type C power delivery and USB 2.0 full speed with host and device support will be available on some part-numbers. On the analog side, 2 fast comparators and 2 DAC 12-bit are with the ADC-12bit. Flexible triggering mechanism allows analog functions to trigger timers, or timer to trigger another timer, for complex event control applications. Ready for IoT, the STM32G0 Series supports integrated 128- or 256-bit AES by hardware. Let’s have a look at the integrated features in the next slide.
Smart Integration 9
Save on battery lifeLow consumption process and designLow-Power UART: wake-up on frameLow-Power Timer: counts and generate signalsI²C wake-up on address
Save on BOM cost
Main Clock monitoringBackup clock and interruptsVoltage monitoring: programmable interrupts and resetWindow watchdog on CPU clockIndependent watchdog on independent clockChecksum by hardwareECC on Flash, Parity on RAM
High temperaturefrom -40°Cup to + 125°C
Always keep controlDiagnose, react
+/-1% high speed clock internal from 0 to 90°C+/-2% high speed clock internal from -40 to 125°CIO maximization: smaller package footprint
More flexibilityMore RAM or more safety with parity enable/disableDynamic DMA assignment on DMAMUXAll IOs with external interrupt capability
High robustnessHighly immune to fast-transientsRobust IOs against negative injections
Presenter
Presentation Notes
How to get cost advantage with a microcontroller? Because it embeds so much in it. Those are the system integrated features: - A full set of monitoring functions allow to always keep control, diagnose and react whatever happens on the CPU, flash, clock or voltage. There is always a fallback plan and the microcontroller is never stuck. - Robust in temperature, the STM32G0 can operate up to 125 °C ambient temperature. - Robust against disturbances, the STM32G0 is particularly immune against fast transient voltages, reaching the level and class 5 A, which means practically more than 8 kV on the equipment. - Whatever is customer’s topology, the STM32G0 demonstrates high flexibility with a dynamic DMA mapping, all IOs with external interrupt capability and extra RAM capability by disabling parity. - Last but not least, let us remind the BOM cost and battery life savings addressed in the previous slides.
Smartphones, IoT devices, rechargeable connected devices, drones, toys• Low-thickness, small form-factor• 64MHz CPU with DMA• Low consumption in run and low-
power, fast wake-up• USB type-C Power Delivery 3.0• USB FS 2.0 dev/host crystal-less
Smart Applications 10
Lighting
Smart Home
Consumer objects
Home appliances, alarms and safety, advanced user interfaces• High temperature 125°C• Safety monitoring features• More RAM for flash• Low consumption <100µA/MHz
in run
• High temperature 125°C• Fast CPU 64MHz
• Advanced timers with high-resolution 7.8ns• Fast comparators
• ADC-12bit, DAC-12bit• Low-thickness packages
• AES & security for secure upgrades
Industrial devicesMotor control
Advanced control
Air conditioning, e-bikes, industrial equipments
• High temperature 125°C• CANFD support• SPI, USART, I²C
• Advanced timers with high-resolution 7.8ns
• Real Time Clock with backup registers
• AES & security for secure upgrades
Presenter
Presentation Notes
With such capabilities in hands, the STM32G0 series open new field of possibilities in a compact solution and fits a wide range of possible applications in the consumer, industrial or home appliance area. Let see some examples: - In the consumer segment, the combination of high-performance at contained power consumption in a low-thickness and small form-factor such as QFN or WLCSP package, and the support of various communication peripherals including USB full speed and USB type C power delivery. - In the smart home perimeter, safety monitoring features, reliable technology operating at high temperatures, and low-power capabilities allow to meet new energy-friendly standards. - Industrial, motor control applications require advanced control and communication capabilities and must operate in stringent conditions, while being safe and secure. - Lighting applications can implement higher performances thanks to the high timer resolution combined with advanced and fast analog capabilities.
Wider Platform 11
Portfolio stretched for efficient budget applications
More memory and pin counts
QFN
LQFP
WLCSP
More packages
BGA
SO / TSSOP512KB Flash memoryBig Flash
Small package
8-pin
Presenter
Presentation Notes
Let’s take a look at the portfolio coverage: what do we see? The STM32G0 Series is available from 8-pin SO package, delivering up to 6 IOs! But the same series also extends up to 512 Kbytes and 100-pin packages, allowing a platform approach while remaining on the same Series. Look at this interesting area: Big flash on small packages: it combines the need for more flash or RAM with the lowest possible impact on BOM or PCB area. Here again, the efficiency of the STM32G0 Series is at its best. Several package flavors are available to answer different needs such as easy handling, low-thickness, smallest area impact, or different pitch requirements. There is always a corresponding STM32G0! Let see the next slide for more details!
STM32G0 Portfolio 12
1
Availability: 2020
Availability: 2020
Presenter
Presentation Notes
Now available are: the Access Line, STM32G071 or STM32G081, offers up to 128 Kbytes of Flash memory and from 28- to 64-pin packages the Value Line, STM32G070, offers up to 128 Kbytes of Flash memory in 32-, 48- and 64-pin LQFP packages. The STM32G0 Series will be deployed in 2019 and 2020: on the low-end, STM32G031, STM32G041 and STM32G030 Value Line microcontrollers in packages as small 8 pins will be available in Q1 2019 on the high-end, STM32G0B1, STM32G0C1 and STM32G0B0 Value Line microcontrollers in packages with up to 100 pins and 512 Kbytes of Flash memory including additional functions such as CAN FD and USB data.
This is the block diagram for the now available STM32G081 device and for the STM32G071 without the encryption. It embeds all described features except the CAN FD and USB data which will join with the STM32G0C1 and G0B1 up to 512KB. The Access Line offers the full access to advanced features and solutions.
Value Line
• 32-bit Arm Cortex-M0+ core
• 2.0 to 3.6V power supply
• RAM maximization
• 1% internal clock
• Direct Memory Access (DMA)
• Communication peripherals
15
No compromise on what matters
• Timers
• Real-time Clock
• I/O ports maximization
• 12-bit Ultra-fast ADC
• Safety features
Presenter
Presentation Notes
The Value Line STM32G070 intends to not compromise on what matters, for the most competitive entry price. Competitive and powerful, it embeds the DMA as well as the 1% accurate internal clock on a voltage range from 2 to 3.6 volts.
More Security 16
Integrated security features, ready for tomorrow’s needsUser Flash
Standard user flash by default
Can be secured once exitingNo more access nor debug
Configurable size
Good fit to store critical data• Critical routines• Keys
Securable Memory AreaExecute-only ProtectionRead-out ProtectionWrite ProtectionMemory Protection Unit (MPU)AES-256 / SHA-256 EncryptionTrue Random Number GeneratorUnique ID
Firmware IP protection
Mutual distrustful
Authentication
Secure firmware upgrade
Secret key storage
Securable Memory Area
Presenter
Presentation Notes
When it comes to IoT, security is a main concern. The STM32G0 Access Line embeds additional features such as the Securable Memory area. It is a good fir to store sensitive data such as critical routines or keys. Practically, the user can define the size of an area in the user flash to execute, exit and lock until the next reset. This mechanism and other features such as execute-only PCROP, readout protection, encryption and more, will answer the need for safe environment for programming and key storage. Stay tuned and look what will come in 2019!
STM32G0 Ecosystem 17
5
HARDWARE TOOLS
Full feature evaluation
Flexible prototyping
Key feature prototyping
STM32 Nucleo Discovery kit Evaluation board
SOFTWARE TOOLS
STM32CubeMX featuring intuitive pin selection, clock tree configuration, code generation and power consumption
calculation
Go fast, be first
Presenter
Presentation Notes
Now, it is time to evaluate and develop! Either Nucleo or Evaluation board, select your preferred hardware. Two Nucleo are available : one for STM32G071 and one for STM32G070 Value Line. The Evaluation board enables a deep dive into the STM32G0 features. The STM32G0 Series is supported by the STM32CubeMX configuration tool and the STM32CubeG0 package. STM32CubeMX offers an intuitive and graphical configuration for pinout, peripherals, clock setting, and for power consumption simulation. It will create the framework to start developing your application so quickly. Then re-use easily an existing code or develop your new program with the Hardware Abstraction Layer library. This is the good way for maximum re-use and easy porting. Also available, the Low-Layer drivers get closer to the register implementation for optimized footprint. See the next slide for detailed information about it.
STM32G0 Ecosystem 18
EMBEDDED SOFTWARE
• Open-source TCP/IP stack (lwIP)• USB Host and Device library from ST• STemWin graphical stack library from ST and SEGGER• Open-source FAT file system (FatFs)• Open-source real-time OS (FreeRTOS)• Dozens of examples
• STM32G0 Hardware Abstraction Layer (HAL) portable APIs• High-performance, light-weight low-layer (LL) APIs• High coverage for most STM32 peripherals • Production-ready and fully qualified • Dozens of usage examples• Open-source BSD license
Platform approach or custom code: you choose
STM32CubeG0HAL + Low-Layer drivers
CMSIS
Presenter
Presentation Notes
The STM32CubeMX relies on the STM32Cube embedded software bricks to generate the peripheral initialization code. The first firmware layer of these embedded software bricks is made up of the low-level drivers, i.e the Hardware Abstraction Layer (HAL) and the low-layer (LL) APIs. The HAL implements a high portability between STM32 series, while the LL APIs bring the performance aspect to the STM32CubeG0 offer. The HAL abstracts the STM32 series from one another, thanks to a highly portable set of APIs, thus ensuring an easy migration path from one series to another. The LL APIs are a lot closer to the machine and constitute a light-weight, high-performance, expert-oriented firmware stack for maximum dynamic reactivity and flexibility. Last but not the least, these low-level drivers are distributed under the BSD license, one of the most permissive and business-friendly open-source licenses. For more convenience, the STM32CubeG0 embedded firmware also comes with a set of middleware bricks. They are portable on any STM32 series that supports the required functionality. These middleware bricks also come for free, and most of them are based either on open-source de facto standards, or ST deliverables with permissive and business-friendly license terms. In addition, numerous examples are provided to help the customer understand how to use the HAL, the LL APIs, and the middleware with the microcontroller. ST proposes high-quality low-level drivers which have been thoroughly qualified using both standard and ST-specific validation tools and processes. For more information, you can refer to the presentation dedicated to the STM32Cube embedded software qualification.