2024-11-08 05:16 AM
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
2024-11-08 05:18 AM - edited 2024-11-08 05:25 AM
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