i have 5 input ADC, i just want to know how to configure my adc input
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.
i have 5 input ADC, i just want to know how to configure my adc input
Hi David!
You can refer to "Peripheral Headers and Example Project" software package for the F280x (http://www.ti.com/tool/sprc191) and this RG 3681.TI_ADC_28xxspru716d.pdf.
Regards,
Igor
Hi David,
I've attached a sample of ADC project wherein 2 ADCs have already been configured, you can simply add another 3 of them:
More more ADC examples download and install: http://www.ti.com/tool/sprc191
Regards,
Gautam
which configuration can you advise me? simultaneous or sequencial? i need to sample my 5 input instantly
i need to sample my 5 input instantly
I guess, simultaneous would suit you. But better try out both and check.
Regards,
Gautam
thank you for all,
another question please : when i compile my program, i have this error :
error: identifier "AdcRegs" is undefined
please, can you help me solve this problem.
David,
perhaps you didn't add to your project the file DSP280x_GlobalVariableDefs.c. Check please and refer to this QSG 0363.DSP280x_HeaderFiles_QuickStart_Readme.pdf
Regards,
Igor
You're missing a header file! Please check with what Igor has suggested. If still not able to solve the issue, post a screenshot.
Regards,
Gautam
hello,
i notice that adc result is dual mapped in the dsp 2808; by default, my conversion results is store in which frame (peripheral 0 or 2) ? and how to choose where my result conversion will be store.
thank you for your help,
If you're using F2808 then please follow the ADC user guide: ADC mapping to the result registers are given in that doc. for eg:
ADCA0 -> AdcRegs.ADCRESULT0
....
Regards,
Gautam
hello,
the TMS320F2808 contain a Analogue to Digital Converter (ADC);
What about a Digital to Analogue converter (DAC) ? if it doesn't exist, which alternative can you propose me.
thank,
Hi David,
Yes, F2808 doesn't have a DAC but you use this doc to simulate one:
http://www.ti.com/lit/an/spraa88a/spraa88a.pdf
Regards,
Gautam
You're welcome. Just remember one thing, please post new questions on a brand new thread instead of continuing the older one.
Regards,
Gautam