Hello guys,
I run the example code (Example_2802xAdcSoc - Direct Register Access) on my C2000 Launchpad MCU (TMS320F28027). The problem is that I can't change the sampling frequency of the signal. Even if I change the "AdcRegs.ADCSOC0CTL.bit.TRIGSEL" and "AdcRegs.ADCSOC0CTL.bit.ACQPS " values, I see no difference in the sampled signal (I use "graph" to view my sampled signal). I tried to change the PWM Period too ("EPwm1Regs.TBPRD" - it is used for the interrupts I suppose), but I see no difference in the graph. The result is incorrent, because the signal I see in graph is not exactly the input signal I use. I need a higher samping frequency...How can I change the sampling frequency in ADC??? I would also appreciate it, if you could give me some example codes for the ADC Sampling and Conversion (except these included in Control Suite).
Thanks for your support!
Nick.