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! X-CUBE-EEPROM doesn't update variable

Hello,I am using X-CUBE-EEPROM as a mean to store variable in internal FLASH memory on STM32U5G9-DK2 board. Here is my function where a variable in flash:static FLASH_STATUS flash_slot_write_shared_key(const FLASH_INDEX *index, uint8_t slot, uint8_t ...

cfl by Associate II
  • 168 Views
  • 1 replies
  • 2 kudos

Resolved! STM32N6 USBX Standalone Guide

Is there a guide that shows how to set up a CDC USB device on the STM32N6 without using ThreadX in baremetal mode?   I've tried following both, but it seems to hardfault on both examples crash at __lib_init_array(). I've tried increasing the stack an...

csaji by Associate III
  • 3675 Views
  • 9 replies
  • 4 kudos

Resolved! STM32C5 USBX Middleware

Hi all! Thank you for taking time to assist me. I am attempting to make a composite USB Device on the NUCLEO-C562RE. I found the Middleware USBX examples and the core drivers exist in my toolchain at: STM32CubeC5/middleware/usbx However, I cannot see...

jarink by Associate II
  • 373 Views
  • 5 replies
  • 2 kudos

I made I2S-USB Audio Bridge Microphone Drivers

First and foremost, they aren't perfect. The code has tons of work left. But it took me SO long to get ANY i2s audio data from my guitar to my computer, the major hurdle being mostly the lack of USB Microphone drivers provided by the stack.Now that I...

pszsh by Associate
  • 1194 Views
  • 1 replies
  • 0 kudos

STM32U535 LPBAM LPTIM3 capture problem

Hi,I'm trying to get LPBAM Low power timer capture to work in a frequency measurement application. The intention is to use LPBAM to write input captures from LPTIM3 to a buffer in SRAM4 while in Stop mode 2. The app loop just sets a wakeup via the RT...

Screenshot 2026-04-28 172053.png Screenshot 2026-04-28 172338.png Screenshot 2026-04-28 174846.png Screenshot 2026-04-28 175007.png

Resolved! Which Compiler for Safety Application?

We develop a measuring device which should be capable of SIL 2. It would be possible to fall back to SIL 1 only. STM32F4 MCU is used with STL-Safety-Library.Has anybody qualified the gcc for that? Or did you replace the compiler by already qualified ...

awiernie by Senior II
  • 152 Views
  • 1 replies
  • 2 kudos