This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI F28M35 - Comparator/AIO interrupt

Hi,

my question is, is it possible to configure one interrupt if one of the six comparators changes its state?

Or is it possible to configure one interrupt if one of the AIO pins (configured as digital input) goes high?

The intention is to stop a control loop and PWM generation if at least one of six errors is indicated.

Thanks for any hints.

  • Wilfried,

    As you have probably noticed, the comparators and AIOs do not generate any native interrupt signals.  I believe that you can achieve your goal by providing an external loopback path at the PCB level between a COMPnOUT output pin and a GPTRIPn input pin.  An interrupt can be triggered when the state of GPTRIPn changes.

    Monitoring six comparators in this manner might get messy, but I think that it is possible.  An OR gate might be beneficial if you want to combine the outputs into a single ERROR signal.

    -Tommy