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 III
  • 659 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
  • 4188 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
  • 218 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
  • 374 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*...

Resolved! FDCAN Error Counters

Hello,Where can I find documentation on the error counters of the FDCAN_ErrorCountersTypeDef structure? I would be particularly interested in how the incrementation of TxErrorCnt behaves if hfdcan1.Init.AutoRetransmission = ENABLE; (How often does th...

MFrie.7 by Associate III
  • 398 Views
  • 3 replies
  • 1 kudos