GDU Charge Pump "CP Pin" Can Not Output The Correct Wave(Frequence and Duty) I Want

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GDU Charge Pump "CP Pin" Can Not Output The Correct Wave(Frequence and Duty) I Want

Jump to solution
696 Views
chdingding
Contributor II

GDU init as follwing:

         

void initGDU(void)
{

GDUE_GCPE = 1; // charge pump

GDUE_GCSE0 = 1; // enable Current Sense Amplifier 0

GDUF = 0xff; // Flag Register - clear all error flags

GDUBCL = 0x0F; // Set coil current limit to maximum 750mA

GDUCLK1_GBOCD = 0b10001; // Set boost frequency ~ 0.52MHz

GDUCLK1_GBODC = 0b11; // Set duty cycle to 75%

GDUE_GBOE = 1; // Enable boost


GDUCLK2_GCPCD = 2; // Fbus / 32

GDUCTR = 0x93;//0x13; // blanking time

GDUDSLVL = 0x77; // desat. level

GDUE_GFDE = 1; // enable FET pre-driver

GDUDSE = 0x77; // Clear Desaturation Error Flags
}

   The Schematic like this,

pastedImage_1.png

I use Oscilloscope test CP pins, the output single like this

pastedImage_2.png

I set Frequence  = 0.52MHz,  but output Frequence is 0.39MHz,   the duty i set is 75%, but the output is 50%.

so i want to know how to correct it.

Thank you Very much. 

Labels (1)
1 Solution
583 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

The GDUCLK1 register is not for the Charge Pump but for the Boost Converter.

The Charge Pump Output Pin (CP) switches with 50% duty cycle and its frequency is configurable in the GDUCLK2 register.

Regards,
Daniel

View solution in original post

2 Replies
584 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,

The GDUCLK1 register is not for the Charge Pump but for the Boost Converter.

The Charge Pump Output Pin (CP) switches with 50% duty cycle and its frequency is configurable in the GDUCLK2 register.

Regards,
Daniel

583 Views
chdingding
Contributor II

Hi Daniel,

   

     Thank you so much, this problem was solved according to your statement.

Brs,

Chao.Ding

0 Kudos