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

How to Record audio in STM32U5 (B-U585I-IOT02A)

Hello Community,I'm working on stm32u5(B-U585I-IOT02A). B-U585I-IOT02A has two digital mics, and St officially has an example of BSP to record audio.So after taking references from: https://github.com/STMicroelectronics/STM32CubeU5/blob/main/Projects...

LWIP SOCKET How can server tell if Client disconnected without "warning"? Server on MCU (STM32F429ZIT6, custom board), Client application on Windows I spent two days trying to figure a solution to this problem. Here is my solution, what do you think?

in main.c int connectionClosed = 0; ... Setup routine of socket ...  while(1){ sin_size = sizeof(struct sockaddr_in); new_socket = lwip_accept(s_create, (struct sockaddr *)&client_addr, &sin_size); if (new_socket > 0){   msgSize = sprin...

DPatr.2 by Associate III
  • 915 Views
  • 0 replies
  • 0 kudos

I am having trouble making a USB-CDC host work on a STM32F407 chip. The primary problem is it seems to get stuck in an endless loop in the CDC state ENUMERATION. I originally built the code using the STM32Cube application.

I will mention at this point that I am connecting to a known working CDC device. I know it is working because I can connect the same port to a PC, and it enumerates properly, and I can pass data to/from the device.In module usbh_core.c function USBH_...

BBert by Associate III
  • 690 Views
  • 1 replies
  • 0 kudos

Changing CAN bus clock of the sys mem bootloader

According to documentation, after jumping to sys mem bootloader address, the bootloader sets up CAN2 with a 125 kbps clock. Is there a possibility to change that clock to 1 Mbps ? Reason : At the time of reflashing one node in the network, other node...

HRupp.1 by Associate
  • 413 Views
  • 0 replies
  • 0 kudos