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

Restarting the ethernet + OS

Hello everyone.What is the proper procedure when restarting the entire ethernet?Im using LWIP and FreeRTOS and im not sure if im restarting everything correctly...These are the steps im using.Terminate TCP Server thread. netif_set_down(&gnetif); neti...

XD by Associate III
  • 1506 Views
  • 4 replies
  • 0 kudos

LWIP RX_POOL problem

I am using FreeRTOS and lwIP (callback api) on the STM32F407. I have 1 UDP and 2 TCP ports. After a few hours, the struct pbuf_custom *p = LWIP_MEMPOOL_ALLOC(RX_POOL); operation returns NULL. When I checked the ethernetif.c file, I noticed that the E...

lwip - tcpecoserver - transmit data

Hello.I am using an STM32H743BI processor in the project.I am using freertos.I have completed the connection setup from ethernet. I can ping the device and connect as tcpclient.In the working scenario I need to send data at 100ms intervals as long as...

emreozdemir_0-1729518501194.png

UDP MTU Fragmentation on a STM32

I'm using the LWIP library and STM32F407. I’m trying to send a 1860 bytes  through Ethernet using UDP protocol, exceeding the Ethernet MTU (1500 bytes) so my data is fragmented. I´ve used some programs to test If I could read UDP stream, but nothing ...

MTasso_0-1734066441653.png
MTasso by Associate
  • 1282 Views
  • 3 replies
  • 0 kudos

STM32G030 and X-CUBE-EEPROM

Hi, I'm trying to use https://www.st.com/en/embedded-software/x-cube-eeprom.html on my custom stm32g030 board.Following the examples I write this code:   HAL_FLASH_Unlock(); ee_status = EE_Init(EE_FORCED_ERASE); if(ee_status != EE_OK) { Erro...

Lgarb1_0-1735511572087.png Lgarb1_1-1735512281721.png
Lgarb.1 by Associate II
  • 672 Views
  • 0 replies
  • 0 kudos

Resolved! USBX examples for NUCLEO-C071RB (rev. B03)

Hello, while testing the STM32Cube Ux_Device_* examples for STM32C071, I have encountered an issue of them not properly finishing USB enumeration. For example, both Ux_Device_HID and Ux_Device_HID_Standalone stall after the configuration descriptor p...

AlexNB by Associate
  • 815 Views
  • 1 replies
  • 0 kudos