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.

CCS/TIDA-01604: I want to look for declaration of PFC_PWM_PERIOPD

Part Number: TIDA-01604

Tool/software: Code Composer Studio

Hello, My name is Kyung-Wook.

I'm doing changing the reference code TIDA-01604

SET_PWM_DBRED(HIGH_FREQ_PWM1_BASE,PFC_PWM_PERIOD);
SET_PWM_DBFED(HIGH_FREQ_PWM1_BASE,PFC_PWM_PERIOD);

SET_PWM_DBRED(HIGH_FREQ_PWM2_BASE,PFC_PWM_PERIOD);
SET_PWM_DBFED(HIGH_FREQ_PWM2_BASE,PFC_PWM_PERIOD);

SET_PWM_DBRED(HIGH_FREQ_PWM3_BASE,PFC_PWM_PERIOD);
SET_PWM_DBFED(HIGH_FREQ_PWM3_BASE,PFC_PWM_PERIOD);

Like above code, PFC_PWM_PERIOD is used.

But I couldn't find the declaration of PFC_PWM_PERIOD.

Can you explain to me where the declaration exist??

Thank you!

  • Hi,

    You can find the PWM period from 'pfc1ph3ilttpl_user_settings.h'.

    It is shown below

    /* Power Stage Related Values*/
    #define PFC_PWM_SWITCHING_FREQUENCY ((float)100*1000)
    #define PFC_PWM_PERIOD ((PWMSYSCLOCK_FREQ)/(PFC_PWM_SWITCHING_FREQUENCY))

    Best,

    John