Hi all,
I wonder What happen if a PIC MCU receive an PB0 interrupt during an A/D conversion. is there any possibility that this interrupt or several interrupt which are by and by affect the accuracy of AD conversion?:thinker:
Thank you for your reply. I have an accuracy problem in my A/D conversion
If this not affect the accuracy lets check another case that I suspicious to it.
I enable the next channel right after conversion of a channel then I execute some lines then convert the channel to digital. in brief I use execution time of some lines to charge the capacitor of the channel which will be used in next A/D conversion. How about this? is it ok? I think it is. what's your opinion?
Yes, should work. It is popular cheapest capacitence measurment - measure charge/discharge time. You even can do this without ADC. All digital inputs has a schmitt trigger. Accuracy about 10% expected.