Part Number: TMS320F28375S
Tool/software:
Hi Champ,
I am asking for my customer.
They attempt to use comparator and EPWM DCAEVT1 / DCAEVT2, to trigger TZISR in one-shot trip.
They plan to check the comparator output status and clear the TZ one-shot flag in another control flow (not in the TZISR, i.e. in a 10kHz Timer interrupt), checking the comparator output is low then clear the flag, then trigger the next time TZISR.
(1). In above scenario, after user confirms that the comparator output is low, at the moment the comparator output just suddenly changes from low to High before user sets the command to clear the TZ FLAG. Is there a chance to cause that TZISR to be missed and not be executed in such condition ? Any consideration on the timing sequence here ?
(2). How does internal trip submodule mechanism to check whether the one-shot flag is cleared or not ? checking in every PWM clock cycle (EPWMCLK) ? It is believed it should affect the result of the first question.
(3). In TRM, it notes the condition to be latched, at least for a minimum of 3 ˟ TBCLK as below.
(Figure 1)
It is not indicated the same thing specified in DS for Pulse duration for TZx input low, right ?
(Figure 2)
If not, where is the minimum of 3 ˟ TBCLK be latched specified in DS, or just a note in TRM ONLY ? Then, where is the min. Pulse duration be taken care of ?
(4). Confirming the estimation of complete execution time to reach out the first line of TZISR for an ePWM One-shot Trip Condition set through CMPSS, considering interrupt latency and wait states on the ISR or stack memories for additional latency. Would the expert explicitly list one by one separately ? estimated execution time from CMPSS -> EPWM-Xbar -> EPWM DC submodule -> TZISR (first line code).
Thanks and regards,
Johnny
