- Reduce data size: If you are transmitting large amounts of data between the host and target, consider reducing the data size by using compression techniques or sending only essential information. This can help reduce the time required for data transmission.
- Minimize processing time: Analyse the target model's code and identify any areas that might be causing excessive processing time. Look for opportunities to optimize algorithms, reduce computational complexity, or streamline the code to improve overall performance.
- Optimize hardware setup: Ensure that your hardware setup is properly configured and optimized for low-latency communication. Check for any potential bottlenecks, such as slow interfaces or inefficient connections, and make necessary adjustments to improve performance.
C2000 Host-Communication latency
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi all,
I've run the motor through the "Field-Oriented Control of PMSM Using Quadrature Encoder" example.
My system setup is LAUNCHXL-F28069M and BOOXTL-DRV8301 setup.
The problem is there is the latency between host and target model. (If I send the signal "1" to the target and that number is received back from the target and it takes around 1 second. The worse thing is this latency increase while the running time increase.
For example, there is
0.9688s latency at 7.86seconds,
1.0585s latency at 31.1185 seconds, and
1.3104s latency at 66.71 seconds.
Could you let me know how I can decrease this latency?
Thank you for your time and help!
Best regards,
0 commentaires
Réponses (1)
Animesh
le 14 Août 2023
Hi Gu-Cheol,
Latency between the host and target model can be caused by various factors. Here are a few suggestions to help decrease the latency:
Thanks,
Animesh Jha
0 commentaires
Voir également
Catégories
En savoir plus sur Multicore Processor Targets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!