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

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
  • 510 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
  • 676 Views
  • 2 replies
  • 0 kudos

How to switch between MSD and FatFs?

Hi I like to use my small mcu system (stm32f401 with 4bit SDIO and USB-Device) in the follow way:If USB is plugged in -> the system should behave like a msd on a windows machine.If USB is not plugged in -> the system should read the files from the sd...

CFosc by Associate
  • 434 Views
  • 0 replies
  • 0 kudos

STM32F413VGT uart9 baud rate problem

There is a bug to set baud-rate of uart9.If I set it to 9600, it works as 19200.I think it is a problem of driver code.The UART9 and UART10 should use PCLK2 but the code uses PLCK1.Please check below.My environment:Win 10. 1809STM32CubxMX version 5.2...

TKim.11 by Associate
  • 488 Views
  • 0 replies
  • 0 kudos

Is there any good Can periephal examples available?

The title pretty much says it all, to me it seems to be impossible to get the CAN periephal running with the HAL codes.loopback works all night, next it crashes to first message.i can sniff my car's canbus, then i cant.is there any alternative availa...

JoniS by Senior
  • 446 Views
  • 0 replies
  • 0 kudos