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.
Hi Experts,
Regarding ePWM, TBCTR configured as count up mode is counting up to the period(TBPRD). When a software is attempting to write new TBCTR at just TBCTR reaches to TBPRD, what happens?
case 1) TBCTR is reset to zero at the next edge of TBCLK after TBCTR equals to TBPRD and continue to increment the count. Thus, writing TBCTR is ignored.
case 2) TBCTR is updated to new writing data at the next edge of TBCLK after TBCTR equals to TBPRD and continue to increment the count. Thus, TBCTR is NOT reset to zero.
Regards,
Uchikoshi
Uchikoshi-San,
I understand that you need updates quickly. The designer just got back to me an hour ago. It seems that the software writes are a higher priority so the TSCTR will not be reset to zero. Said another way, Case 2 will be true.
Regards,
Cody