Hello
I posted this on the Microchip website and don't have an answer yet. Perhaps someone here can shed some light on this for me.
Given that:
1. I've got my A/D module configured to use RA0 as its input
2. RA3 and RA2 are configured as external Vref- and Vref+ inputs
Questions:
1. Can the Comparator module be enabled simultaneously with the A/D module and use RA0 as its analog Vin- input while the A/D module uses RA0 as its analog input?
2. Can the Comparator module be enabled simultaneously with the A/D module AND the VREF module in the CM2:CM0 = 110 mode?
This project only needs one of the comparators to be used simultaneously with the A/D module and the VREF module. The end result should be that the comparator output bit will be monitored and once the threshold is exceeded would trigger the A/D which would keep reading and do a peak detect on the same analog input. Analog sgnal frequencies are relatively low ( in the 50Khz range).
Perhaps I've confused myself with the above givens and requirements. Any help would be greatly appreciated.
Thanks
Fritz
Bookmarks