STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

SM32F011F3 - ADC DMA, HAL_ADC_ConvCpltCallback only called once. Variable set 1 but not grabbed by if. Code only running after programming.

Hello ST-Community!I am having a very rough start with my first project using an STM32 MCU. My task is actually very simple and I was confident I could fit this in 8kb of program memory. It actually fits the flash in release build, but I cannot debug...

0xD by Associate II
  • 510 Views
  • 0 replies
  • 0 kudos

Resolved! LwIP set link down - why it is required?

Hi,Why it is required (or recommended, as I see in examples) to set the link down when the cable is plugged out from the ethernet connector? It works when I once set the link up and leave it up forever. It doesn't matter when I plug out and in the ca...

Send value in UDP packet

Hello,I have a problem. My program doesn't send value in UDP packet and program crash. I try everything, But I didn't find anything.Some variables and constantstypedef struct UDPsender { struct netconn *udp_sender_server; struct netbuf *udp_send_bu...

STM32F4 I2C HAL Driver problem

Hi STM,I am using STM32F4 I2C with DMA as a slave device.I found that the below snippet of code in I2C_ITError function (stm32f4xx_hal_i2c.c, line 6146) assumed that if hdmatx is not in HAL_DMA_STATE_READY, then it must be hdmarx in HAL_DMA_STATE_REA...

STM32F446 + DMA + FATFS + SDIO

Hello everybody,using Fatfs and f_write, when writing the file "1, 2, 3, 4" to the SDCard, I can see that what is written on the SDCard is "0,0,0,0,1,2,3,4" . What layer is inserting the 4 "0" at the beginning of the file and why ? Is it an 32bits a...

papageno by Associate III
  • 774 Views
  • 5 replies
  • 0 kudos

How do I set the user_configuration especially nBOOT_SEL, nBOOT1, nBOOT0 with the I2C protocol used in the STM32 bootloader?

I tried to set the option byte via write memory command using the address: 0x1FFF7800, but it don't work it always returns a NACK. If I try to read from this address no problem occurs.I also tried to read FLASH_CR (0x4002 2014) and to write FLASH_KEY...

ARudm.1 by Associate
  • 1041 Views
  • 1 replies
  • 0 kudos