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

Resolved! STM32L4xx HAL Library USB bug. Function USB_WritePMA does not work properly when compiled with "-O3" option.

I used latest CubeMX version and found another one bug in stm32l4xx_ll_usb.c generated by it. If you will compile code using "-O3" optimization level, function USB_WritePMA will not work properly. /** * @brief Copy a buffer from user memory area to ...

Leave DFU mode without unplugging cable

Hi,We are looking for a way to leave DFU mode (and the bootloader) and jump to the application without having to follow the mechanism of issuing the "Leave DFU" command, and unplugging the USB cable within the allotted 10 seconds.Is there another way...

STM32F103C8T6 ST-Link Bootloader Flashing

Hello!I'm new here, so please and sorry for the request but thoroughly explain your answers thankyou.I have an STM32F103C8T6 Board and a ST-Link V2. I can send sketches from the arduino IDE just fine using ST-Link, but neither UART(Serial) nor USB(ST...

KAyou by Associate II
  • 3281 Views
  • 3 replies
  • 0 kudos

how on stm32f765zi read flags? i2c specific format

Hello.Sorry for my bad English:) I am trying to read flag on the device MLX90614. datasaheet Page 23. The format of a SMBus transaction which reads flags is: i.e i must send start->slave address->command and right away without send repeat start recei...

0690X000008isnLQAQ.jpg 0690X000008it2zQAA.jpg
User.5 by Associate
  • 394 Views
  • 0 replies
  • 0 kudos

HAL_SAI_FlushRxFifo function implementation

On the UM1725, DocID025834 Rev 5, par 57.2.1, pag. 766 A function called HAL_SAI_FlushRxFifo() is contemplated among the "SAI HAL driver additional function list".On the hal driver, this function is declared on the comments but it is not implemented....

raffin by Associate III
  • 484 Views
  • 0 replies
  • 0 kudos

GPIOs under DFU mode are set randomly

Hi​ ST support team,I am using STM32L4 for a developing project. And I recently found that the GPIOs under DFU mode are set very randomly.That means, for most of the boards we produced, for a specific pin, it is set as LOW, but some are set as HIGH. ...

WJi.2 by Associate
  • 613 Views
  • 2 replies
  • 0 kudos