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.

UCD3138: Related to Constant Current

Part Number: UCD3138

Hello team,

I am trying to implement CPCC mode but I had some problems. I listed them below, it would be great if someone helps me?

1. I don't want to use CP mode. Just CC mode is enough for me. To do this,  is assingning the same values to LoopMuxRegs.CPNOM.bit.NOM_CURRENT_UPPER and LoopMuxRegs.CPMAX.bit.MAX_CURRENT_UPPER, and LoopMuxRegs.CPNOM.bit.NOM_CURRENT_LOWER and LoopMuxRegs.CPMAX.bit.MAX_CURRENT_LOWER enough? In other words;

LoopMuxRegs.CPNOM.bit.NOM_CURRENT_UPPER = XX;
LoopMuxRegs.CPNOM.bit.NOM_CURRENT_LOWER = YY;
LoopMuxRegs.CPMAX.bit.MAX_CURRENT_UPPER = XX;
LoopMuxRegs.CPMAX.bit.MAX_CURRENT_LOWER = YY;

2. I got help from LLC_HB firmware in order to configure CC mode. However, after the configuration, before I power on the system, if I set the load current above the CC threshold, controller starts at CC mode. Then, I decrease the load below the CC threshold and it operates in CV mode. Until now everything is ok. However, when I increase the load current again which is above the threshold, it does not go into CC mode. What could be the reason for that? How can I solve this?

3. When the FeCtrl1Regs.EADCVALUE.bit.ABS_VALUE, which is the compared value with CC threshold as far as I know, is near the the threshold, ABS_VALUE shows the corresponding value but If I increase the current, ABS_VALUE saturates at 275. I thought this may be caused by AFE_GAIN because it was set to 3. I set it 0 in order to increase the ABS_VALUE range but this time it saturated at 419. In Digital Power Peripherals Programmer's Manual, its written as this register is 10bit unsigned and it should be maximum 1024. What may be the saturation reason?

4. Should I set an EADCDAC value for current loop? I thought there is no need for this because there is a current limit set by CC module but I am not sure exactly.  

Thanks in advanced.

Regards,

Merih