Page 1 of 1

Enhancing ADC error

Posted: Wed May 09, 2018 4:27 pm
by maharadga
Hello.
I want use 2 different Enhancing ADC on AN0 and AN1.
But in simulation they not independent. If I move one of these, they move both and their values are identical.

Re: Enhancing ADC error

Posted: Wed May 09, 2018 4:39 pm
by Benj
Hello,

It sounds like both ADC components may be both connected to the same ADC channel. Please can you check the component properties.

If this is not the case then please can you post the program the demonstrates the problem so we can see what might be the cause.

Re: Enhancing ADC error

Posted: Thu May 10, 2018 3:35 pm
by maharadga
Hello,Benj.
No, they're connected in different pins.
Here is the program.

Re: Enhancing ADC error

Posted: Fri May 11, 2018 5:14 pm
by Benj
Hello,

What component are you using for the advanced ADC? I don't seem to have that component.

Re: Enhancing ADC error

Posted: Sun May 13, 2018 9:33 am
by maharadga
Do I must have another component instead Advanced ADC?
I do not found in "Help" anything about Enhanced ADC.
This is component created by Jordy101091 here:
http://www.matrixtsl.com/mmforums/viewt ... adc#p57557
But he not comment how we must use it, with or not another component.
Do we must take ADC from another component and then read Enhanced ADC or take directly ADC from enhanced component?
I think one simple program will be usefull for users.

Re: Enhancing ADC error

Posted: Sun May 13, 2018 10:07 am
by kersing
The component you are using is not part of the Flowcode release. It is supplied by a flowcode user, not by Matrix. Because of this Matrix does not provide help and support for the component.
It would be better to ask your questions by replying to the message where Jordy101091 announces the availability of the component (the message you link to).

Re: Enhancing ADC error

Posted: Sun May 13, 2018 10:30 am
by maharadga
Yes,that is that.
Pity, it would be good to be able to use it because I have difficulties with SPI and MCP3202, here: http://www.matrixtsl.com/mmforums/viewt ... 71&t=20024

Re: Enhancing ADC error

Posted: Sun May 13, 2018 11:07 am
by kersing
I am not saying nor implying you can not use it. I am redirecting you to a place where your question might be answered.

Re: Enhancing ADC error

Posted: Mon May 14, 2018 9:53 am
by Benj
Hello,

Jordy details the very problem you are experiencing and the workaround on the component topic.
Problem with selecting the Analog Output Pin
To change the component Analog input pin please use the Component debugger to change the output pin of the adc_base component

Re: Enhancing ADC error

Posted: Mon May 14, 2018 4:43 pm
by maharadga
I read this but I do not have purchased debugger pack.
I do not need this already, because I solved problem with MCP3202 from link above.
Thank you for the reply.