STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...

gif-stm32u0.gif

Resolved! Can't disable backup domain write protection in PWR_CR1

Hey there,I'm trying to access STM32G071's backup register TAMP_BKP0R, PWR_CR1 is set successfully, however I can't store anything in the backup register.enum backup_reg{foo0, foo1, foo2, LOW_POWER_RESET};      RCC_APBENR1 |= RCC_APBENR1_PWREN_MASK; ...

luuuuuuu1 by Associate II
  • 1521 Views
  • 20 replies
  • 0 kudos

I2C Circular mode tx

Hello. I'm trying to set I2C on the stm32l052 processor to send data continuously in circular mode. It sends once and then stops. The code appears below.

Snm.1 by Associate III
  • 200 Views
  • 0 replies
  • 0 kudos

Code reset with message "Tue Apr 19, 2022 10:21:53: The stack pointer for stack 'CSTACK' (currently 0x2002FFE8) is outside the stack range (0x2002FFF8 to 0x20030000)"

I was debugging some code in STM32F4 controller. I build and flash some code related to DMA, During the debugging process the code is getting reset.Debug log is attached belowTue Apr 19, 2022 10:21:53: The stack pointer for stack 'CSTACK' (currently ...

JohnsAby by Associate II
  • 190 Views
  • 0 replies
  • 0 kudos

To design STM32F051 as Slave.

To design STM32F051 as Slave.When receive the data from Mater, the STM32F051(Slave) can return data to the Master.Current design:(1) After the MCU is initialized, it will call HAL_I2C_Slave_Receive_IT() to set the I2C interrupt to the receiving stat...

Lweij.1 by Associate
  • 170 Views
  • 0 replies
  • 0 kudos

STM32F429's I2C cannot send data after calling HAL_I2C_Master_Transmit_DMA, Then both the SDA and SCL switch high level to low? it always return HAL_I2C_STATE_BUSY_TX.

HAL_StatusTypeDef HAL_I2C_Master_Transmit_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size) { if(hi2c->State == HAL_I2C_STATE_READY) { if((pData == NULL) || (Size == 0)) { return HAL_ERROR; }   ...

Labels