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.

TMS320F28035: A question about Comparator

Part Number: TMS320F28035


Below is the diagram of Comparator

I want give the output signal of CMPINV to COMPxTRIP without any filter, I have to way

(1)   Comp1Regs.COMPCTL.bit.SYNCSEL = 0;

 

(2) Comp1Regs.COMPCTL.bit.QUALSEL = 0;

       Comp1Regs.COMPCTL.bit.SYNCSEL = 1;

I just want to know the difference between this two ways, thanks

  • Hi Tobby,

    (1)   Comp1Regs.COMPCTL.bit.SYNCSEL = 0;

     Asynchronous output (not gated to sysclk) of the comparator is passed out.

    (2) Comp1Regs.COMPCTL.bit.QUALSEL = 0;

           Comp1Regs.COMPCTL.bit.SYNCSEL = 1;

    Synchronous output (gated to sysclk) of the comparator is passed out. No qualification is done.