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.

AWR2944EVM: EPWM driver example_Question about Period.

Part Number: AWR2944EVM
Other Parts Discussed in Thread: AWR2944

Tool/software:

Hi guys, 

I have a question about the PWM period setting in AWR2944 SDK.

FILE location : C:\ti\mmwave_mcuplus_sdk_04_06_00_01\mcu_plus_sdk_awr294x_09_00_00_15\examples\drivers\epwm\epwm_duty_cycle\epwm_duty_cycle.c

In line 65, about "Frequency of PWM output signal in Hz"

The setting value is 1 kHz, but when i measured it on an actual oscilloscope, i measured 750 Hz like below.

Using Schematics and Assembly Drawing as a guide, i measured from the correct locations as shown below.

So I used CCS to debug, but the register value was strange. 

If i change the values of both registers, the period changes.
So I think this part is the problem.

Can you fix this?

Best regards,

  • Hi Lina,

    This is a known issue and team has already fixed it for the upcoming release.

    The CLK source is 150Mhz, not 200Mhz. Since the macro 'CONFIG_EPWM0_FCLK' is being defined as 200Mhz from syscfg, it is causing the issue.

    Regards,

    Ajay