TRANSMIT SIMULINK DATA TO ARDUINO IDE THROUGH ESP32
7 次查看(过去 30 天)
显示 更早的评论
I am trying to run a Simulink model with ESP32-WROOM (Arduino Compatible) to transmit my simulink data to arduino ide software through esp32 , but I keep getting the following error when trying to connect in External Mode: Error: External Mode Open Protocol CheckData command failed Caused by: - XCP internal error: timeout expired, in response to XCP SYNCH command - Error detected while trying to disconnect Simulink from target application. - XCP error: XCP internal error: No server connected.
0 个评论
回答(1 个)
Shaunak
2025-2-18
编辑:Shaunak
2025-2-18
Hi Roobasri,
It is my understanding that you're trying to troubleshoot an issue with the ESP32 board regarding sample time constraints. The ESP32 operates on FreeRTOS, which limits the sample time to 1 millisecond due to its maximum CPU Tick Rate of 1kHz. This limitation might be causing the error you're encountering.
If you're attempting to achieve a sample time shorter than 1 millisecond, you'll need to ensure your application aligns with this constraint. If you require a shorter sample time, you can consider exploring alternative hardware or software solutions that offer higher tick rates.
You can refer to the following community discussion for your reference :
Hope this answers your question!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!