STMicroelectronics STM32G070CB, STM32G070KB, STM32G070RB Datasheet

STM32G070CB/KB/RB
Errata sheet
STM32G070CB/KB/RB device errata
Applicability
This document applies to STM32G070CB/KB/RB devices and the device variants as stated in this page.
It gives a summary and a description of the device errata, with respect to the device datasheet and reference manual RM0454.
Deviation of the real device behavior from the intended device behavior is considered to be a device limitation. Deviation of the description in the reference manual or the datasheet from the intended device behavior is considered to be a documentation erratum. The term “errata” applies both to limitations and documentation errata.
Table 1. Device variants
Reference
STM32G070CB/KB/RB
1. Refer to the device datasheet for how to identify this code on different types of package.
2. REV_ID[15:0] bitfield of DBGMCU_IDCODE register.
Device marking
B 0x2000
(1)
REV_ID
(2)
ES0468 - Rev 3 - February 2021
For further information contact your local STMicroelectronics sales office.
www.st.com

1 Summary of device errata

The following table gives a quick reference to the STM32G070CB/KB/RB device limitations and their status:
A = workaround available
N = no workaround available
P = partial workaround available
Applicability of a workaround may depend on specific conditions of target application. Adoption of a workaround may cause restrictions to target application. Workaround for a limitation is deemed partial if it only reduces the rate of occurrence and/or consequences of the limitation, or if it is fully effective for only a subset of instances on the device or in only a subset of operating modes, of the function concerned.
Table 2. Summary of device limitations
STM32G070CB/KB/RB
Summary of device errata
Function
System
DMA 2.4.1
DMAMUX
ADC
TIM
RTC and TAMP 2.9.1 Calendar initialization may fail in case of consecutive INIT mode entry A
I2C
SPI
Section Limitation
2.2.1 Unstable LSI when it clocks RTC or CSS on LSE
2.2.2 WUFx wakeup flag wrongly set during configuration A
2.2.3
2.2.4 DMAMUX cannot be synchronized or triggered by EXTI N
2.2.5
2.2.6 Wakeup from Stop not effective under certain conditions N
2.2.7 PC13 signal transitions disturb LSE N
2.5.1 SOFx not asserted when writing into DMAMUX_CFR register N
2.5.2 OFx not asserted for trigger event coinciding with last DMAMUX request N
2.5.3 OFx not asserted when writing into DMAMUX_RGCFR register N
2.5.4
2.6.1 Overrun flag is not set if EOC reset coincides with new conversion end P
2.6.2 Writing ADC_CFGR1 register while ADEN bit is set resets RES[1:0] bitfield A
2.6.3 Out-of-threshold value is not detected in AWD1 Single mode A
2.6.4 ADC sampling time might be one cycle longer N
2.7.1
2.7.2 Consecutive compare event missed in specific conditions N
2.7.3 Output compare clear not working with external counter reset N
2.7.4 TIM16 and TIM17 are unduly clocked by SYSCLK N
2.10.1
2.10.2 Spurious bus error detection in master mode A
2.10.3 Spurious master transfer upon own slave address match P
2.12.1 BSY bit may stay high when SPI is disabled A
Under Level 1 read protection, booting from Main Flash memory selected through PA14BOOT0 pin is not functional
Overwriting with all zeros a Flash memory location previously programmed with all ones fails
DMA disable failure and error flag omission upon simultaneous transfer error and global flag clear
Wrong input DMA request routed upon specific DMAMUX_CxCR register write coinciding with synchronization event
One-pulse mode trigger not detected in master-slave reset + trigger configuration
Wrong data sampling when data setup time (tSU;DAT) is shorter than one I2C kernel clock period
Status
Rev. B
P
N
N
A
A
P
P
ES0468 - Rev 3
page 2/17
STM32G070CB/KB/RB
Summary of device errata
Function Section Limitation
SPI
USART 2.11.1 Data corruption due to noisy receive line N
2.12.2 BSY bit may stay high at the end of data transfer in slave mode
The following table gives a quick reference to the documentation errata.
Table 3. Summary of device documentation errata
Function Section Documentation erratum
ADC 2.6.5 ADC trigger latency parameter
USART 2.11.2 USART prescaler feature missing in USART implementation section
Status
Rev. B
A
ES0468 - Rev 3
page 3/17
STM32G070CB/KB/RB
Description of device errata

2 Description of device errata

The following sections describe limitations of the applicable devices with Arm® core and provide workarounds if available. They are grouped by device functions.
Note: Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.

2.1 Core

Reference manual and errata notice for the Arm® Cortex®-M0+ core revision r0p1 is available from http:// infocenter.arm.com.

2.2 System

2.2.1 Unstable LSI when it clocks RTC or CSS on LSE

Description
The LSI clock can become unstable (duty cycle different from 50 %) and its maximum frequency can become significantly higher than 32 kHz, when:
LSI clocks the RTC, or it clocks the clock security system (CSS) on LSE (which holds when the LSECSSON bit set), and
the VDD power domain is reset while the backup domain is not reset, which happens:
upon exiting Shutdown mode
if V
if V
Workaround
Apply one of the following measures:
Clock the RTC with LSE or HSE/32, without using the CSS on LSE
If LSI clocks the RTC or when the LSECSSON bit is set, reset the backup domain upon each VDD power up (when the BORRSTF flag is set). If V registers and anti-tampering configuration.
is separate from VDD and VDD goes off then on
BAT
is tied to VDD (internally in the package for products not featuring the VBAT pin, or externally)
BAT
and a short (< 1 ms) VDD drop under VDD(min) occurs
is separate from VDD, also restore the RTC configuration, backup
BAT

2.2.2 WUFx wakeup flag wrongly set during configuration

Description
Upon configuring a wakeup pin (WKUPx), the corresponding wakeup flag (WUFx) might spuriously go high depending on the state and configuration of the wakeup pin.
ES0468 - Rev 3
Workaround
After configuring a wakeup pin, clear its corresponding WUFx flag.
page 4/17
STM32G070CB/KB/RB
System
2.2.3 Under Level 1 read protection, booting from Main Flash memory selected through PA14BOOT0
pin is not functional
Description
With the Flash memory read protection set to Level 1 and the boot mode selected through the PA14-BOOT0 pin (BOOT0 function of the pin), an attempt to boot from Main Flash memory can wrongly be interpreted by the read protection mechanism as an unauthorized access, preventing the user code execution. Booting from Main Flash memory operates correctly if selected through option bits (nBOOT_SEL and nBOOT0 both set).
Workaround
None.

2.2.4 DMAMUX cannot be synchronized or triggered by EXTI

Description
The EXTI-related DMAMUX synchronization and trigger inputs are wrongly routed to the it_exti_per(y) output instead of being routed to the exti[15:0] output lines.
The it_exti_per(y) signals are not usable for synchronizing and triggering DMAMUX.
Workaround
None.

2.2.5 Overwriting with all zeros a Flash memory location previously programmed with all ones fails

Description
Any attempt to re-program with all zeros (0x0000 0000 0000 0000) a Flash memory location previously programmed with 0xFFFF FFFF FFFF FFFF fails and the PROGERR flag of the FLASH_SR register is set.
Workaround
None.

2.2.6 Wakeup from Stop not effective under certain conditions

Description
With the HSI clock divider bitfield HSIDIV[2:0] set to a value different from 000, the device fails to enter Stop mode when SYSCLK is set to HSE clock.
With the HSI clock divider bitfield HSIDIV[2:0] set to a value different from 000, peripherals with clock request capability fail to wake the device up from Stop modes.
Workaround
None.

2.2.7 PC13 signal transitions disturb LSE

Description
The PC13 port toggling disturbs the LSE clock.
Workaround
None.
ES0468 - Rev 3
page 5/17
STM32G070CB/KB/RB

2.3 GPIO

2.4 DMA

2.4.1 DMA disable failure and error flag omission upon simultaneous transfer error and global flag
clear
Description
Upon a data transfer error in a DMA channel x, both the specific TEIFx and the global GIFx flags are raised and the channel x is normally automatically disabled. However, if in the same clock cycle the software clears the GIFx flag (by setting the CGIFx bit of the DMA_IFCR register), the automatic channel disable fails and the TEIFx flag is not raised.
This issue does not occur with ST's HAL software that does not use and clear the GIFx flag when the channel is active.
Workaround
Do not clear GIFx flags when the channel is active. Instead, use HTIFx, TCIFx, and TEIFx specific event flags and their corresponding clear bits.
GPIO

2.5 DMAMUX

2.5.1 SOFx not asserted when writing into DMAMUX_CFR register

Description
The SOFx flag of the DMAMUX_CSR status register is not asserted if overrun from another DMAMUX channel occurs when the software writes into the DMAMUX_CFR register.
This can happen when multiple DMA channels operate in synchronization mode, and when overrun can occur from more than one channel. As the SOFx flag clear requires a write into the DMAMUX_CFR register (to set the corresponding CSOFx bit), overrun occurring from another DMAMUX channel operating during that write operation fails to raise its corresponding SOFx flag.
Workaround
None. Avoid the use of synchronization mode for concurrent DMAMUX channels, if at least two of them potentially generate synchronization overrun.

2.5.2 OFx not asserted for trigger event coinciding with last DMAMUX request

Description
In the DMAMUX request generator, a trigger event detected in a critical instant of the last-generated DMAMUX request being served by the DMA controller does not assert the corresponding trigger overrun flag OFx. The critical instant is the clock cycle at the very end of the trigger overrun condition.
Additionally, upon the following trigger event, one single DMA request is issued by the DMAMUX request generator, regardless of the programmed number of DMA requests to generate.
The failure only occurs if the number of requests to generate is set to more than two (GNBREQ[4:0] > 00001).
ES0468 - Rev 3
Workaround
Make the trigger period longer than the duration required for serving the programmed number of DMA requests, so as to avoid the trigger overrun condition from occurring on the very last DMA data transfer.
page 6/17
Loading...
+ 11 hidden pages