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

STM32L4 Using DAC to play audio/voice files.

Hi,Has anyone tried or managed to have success in playing audios or voices data using the on board DAC on STM32L452? with a speaker connecting just to the DAC. I am at a proof of concept stage, where I am using an ST PDM microphone connected to an N...

Sam Ho by Associate II
  • 2833 Views
  • 8 replies
  • 0 kudos

USB CDC device sometimes fails to receive

I'm using the USB CDC library on a STM32L452 created with CubeMX and have run into some problems with receiving data over USB. Every week or so I experience that the device stops receiving data (the transmit side works fine). In other words, the CDC_...

abaldur by Associate III
  • 478 Views
  • 0 replies
  • 1 kudos

FreeRTOS + GPIO won't work after naming GPIO

Hi all, I made a PCB with STM32F103RE. And I build a code with STM32CubeMX, which contain FreeRTOS, a GPIO input & a GPIO output. I can write a program that flash a LED driven by the output GPIO. But once I rename the GPIOs via STM32CubeMX, the LED...

SSin by Associate III
  • 323 Views
  • 0 replies
  • 0 kudos

Resolved! STM32H7 CubeMX LL drivers

Hi,when porting some code that uses CubeMX LL drivers to a H7, I noticed that CubeMX doesn't allow selecting LL drivers for any peripherals, but insists on using HAL for everything.Is there a particular reason that LL drivers can't be used on the H7,...

patrislav by Associate II
  • 1202 Views
  • 5 replies
  • 0 kudos

STM32 USB-PD Power Delivery Software Expansion

Hey, I am working on one of the example projects that is provided as part of USB-PD software expansion, by using SW4STM32 toolchain. I am using TCPM-TCPC architecture. During initialisation i am having errors for PE_Init. Does anyone have followed a ...

FaikN by Associate II
  • 1206 Views
  • 4 replies
  • 0 kudos

STM32G0 CubeMX USB PD Configuration

I am working on getting the USB PD pins setup in CubeMX for a board I've just built. I am using the STM32G071CBT6.I was not planning on using the Dead Battery functionality, so I connected the CC lines to PA8 and PB15 to use UCPD1. And USART1 to PA9,...