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

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
  • 3862 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
  • 474 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
  • 539 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
  • 728 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
  • 475 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
  • 529 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
  • 490 Views
  • 0 replies
  • 0 kudos