Hi,
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Hi Akhil,
There are a number of code examples for using G2432 here: http://www.ti.com/lit/zip/slac467 I would recommend looking at some of the ADC and timer examples (which show how to make PWMs), and after you understand how each of these examples work on their own, then work to combine these two functions in your code.
Regards,
Katie
Thanks for your support. I generated the PWM and also read the adc. I am trying to read the battery voltage using a voltage divider and adc. and I set a threshold voltage to turn off the pwm. While I connecting the battery, the battery voltage below the threshold voltage the PWM is stable. but voltage approaches to the threshold value PWM got unstable. My ADC value have some voltage swing. I need to eliminate that swing. I don't want accurate adc reading.
Akhil Narakasseri said:My ADC value have some voltage swing. I need to eliminate that swing.
Battery chargers shall have filter capacitor on output, in parallel to battery which will filter PWM ripple. You shall add capacitor or increase it's capacitance if any, see if it helps
Actually I need to average the 10 or 50 adc samples. Then the voltage swing can be eliminate. Is there is any way to average the adc.
**Attention** This is a public forum