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

STM32U5G7 MX_USB_OTG_HS_PCD_Init() hangs

Hello STM32 friends!I've previously used USB on an STM32G474RET6, and it was initialized with the function:MX_USB_Device_Init()The goal is to use it as a USB serial port to communicate with my device, and that worked.Now I'm using the STM32U5G7VJT6, ...

Jack3 by Senior III
  • 405 Views
  • 6 replies
  • 2 kudos

What's a DMA TransferAllocatedPort?

I'm still working my way around the DMA learning curve.  Having found the IOC approach to DMA configuration too confusing, I'm configuring the structs and calling the HAL_DMA_Init(...) method myself.Something I haven't been able to find clearly descr...

Brian H by Senior
  • 243 Views
  • 3 replies
  • 1 kudos

Resolved! 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 III
  • 702 Views
  • 10 replies
  • 4 kudos

Resolved! 512 byte limit with HAL_UARTEx_ReceiveToIdle_DMA

Hello, I am having a issue with HAL_UARTEx_ReceiveToIdle_DMA on a NUCLEO-H7A3ZI-Q, when using the following code:uint8_t rx_buffer [4096]; HAL_UARTEx_ReceiveToIdle_DMA(&huart3, rx_buffer, sizeof(rx_buffer)); void HAL_UARTEx_RxEventCallback(UART_Handl...

Pincate_0-1771425939000.png Pincate_1-1771425954208.png
Pincate by Associate III
  • 567 Views
  • 11 replies
  • 0 kudos

Issue with MX_JPEG_Init Blocking on STM32N6DK750

Hello,I’m trying to add the JPEG encoder to be able to save images in JPEG format to the SD card.While debugging with LEDs, I noticed that MX_JPEG_Init blocks the program, whereas HPDMA is working correctly.I have added all the necessary files for JP...

HMTb by Associate II
  • 234 Views
  • 3 replies
  • 0 kudos

Development tools for external loaders

I have developed a custom board for STM32F469NIH6 and is loosely based on STM32F469i-DISCO, it uses an external QSPI Flash memory type MT25QL128A as does the DISCO board. For this setup I am using ST supplied external loader MT25QL128A_STM32F469I-DK....