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

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
  • 4815 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
  • 301 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
  • 477 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
  • 553 Views
  • 3 replies
  • 1 kudos