How to configure ADC sampling time to convert a 50 Hz Analog signal?
조회 수: 18(최근 30일)
Yanis Benmohammed 2018년 10월 3일
Hello everyone, I use the f28379D TI target on the MATLAB 2018a version. I want to convert a 50 Hz sinus thanks to the ADC.
In a very simple model (Only ADC + Scope), the result of the ADC doesnt match with the input signal. Actually, using the external mode, I obtained false results, the frequency is not the good.
I tried to modify the sample time of the ADC block, the SOC acquisition window, and changed the ADC clock prescaler in the configuration parameters. But the result is still inexploitable.
Please, did anyone have this problem and can help me?
Many thanks, Yanis.
Venkatesh Chilapur 2018년 10월 10일
Please consider hardware based ADC trigger like ePWM triggering the ADC conversion and see if it helps! We have an example for the same on how to configure the ePWM module for the ADC trigger.