Hi, I am working with 320f28335 and need to use the ad converter at maximum speed 12.5 Mhz continuosly for 1024 word from one channel. Could you tell me the configuration of the periferal?
Thanks in advance
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, I am working with 320f28335 and need to use the ad converter at maximum speed 12.5 Mhz continuosly for 1024 word from one channel. Could you tell me the configuration of the periferal?
Thanks in advance
I asked upper question and I am waiting for an answer fastly for my job.
could Anyone solve my problem?
I need simple using the adc in fast mode 12.5Mhz, from one channel and need to do acquisition fo1024 sample, I tryied same example but were not good I need know the configuration of the periferal.
Waiting an answer send best regards.
Augusto
Hello Augusto,
Here is a link to TI's controlSUITE, which contains ADC sample code for the F28335 called "Example_2833xAdcSoc". This should be a good start for your solution. To run in continuous mode you will need to insert the following into your sequence for ADC setup:
"AdcRegs.ADCTRL1.bit.CONT_RUN = 1;"
Once you have the ADC setup correctly, you should be able to run a loop and store your results into an array.
Check out http://processors.wiki.ti.com/index.php/C2000_Archived_Workshops and look for the archived workshop on the F28335. (I would pull down the latest - which has "Delfino" in the title.) Chapter 6 is on the ADC, and it contains a lab that uses the ADC interrupt. Chapter 7 is on the control peripherals, and has a lab that generates a PWM which is then routed to the ADC and viewable on the graphing tool of Code Composer Studio.
Hopefully, that helps.