Amux with ADCs - Forums Re: Amux with ADCs There is an example project in Creator, use link on Start Page,

"Find Example Project" -


Tue, 11 Nov 2014 04:36:35 -0600
Re: Amux with ADCs  Dear H L,

can u repost the link, it seems that its been relocated; its no longer available @

please check and update.
thanks in advance.
Tue, 11 Nov 2014 03:46:21 -0600
Re: Amux with ADCs IIRC there is a bug(?) with the PSoC5 ES1. It prevents using the Delta-Sigma-ADC the same as the SAR ADC with respect to interfacing the AMuxHw. The second example shows how the SAR ADC can be used to automatically switch between multiple channels, using the EOC signal. This doesn't work with the DelSigADC, here the switch has to be made in software, since the EOC signal somehow cannot be used to switch to the next mux channel 8but I forgot the details).

Mon, 21 Nov 2011 06:07:26 -0600
Re: Amux with ADCs Hi gstroz,


SAR ADC supports sampling rate of upto 700 kSPS.

At this rate, it is advisable to use DMA to do the transfer. A code example is available which explains the Hardware multiplexing of SAR ADC.

Link to the Code Example is


The End Of Conversion (EOC) signal of SAR ADC is used to trigger the DMA transfer.

Sun, 20 Nov 2011 01:53:21 -0600
Re: Amux with ADCs Here is what to do

select channel with MUX;

start SAR ADC;

while not complete{};

read adc value;


I normaly not use the continous mode, as I can control when to start the conversion. 

One thing you should know that there is a bug in the initilization of the SAR of PSoC5, (I think it is same bug in PSoC 3). Can not  remember what exatly it is. May be someone in Cypress would help here. Otherwise wait until next monday when I'm back to the office.


Fri, 18 Nov 2011 21:29:05 -0600
Re: Amux with ADCs  Thank you for the example code. I was able to get it working in my setup. I just had to add a wait for conversion to complete function to get the appropriate results.

Now that I have this working with the delta sigma ADC, would it be possible to have a similar setup with the SAR ADCs? They don't seem to support multi sample mode or anything related to switched inputs. Can anyone comment on the steps necessary to have the SAR ADCs hooked up  to an AMUX and give accurate results? Now that I've seen the accuracy of the Delta Sigma ADC I want to see the speed comparison with the same setup on the SAR ADCs. 

Fri, 18 Nov 2011 21:01:04 -0600
Re: Amux with ADCs Here is a code example

Donwload the exmaple and play with it, see how it was used.


Fri, 18 Nov 2011 18:12:32 -0600