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

USB_WritePacket stuck in infinite loop

 Hello ST Team,I developed a custom USB DFU HOST class on an STM32F446ZE. I soldered a USB-C cable directly to the D+/D-, 5V and GND pins.The Problem: The stack works correctly for transfers up to 128 bytes. However, when I set phost->Control.setup.b...

USBX Audio - Speaker does not play true stereo

I am using a UX_Device_Audio2.0-based project on H7. When I play a stereo file (actually dual mono), the right channel plays correctly, but the left channel contains a mix of left + right.When I play mono file, the right channel is much louder while ...

audio by Senior
  • 83 Views
  • 5 replies
  • 1 kudos

Resolved! UART output data gets corrupted

So here is the outline of my code. I'm getting data every 5 seconds (example data: "vref:2975.12, voltage_max:30.00, voltage_min:-1219.00,avg_error: 4136.04") via UART and i transmit it again to view it in putty via ST Link (USART3). Problem is some ...

sreyas40_0-1768217556423.png

Program STM32L471 with HAL_FLASH_Program failed

I am migrating from STM32L431 to STM32L471. After migration, the function relating to internal flash writing does not work any more. The problem is when I programmed internal flash with HAL_FLASH_Program(FLASH_TYPEPROGRAM_DOUBLEWORD, address, data), ...

Huiqi by Associate II
  • 70 Views
  • 5 replies
  • 0 kudos

Implement WebSocket Protocol on STM32?

Hello,I am currently working on a project with an HTTP server, successfully implemented using FreeRTOS. In this setup, I handle client requests for opening and collecting data from the client side. However, since I need to display real-time data on a...

AS5 by Associate II
  • 3453 Views
  • 11 replies
  • 4 kudos

Resolved! USBD_CDC_ACM_Activate() never get called

Hi,I have implemented CDC USB device on my custom board using STM32C071CBT6. When i connect USB cable to host PC then I can see Virtual COM Port on PC as 'USB Serial Device (COMxx)' However, I tried transmitting some data which I could not receive on...

PPate.1 by Associate III
  • 780 Views
  • 3 replies
  • 0 kudos