STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 932 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
  • 130 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
  • 129 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
  • 112 Views
  • 0 replies
  • 0 kudos

Resolved! STM32G0B1 EXTI DMA GPIO

Hello dear All,On STM32G0B1 I'm trying to capture PORTD[0-7] value with DMA on EXTI0 event (PD0 falling edge)(Read PORTD value in EXTI0 interrupt is too slow for this application -> PORTD change value before entering IRQHandler())I configure EXTI and...

MTE_MMO by Associate
  • 494 Views
  • 2 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; }   ...