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

User Defined Context in HAL Callbacks

Hi! I have ran into an issue with the HAL that I have yet to find a decent solution to. This issue has been discussed multiple times in different contexts on the forum, and I though I would write a post to gather some of the discussions/proposed solu...

jostlowe by Associate III
  • 1670 Views
  • 12 replies
  • 11 kudos

NUCLEO-F401RE .bin file

Hello,  I'm Emily and I'm fairly new at using NUCLEO devices and ToF sensor. I would like to ask if a board NUCLEO-F401RE could only run one .bin file or could it run two .bin file? I'm currently trying out STSW-IMG035 but would like to have Gesture ...

STM32U5 SDMMC1 & 4-wired MicroSD

Hello, I am currently using an STM32U5G9 and would like to connect a microSD card via SDMMC1 to expand data storage. My Zephyr device tree contains the following node: &sdmmc1 { status = "okay"; pinctrl-0 = <&sdmmc1_d0_pc8 &sdmmc1_d1_pc9 &sdm...

devin-hu by Associate II
  • 47 Views
  • 0 replies
  • 0 kudos

Resolved! ADC Callback not firing with DMA

Hi all, I've recently been working on a Nucleo H723ZG with a working implementation that allows for ADC reading over DMA. I've got a Timer event that triggers it at 20kHz and it was reading and processing multiple ADCs. I've shifted to using a custom...

evanpol by Associate III
  • 99 Views
  • 5 replies
  • 0 kudos

USB CDC packet loss at high data rates

When using a USB CDC device, especially at high data rates, there is a possibility for packet loss. This post illustrates the issue with what I consider convincing evidence. This isn't a STM32 bug, but it's something you may encounter when interfacin...

TDK_1-1766165272664.png TDK_2-1766165357056.png TDK_0-1766165197615.png
TDK by Super User
  • 158 Views
  • 1 replies
  • 2 kudos

Resolved! USBX on STM32H5 CDC - Can't open port.

Hi. Unfortunately, after several days of struggling with USBX, I'm forced to ask for your help. I'm using custom boards with the STM32h503RB and STM32h563VI. I tested the old library according to forum guides – no response when connected to a PC. The...

Jin454 by Associate III
  • 97 Views
  • 4 replies
  • 0 kudos