C2000 Team,
I am using F28377S and getting unexpected behavior from the ePWM module. I am configuring the ePWM2 for up/down count mode.
Unexpected behavior #1: If I preload the TBCTR with a non-zero value (e.g., 1), the timer does not start counting down at the PRD the first time. It keeps counting up to 0xFFFF and then rolls over. After that, I believe it responds correctly to period match.
Unexpected behavior #2: I have SOCB configured to trigger on period match. But if I initialize with TBCTR=0, I get an SOCB trigger immediately upon enabling SOCB. The TBCTR is still showing zero.
I have code that illustrates the problem, and would like to WebEx with someone. Please let me know.
Regards
David