所附项目使用DMA实现Delta Sigma ADC的输出数据缓冲。
由于辐条宽度对于ADC等外围设备来说是16位的,所以我们需要两个独立的DMA来缓冲输出数据存储位置。ADC的输入通道选择是使用模拟MUX来完成的,它的选择线是由状态机驱动的。一旦当前ADC转换结束,模拟多路复用器的信道选择线将改变以连接下一个ADC的信道。
所附项目同时在PSoC 3和PSoC 5中工作。唯一不同的是PSoC 3在将ADC数据传送到存储器之前需要Endiad交换。
Delsig16Chhanel-20BIT-DMA-000 0.CyWrk.CaseV01.Zip
2.4兆字节
以上来自于百度翻译
以下为原文
The attached project implements Delta Sigma ADC's output data buffering using the DMA.
Since the spoke width is of 16-bits for the peripherals like ADC, we need two independent DMAs to buffer the output data in a memory loca
tion. The ADC's input channel selection is done using an Analog Mux whose select lines are driven by a state-machine. Once the current ADC conversion is over, Analog Mux's channel select lines will change to connect the next ADC's channel.
The attached project works in both PSoC 3 and PSoC 5 as well. Only difference is that PSoC 3 requires endian swapping before transferring the ADC data to memory.