TRANSMIT SIMULINK DATA TO ARDUINO IDE THROUGH ESP32
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Shaunak
el 18 de Feb. de 2025
Editada: Shaunak
el 18 de Feb. de 2025
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 comentarios
Ver también
Categorías
Más información sobre Arduino Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!