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.

Compiler/UCD3138A64: CNT_THRESH

Part Number: UCD3138A64

Tool/software: TI C/C++ Compiler


   Could you let me know how to calculate each "FaultMuxRegs.DCOMPCTRL0.bit.CNT_THRESH" level will cause how much delay time of DCOMP fault?

   for example:

   The time between " FaultMuxRegs.DCOMPCTRL0.bit.CNT_THRESH = 1 " and " FaultMuxRegs.DCOMPCTRL0.bit.CNT_THRESH = 2 "

  • This counter advances on each EADC sampling event.

    Therefore it depends on your sampling frequency.

    If you do not have oversampling in each switching period, then it equals to number of your switching period.

    For eaxample at switching frequency of 200 KHz, CNT_THRESH of 20 will cause 20*5 uS= 100 uS.