2018-08-03 12:27 AM
Hello!
I is allowed to use the same PIN for the COMP and the ADC?
I use the analog comparator as fast and software free PWM break input and I would like the measure the input with a ADC. I have tried it out and it was working. There was a small distortion from the sample and hold capacitor, but I can live with this.
Second Question:
Can I connect the DAC to the COMP only internally or do I need an PIN?
For Example I would like the use PA4 as ADC2_IN1 while DAC_OUT1 is used as
Input[-] for COMP1.
-Thomas