Setting up two ADC_delsig on Psoc 3 First touch starter kit

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 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

0 Likes
1 Solution
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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

   

 

   

and this using mux  - www.cypress.com/

   

 

   

Regards, Dana.

View solution in original post

0 Likes
9 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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.

0 Likes
Anonymous
Not applicable

 Hello Dana. 

   

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

   

Regards Jason

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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.

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

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.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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

   

 

   

and this using mux  - www.cypress.com/

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

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

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

 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 🙂

0 Likes
Anonymous
Not applicable

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

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

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

0 Likes