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.

Query on TBCNT on epwm module of AM335x

Hi, 

I am trying to load a particular count value in the TBCNT register  for the  EPWM module .

For Example :

HWREGH(SOC_EPWM_1_REGS + EHRPWM_TBCTR) = 0x0000;

When I read back the count value using the following statement,

count = HWREGH(SOC_EPWM_1_REGS + EHRPWM_TBCTR);

 I do not see the count value  to be zero.

Has anyone faced this issue.

Thanks .

Regards,

Veena