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

Serial communication limited to 512 bytes

Hello, I am using a NUCLEO-H7A3ZI-Q to send and receive packets over serial. I have a varying payload size, so I am using: HAL_UARTEx_ReceiveToIdle_DMA(&huart3, rx_buffer, 4096); as this searches for an idle at the end of the frame to begin processin...

Pincate by Associate II
  • 177 Views
  • 7 replies
  • 4 kudos

USB PD (UCPD) on STM32H562

Hi,I´ve problems getting UCPD running on a STM32H563. With STM32G0 I´ve alraedy realized a lot of such projects with UCPD. Hence I suggest, that it maybe is a problem of the DMA which is much more complicated to configure on the H5. Is there any info...

AWack by Associate III
  • 798 Views
  • 6 replies
  • 0 kudos

Example for USB HID / NUCLEO-071RB

I have a NUCLEO-071RB development board.Is there a ready to run example for this board somewhere?I tried to generate a bare bone example with CubeMX.The code loads and runs but hangs in here:MX_ThreadX_Init =>  tx_kernel_enter => tx_initiali ze_kerne...

nyholku by Associate
  • 55 Views
  • 1 replies
  • 0 kudos

USBX MSC *media_status value meaning

Hello!i'm developing a firmware that use an SD card connected to USBX MSC, and i have a couple of question i want to understand better the  ULONG *media_status value returned in the function :UINT USBD_STORAGE_Status(VOID *storage_instance, ULONG lun...

ABasi.2 by Senior
  • 518 Views
  • 11 replies
  • 0 kudos

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
  • 209 Views
  • 8 replies
  • 3 kudos