You are here

Setting up two ADC_delsig on Psoc 3 First touch starter kit | Cypress Semiconductor

Setting up two ADC_delsig on Psoc 3 First touch starter kit

Summary: 9 Replies, Latest post by hli on 16 Apr 2013 07:06 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
Jase's picture
User
21 posts

 Hey everyone.

I Have some ADC problems. I can get one ADC_delSig to work perfectly but when i add a nother one it gives me 3 errors. 

mpr.M0014:resource limit:maximum number of DSM fixed blocks exceeded (max=1, needed=2)

mpr.M0014:resource limit:maximum number of decimator fixed blocks exceeded (max=1, needed=2)

cdf M0005 CyDsFit aborted due to errors. 

 

what i understand from these errors are, it can only run with one ADC. Can that be correct??? 

Regards Jason

 

Jase's picture
User
21 posts

 Hello Dana. 

Do you know if there are any project examples illustrating it?

Regards Jason

user_14586677's picture
User
7648 posts

If you right click a schematic component, pick "find example project",

for most components there is an example project that can be added

to existing project, or opened in a new workspace. But I am not

aware of example with a mux, which is pretty simple, just add it

and use APIs to switch channel, allow for settling time, and get A/D

result.

Regards, Dana.

hli
user_78878863's picture
User
2759 posts

For some examples, see

I think there is also an AppNote regarding using the multiplexer together with the DelSig ADC (which would include an example project), but I cannot find it right now.

user_14586677's picture
User
7648 posts

If you need to measure two signals simultaneously using S/H  - www.cypress.com/

 

and this using mux  - www.cypress.com/

 

Regards, Dana.

Jase's picture
User
21 posts

 Thank you soo much for the help again Dana. It  Mux works perfectly :) and was very easy to setup :)

Jase's picture
User
21 posts

 I answered a bit to quick..  I have one error left in my program.

I can choose a channel in the mux but when i have chosen it i cant switch to another one.

 

here is my example code.

 

hope you can spot my error :)

Jase's picture
User
21 posts

 just figured it out.  its all good now. Printed the same variable twis. :)

hli
user_78878863's picture
User
2759 posts

You're welcome! Glad you figured it all out.

user_14586677's picture
User
7648 posts

See this - www.cypress.com/

 

Normally you would use an analog mux to effect multople channels of

A/D conversion.

 

This might be useful - www.cypress.com/

 

and this - www.cypress.com/

 

Regards, Dana.

Log in to post new comments.