Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
i am trying to make an adc converter using successive approximation register (SAR) , i am supposed to connect the out put of comparator to the sar it always get the message of mismatching kinds, i replace the comparator with an opamp but it also get an error message saying that it is connected to analog mux but not to another component (knowing that i disable the rest of the channels) when i try to connect all to analog pins it get a message that its unable to find a solution for the analog routing
can i find an adc sar typr as a ready made library ?
The comparator has got two analog inputs and a digital output. You can connect that output to a status register component or read the comparator state directly using the appropriate API and leave the output unconnected. With some software logic you can build an SAR.