STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Voice compressing in STM32L4

I need to compress voice in STM32L4. Here are my requirements:* STM32L4 run at maximum 80 MHz* Voice to be sampled by ADC/DMA* Flash usage for voice compression < 50 kBytes* RAM usage for voice compression < 64 kBytes* Compressed data < 10% of origna...

RFlod.2 by Associate II
  • 291 Views
  • 9 replies
  • 1 kudos

USBX CDC ACM data read bug?

This behavior seems like a bug.I’m using USBX CDC ACM on a H723 nucleo board. I’m trying to work with the blocking nature of the ux_device_class_cdc_acm_read. For my application, I would like to get data as soon as up to 256 characters are received b...

tec683 by Associate III
  • 3122 Views
  • 18 replies
  • 1 kudos

NUCLEO-H7S3L8 USB_HS Clock Reset Timeout

The USB_OTG_HS peripheral keeps timing out on init and hanging the whole program.I have created a STM32 project using the NUCLEO-H7S3L8 board from the new project menu. I have enabled the USB_OTG_HS as device only (but left the middleware disabled) a...

Linduri by Associate II
  • 94 Views
  • 2 replies
  • 0 kudos

Wait on HAL_GetTick not working

Hi everyone,I'm new to STM32CubeIDE and encountering an issue with my code. It seems to halt at the following loop:  while ((HAL_GetTick() - tickstart) < wait) { } I've attached the .ioc file for reference. Can someone help me identify why the pr...

mkothuri by Associate II
  • 132 Views
  • 1 replies
  • 0 kudos

Resolved! void pointers

I faced with an interesting issue. Here is the code:1. Working: void GameScreenPresenter::activate() { IScreen* scr = &view; scr->Func(); } 2. Doesn't work: void GameScreenPresenter::activate() { void* ptr = &view; IScreen* scr = static_cast<IScreen*...

USBX Add Custom Class

MCU:STM32U585xxEnv:ThreadX + USBX + FileXI want to use USBX add my own class type, but I'm already have 3 classes, HID, MSC and CDC ACM, it means 4 classes after added my own.In file (ux_device_descriptors.h) have a define (USBD_MAX_SUPPORTED_CLASS  ...