TRANSMIT SIMULINK DATA TO ARDUINO IDE THROUGH ESP32

41 ビュー (過去 30 日間)
ROOBASRI
ROOBASRI 2025 年 2 月 7 日 5:03
編集済み: Shaunak 2025 年 2 月 18 日 10:54
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.

回答 (1 件)

Shaunak
Shaunak 2025 年 2 月 18 日 10:52
編集済み: Shaunak 2025 年 2 月 18 日 10:54
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!

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by