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.

TMS320F28379D: The threshold comparator output

Part Number: TMS320F28379D

Hi champs,

According to ADC PPB Block Diagram in TRM, the ADCPPBxTRIPHI is connect to comparator's positive input and ADCPPBxTRIPLO is connect to another comparator's negative input.

When the value of ADCPPB1RESULT is between 0x0 and 0xFFFF, I conduct below experiments,

  • PPB1TRIPHI = 0xFFFF, PPB1TRIPLO = 0x0. Then both ADCEVTSTAT.PPB1TRIPHI and ADCEVTSTAT.PPB1TRIPLO bits are 0.
  • PPB1TRIPHI = 0x0, PPB1TRIPLO = 0x0FFFF. Then both ADCEVTSTAT.PPB1TRIPHI and ADCEVTSTAT.PPB1TRIPLO bits are 1.

Is the evaluation result reasonable? Looks like we need to swap the positive and negative inputs of the threshold comparators in the diagram?

Please advise your comments, thanks.

Regards,

Luke