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

Receive UDP broadcast from a particular source port

Hi all,I am working on a project that transmits UDP packet to a remote IP and port. I need to receive a broadcast packet from a particular source port. Below is my current UDP initialization.I am using LWIP stack for UDP communication. How should I i...

SSala.3 by Associate III
  • 852 Views
  • 0 replies
  • 0 kudos

Resolved! How to use STM32 as a USB host and mount USB device??

/* USER CODE END Header */ /* Includes ------------------------------------------------------------------*/ #include "usb_host.h" #include "usbh_core.h" #include "usbh_msc.h" /* USER CODE BEGIN Includes */ #include "ff.h" /* USER CODE END Inclu...

jsoda.1 by Associate III
  • 2977 Views
  • 2 replies
  • 0 kudos

Hello guys, I am working with STM32G0C1RET6. I want to use STM32 as a USB host and want to save data on USB flash stick. I followed some tutorial from ST microcontroller's youtube channel but I am still not able to mount my USB device. what should I do?

Here are details about my project:I have connected my USB_DM and USB_DP pin directly to USB connector.I enable A9 and selected as a GPIO output using VBUS setting in CUBEIDE. Which is providing me 3.3VI read that there is inbuilt pull up resistor in ...

jsoda.1 by Associate III
  • 2090 Views
  • 12 replies
  • 1 kudos

Why does HAL_SAI_Receive_DMA() return an 8bit-value?

Most commonly used busses like I2S use a framesize of 64bit (32bit left, 32bit right)DMA uses the bus width (also 32bit)Audiodata with bit depth 8bit is almost useless anywaysSo why does HAL_SAI_Receive_DMA() return an 8bit-value? Wouldn't it be much...

JTedot by Associate II
  • 1534 Views
  • 4 replies
  • 0 kudos