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! Timer PWM with DMA stops too early on STM32G431

Hi there,I would like to control WS2812B LEDs with a PWM timer and DMA.There are various tutorials on this, but they have not helped me and I am now asking you. Because it requires slightly different configurations depending on the model (F3, F4, G4,...

tim1_mode.png tim1_conf1.png tim1_conf2.png dma_settings.png
ABach.4 by Associate II
  • 326 Views
  • 12 replies
  • 0 kudos

STM32 USB CDC not working for F0, F4 boards

I have tried USB examples for Stm32F070, F401, F407 Black board and calling a single "CDC_Transmit_FS" function to print a string but none is working. The hcdc->TxState value is some garbage big value so it always stay busy and also not getting inter...

Lakshay by Associate
  • 100 Views
  • 0 replies
  • 0 kudos

STM32F103C6T6 USB Bootloader Flash Issue

I've been previously programming the STM32F103C6T6 blue pill with an FTDI via UART and am now trying to flash a USB bootloader binary to program it directly via USB.I've closely followed the guide on https://www.electrosoftcloud.com/en/stm32f103-boot...

Kartik1004_0-1695959768385.png Kartik1004_1-1695959829733.png Kartik1004_2-1695959884237.png Kartik1004_3-1695959973802.png

STM32N657X0-Q write to spi flash using code

For a project i want to save log files in the external SPI of the Stm32n6 for this is already tried to configure xspi2 and the external memory, but i am not sure if i have done it right. I also have found no source on how to continue with the Code af...

Screenshot 2025-07-17 103829.png Screenshot 2025-07-17 105040.png
Nixxen by Associate
  • 113 Views
  • 2 replies
  • 0 kudos