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

Resolved! Setting up USB HS FIFO size for STM32H745

Hi. I'm trying to migrate from USB FS to HS composite device on STM32H745. FS device (VCP+MSM) works fine, the settings for FIFO are: HAL_PCDEx_SetRxFiFo( &hpcd_USB_OTG_FS, 0x80 ); // RxFIFO:     HAL_PCDEx_SetTxFiFo( &hpcd_USB_OTG_FS, 0, 0x40 ); // E...

SLuka.1 by Associate II
  • 1828 Views
  • 2 replies
  • 0 kudos

My program goes into Hardfault_handler during enabling interrupt routing for SPI interfacing with TI Wi-Fi module[cc3135] using freeRTOS_POSIX.

My project is to publish/subscribe data between STM32H750 MCU and AWS cloud. For that I used to interface CC3135 Wi-Fi module for TI with my MCU. I am using freeRTOS_POSIX driver to communicate Wi-Fi module via SPI bus. I had successfully ported demo...

HPosh.1 by Associate
  • 758 Views
  • 1 replies
  • 0 kudos

How to abort a HAL_I2C_Mem_Read_DMA()?

Hello community,I've a code that calls the function HAL_I2C_Mem_Read_DMA(), and I want to abort the operation under a certain condition. I tried the function HAL_I2C_Master_Abort_IT(), but it is not working. could you please help me find a way to abo...

Araqi.1 by Associate II
  • 561 Views
  • 0 replies
  • 0 kudos

HI, I have a problem with the example program provided by stmCUBE IDE and my board nucleo-H723ZG, the example program (LwIP_TCP_Echo_Server LwIP TCP Echo Server Application)

Hi,I have a problem with the example program provided by stmCUBE IDE and my board nucleo-H723ZG, the example program (LwIP_TCP_Echo_Server LwIP TCP Echo Server Application) contains inside a README. txt that explains how to run the example, but it is...

GNobi.1 by Associate II
  • 848 Views
  • 2 replies
  • 0 kudos

SPI Data Register Problem

Hi,​I`m using STM32G431 for practicing SPI protocol knowledge, but face some problem like below.​I use �?HAL_SPI_Transmit_IT】API to send (0x5A,0xA5) data out, but measure with Oscilloscope and figure out the wrong data.In �?SPI_TxISR_8BIT】show how d...

0693W00000DlyATQAZ.jpg

How DMA works for USB HS

I am wondering how DMA works for USB HS. As far as I know it is a "machine" to copy memory to another place. And how is it implemented for USB ? We have there a FIFO queue and from what I observed in the driver, the data from the FIFO are copied by t...

PPiór.1 by Associate III
  • 639 Views
  • 1 replies
  • 0 kudos