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.

Impact of reducing AD value acquisition channels.

Part Number: UCD3138

Tool/software: Code Composer Studio

 

 

 

Hello !

 

Currently, we are considering using ucd3138RGC to create a product using PSFB source code.

(code URL : http://www.tij.co.jp/tool/jp/ucd3138fw-psfb)

The products we want to create are intended to protect only the output voltage and output current.

 

There are the following nine AD values acquired by poll_adc ().

 

 

 adc_values.vo_sense        = AdcRegs.ADCAVGRESULT[3].bit.RESULT; 

adc_values.io_sense        = AdcRegs.ADCAVGRESULT[1].bit.RESULT;  

adc_values.ishare            = AdcRegs.ADCAVGRESULT[0].bit.RESULT;

adc_values.vin_mon        = AdcRegs.ADCAVGRESULT[4].bit.RESULT;

adc_values.temp              = AdcRegs.ADCAVGRESULT[5].bit.RESULT; 

 

adc_values.ips                 = AdcRegs.ADCRESULT[7].bit.RESULT;

adc_values.device_temp = AdcRegs.ADCRESULT[8].bit.RESULT;

 

io_sense                           = AdcRegs.ADCRESULT[1].bit.RESULT;   //352 if offset by R104, 95.6/A

ishare                               = AdcRegs.ADCRESULT[0].bit.RESULT;

 The following five AD values will be unused to speed up the process:

In the IC external circuit, ground these AD pins to GND.

In the source code, do not set acquisition of these AD values.

 adc_values.ishare           = AdcRegs.ADCAVGRESULT[0].bit.RESULT;

adc_values.vin_mon        = AdcRegs.ADCAVGRESULT[4].bit.RESULT;

adc_values.temp              = AdcRegs.ADCAVGRESULT[5].bit.RESULT;

adc_values.ips                 = AdcRegs.ADCRESULT[7].bit.RESULT;

ishare                               = AdcRegs.ADCRESULT[0].bit.RESULT;

 If the following 4 variables in system_defines.h are changed as follows, I think about no fault occurs in the IRQ.

 

VIN_SUFFICIENT (1)

VIN_NOT_SUFFICIENT (0)

VIN_UV_FAULT (0)

VIN_OV_FAULT (0)

 Do you think PSFB control problems occur?