TRANSMIT SIMULINK DATA TO ARDUINO IDE THROUGH ESP32
조회 수: 10 (최근 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!