cancel
Showing results for 
Search instead for 
Did you mean: 

Simulink External Mode Timeout when using UDP Send

MartinStmmhmmr
Visitor

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

1 REPLY 1
SofLit
ST Employee

Hello @MartinStmmhmmr and welcome to the community,

For any Simulink subjects please submit your request on Mathworks Community: https://www.mathworks.com/matlabcentral/answers/index

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