Problem with UDP communication while configuring stm32nucleo using cubemx in Simulink

52 views (last 30 days)
Hello everyone,
I am migrating a Simulink-based project from STM32F767 to STM32H753ZI (Nucleo-H753ZI) and facing persistent issues with UDP Receive and send blocks in Monitor & Tune mode.
Below are the full details of my setup and everything I have already tried.
//Environment
Board: Nucleo-H753ZI MCU: STM32H753ZITx STM32CubeMX version: 6.15.0 Simulink with STM32 support package Host: Windows PC Connection: Ethernet (RMII)
//Working peripherals
PWM (TIM1, TIM4, TIM15) → working I2C (I2C1, I2C2) → working GPIO → working Model runs fine in Monitor & Tune until UDP blocks are enabled
//Problem
When I uncomment the UDP Receive or UDP send block and run Monitor & Tune, Simulink throws the error:
“To use TCP, UDP or MQTT blocks, set the Rx buffer address to 0x30040200 in the STM32CubeMX project.”
This error persists, even though the Rx buffer address is already set correctly.
I have also attached the txt file of the ioc(cubemx) file.
I tried everything I could. Did everything chatgpt asked. But I'm hopeless. If anyone can provide any insight, it would be really helpful.

Answers (1)

Madhu Varshini
Madhu Varshini on 20 Jan 2026 at 4:01

Products


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!