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! I2C HAL lock state not properly updated

Hello,While I was tracking an issue on I2C bus, I found something that seems to be unconsistent in HAL file stm32l4_hal_i2c.c1 - routines I2C_WaitOn_____UntilTimeout() are called after locking the bus with __HAL_LOCK(hi2c) macro2- these routines upda...

STM32H743BI internal bootloader REMAPPING SYSTEM MEMORY in order to be able to jump to it's start address.

We're trying to use the internal bootloader (the one pre-programmed by ST)on a STM32H743.the datasheet says something about remapping system-memory in order to be able to jumpto it's start address.I have found some samples but they are general, and d...

ZSade.1 by Associate II
  • 504 Views
  • 0 replies
  • 0 kudos

Resolved! Custom bootloader for stm32h7

Hi community.. In the past i have developed a custom bootloader for the following mcu stm32f7... I was reading the usb and writing the flash section dedicated for the application.Now i have to do the same for the stm32H7.. Are the steps the same ? Ar...

SGasp.1 by Senior
  • 2102 Views
  • 8 replies
  • 0 kudos

How to configure DFU and virtual COM port in STM32F103C8T6 USB peripheral? Is it possible to do something like this?

Hi, I am developing a firmware for stm32f103c8t6 using STMCubeIDE 1.12.0. I want the USB to work as both a COM port and DFU device. Using the middleware in the STMCube it seems we cannot implement both of them at the same time. Any help is appreciate...

sg.1 by Associate
  • 710 Views
  • 0 replies
  • 0 kudos

Resolved! Azure RTOS licensing..

HiMy company wants to use ThreadX, NextX DUO, File X, Azure RTOS and was not clear if we need to pay for licensing when we send the product to market. we are using U5-series ST boards. can some help whether its an open source that ST has provided in...

meghasb by Senior
  • 3971 Views
  • 21 replies
  • 0 kudos

how to setup time stamp on SD card

I do have RTC working and SD, I found this code FRESULT set_timestamp (char *obj)   {   FILINFO fno;   HAL_RTC_GetTime(&hrtc, &sTime, RTC_FORMAT_BIN);      HAL_RTC_GetDate(&hrtc, &sDate, RTC_FORMAT_BIN);   int hour = sTime.Hours;   int min = sTime.Mi...

MNapi by Senior III
  • 1400 Views
  • 5 replies
  • 0 kudos

USB Type C for charging and Power on first priority.

Hello , Is it possible to use USB Type C for charging and Power as First Priority when the Wireless Charging and battery is active respectively?Or a hardware switch or firmware is needed for this?Also please suggest the corresponding ST USB IC and wi...

PVaaz.1 by Associate III
  • 1086 Views
  • 1 replies
  • 0 kudos

Problem with I2C on STM32H7A3IIK6

Hi, i'm developing a project on STM32H7A3IIK6 [cortex M7] and i'm having a problem using the I2C peripheral with the ST HAL functions. I've initialized the peripheral and enabled the Event and Error Inpterrupt with TX and RX DMA and, sometimes, i hav...

Miglio by Associate II
  • 3580 Views
  • 15 replies
  • 0 kudos