Part Number: TMS320F28379D
My EPWM1 works in up-down-count mode,the TBPRD=1000.
When TBCTR=100 and the timer is incrementing,I force TBCTR=200.My question is that The Time Base Counter Direction status is up-count or down-count at this time.
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.
Part Number: TMS320F28379D
My EPWM1 works in up-down-count mode,the TBPRD=1000.
When TBCTR=100 and the timer is incrementing,I force TBCTR=200.My question is that The Time Base Counter Direction status is up-count or down-count at this time.
Due to US holidays, you can expect a response by 3'rd Dec.
Hi,
To know the direction of the counter at any time please refer to
15.15.2.4 TBSTS Register. Bit CTRDIR indicates the direction of the counter.
Time Base Counter Direction Status Bit
0: Time-Base Counter is currently counting down.
1: Time-Base Counter is currently counting up.