STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Why does I2C get stuck with HAL_BUSY state?

Hi, I am trying to read MPU6050 FIFO data with STM32F103C8T6 after I get an interrupt from MPU6050. All works well at start, but after some time I2C gets stuck with HAL_BUSY state and never recovers from it. Here is my code:void HAL_GPIO_EXTI_Callbac...

JBond.1 by Senior
  • 979 Views
  • 4 replies
  • 0 kudos

STM32L4 UART Rx not working

I was trying to configure USART on an STM32L476 Discovery board. I know that register level coding is not great but it really works well for what I need to use the board for. I was able to send messages out using the transmit but I'm not able to get ...

RS.2 by Associate
  • 828 Views
  • 1 replies
  • 0 kudos

Device address in stm32L4

Im using STM32L4 how i2c master with 5 i2c slaves In stm32l1 when using callback i can detect device using :  if (hi2c->Devaddress == I2C_ADDRESS1) // slave 1  {}In STm32L4 don't exist hi2c->Devaddress ..Yu can help me .BR.Francesco

bfran.1 by Associate II
  • 1262 Views
  • 7 replies
  • 0 kudos

Why would I see different results writing data via the FMC while debugging with a breakpoint on the enable step compared to running without breakpoints? With the breakpoint, I get valid data.

I'm using the FMC of a STM32H7 micro to communicate with an LCD, which has timing signals similar to a NOR SRAM. I have the MDMA configured to write 16-bit words out of a buffer to the FMC at the 0x60000000 address (bank 1). The MDMA is configured to...

DBatc by Associate
  • 421 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F746 "forgets" flashed program (and more)

I migrated to a new self-created PCB with a STM32F746IE. I noticed that if I flash anything, the program works immediately after flashing, but not after power off/on. As a simple example, I created a program with two blinking LEDs. They blink after f...

STM32G474 SPI DFU mode not working

I'm using STM32H753 eval board as master and STM32G474RE Nucleo board as slave over SPI1 communication. I've created a DFU for LED blink on Nucleo board which works fine if I download it through USB(connected PA11, PA12, 5V and GND) usinf DeFuseDemo ...

AShel.1 by Associate III
  • 577 Views
  • 3 replies
  • 0 kudos

ADC Low power - consumption

Hello,I have a custom PCB with stm32L562 on it. I'm able to put it low power run mode.My consumption is 0.2mA, but if I init ADC the consumption jums to 0.3mA.I've tried to deinit it before going to stop 1 mode but it does not helpHAL_ADC_Stop(&hadc1...

Artuan by Associate II
  • 1391 Views
  • 9 replies
  • 0 kudos