hello hardware developers,
i am trying very hard to make DMA and ADC work together:
the 12 bit temperature reading from ADC, trigger the DMA and then gets transferred
to a memory location, the destination address should increment by 1 word (16
bits) and wait for next ADC trigger. no CPU is needed until the set number of
DMA transfers are done, and then CPU should wake up to do data processing.
that is the plan, but all of my efforts have failed:
-managed to transfer from a set of data from 1 memory location to another
using repeated single. (is repeated single the best choice for the above description?
-ADC trigger appears to be working
-7 bit ADC reading cannot be successfully transferred, returns a number
around 205, and having finger on the CC2430 increments the number by a little.
-12 bit ADC not sure how to work the 2 byte transfer.
Would really appreciate if anyone can provide some sort of sample code
showing interaction between 12 bit ADC output and DMA.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.