Skip to main content
Visitor II
November 8, 2024
Solved

Simulink External Mode Timeout when using UDP Send

Hello,

 

I am developing an application using a Nucleo-H723ZG Board in Simulink. I want to read sensor data using I2C and then sending the information to an dSpace Control System using UDP. As I am most knowladgebale using Simulink Code Generation I chose this workflow for this application aswell.

So far I was able to read sensor data using I2C while connected with the Board through Simulink External mode using USART3 through CN1 USB PWR. When I add the UDP Send Block to my model and try using the Monitor&Tune function in Simulink 2023a I get a XCP Timeout error and I can not connect to the Nucleo Hardware. Once I uncomment the UDP Send the model compiles and connects correctly again.

I have configured the ETH using the provided tuorial

https://de.mathworks.com/help/ecoder/stmicroelectronicsstm32f4discovery/ug/ethernet-options.html

External Mode is configured to use serial interface. 

Does anyone have an idea where this sudden behaviour change my come from?

Best Regards

Martin

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
November 8, 2024

Hello @MartinStmmhmmr and welcome to the community,

For any Simulink subjects please submit your request on Mathworks Community: https://www.mathworks.com/matlabcentral/content/communities.html.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

1 reply

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
November 8, 2024

Hello @MartinStmmhmmr and welcome to the community,

For any Simulink subjects please submit your request on Mathworks Community: https://www.mathworks.com/matlabcentral/content/communities.html.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.