Cant get complete adc data using c2000 in external mode

2 vues (au cours des 30 derniers jours)
Akshay
Akshay le 16 Fév 2018
I am using c2000 ADC pins in external to monitor phase currents and voltages data using a hardware interrupt. The hardware interrupt uses ePWM for generating interrupt. I am trying to see the data on a scope, I am getting the data with a lot of missing points. I am running the model at a sampling time of 1ms. If I decrease the sampling time I get an error 'Failed to connect to target'.
Any ideas to solving this problem will be appreciated.
Thanks and regards, Akshay.
  1 commentaire
Yusuf Selim KARATAS
Yusuf Selim KARATAS le 29 Avr 2020
Hi,
Have you solved that problem? If so, how ?
Thanks.

Connectez-vous pour commenter.

Réponses (1)

Venkatesh Chilapur
Venkatesh Chilapur le 16 Fév 2018
Please run through TASK 3 from link below and see if it helps: https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/examples/parameter-tuning-and-signal-logging-with-serial-external-mode.html

Community Treasure Hunt

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

Start Hunting!

Translated by