2 Replies Latest reply on Sep 12, 2016 3:24 AM by user_504416177

    How to Place an interrupt on the comparator?

    user_504416177

      Hello Everyone,

         

      I want to do the following:

         

      1. I want to generate an interrupt on the rising edge of the comparator output, in order to set an external DAC.

         

      2. I want to generate an interrupt on the falling edge of the comparator output, in order to do sampling .

         

      I thought to place a pin and put interrupt on it.

         

      I attached the project zip file. Can you please have a look on sheet A (Ch_A) and give me your suggestions.

         

       

         

      Looking forward to your reply!

         

      Regards

         

      Awais