STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to handle UART errors?

Hello!I'm receiving data in UART Rx with DMA and I need to make it inmunne to disconnections. Now, sometimes I can recover the communication after a disconnection, but I need it always.Using the debugger I realized that huart1.ErrorCode change its va...

SGonz.2 by Associate II
  • 1364 Views
  • 4 replies
  • 0 kudos

STM32F4 Storing data directly in SRAM

Hi, I'm looking for a way to store data directly in SRAM. You may ask "Why?":So, my system is collecting data from sensors and writing them to SD card. One full block of data is 128 bytes long. Collecting data and write operation happens when certain...

bmak by Senior
  • 5178 Views
  • 10 replies
  • 0 kudos

Pulse delay in STM32F051C6T6

I am using STM32f051c6t6. I am using internal crystal clock source. I have also set Timer clock source to 24 MHz. I am writing simple program to generate low and high pulse. The 10 us pulse is not generated properly. The rise and fall times has delay...

0693W00000NsgKwQAJ.jpg
FLast.5 by Associate II
  • 735 Views
  • 3 replies
  • 0 kudos

I2C MASTER TRANSMIT IS NOT WORKING

I have tested the  HAL_I2C_Master_Transmit(&hi2c1, 0x68, some_data, 10, HAL_MAX_DELAY);in my nucleo stm32f302r8. But, It is not working, when I go to debug, the program retun HAL error at checking the NACK is detected or not. below is picture: Here i...

0693W00000NsjHCQAZ.jpg 0693W00000NsjHHQAZ.jpg
WM_IR by Senior
  • 2429 Views
  • 6 replies
  • 0 kudos