Other Parts Discussed in Thread: C2000WARE
Dear Champs,
I am asking this for our customer.
Would you please make it clearer about EPWM one-shot sync?
When this "EPWM_startoneShotSync(uint32_t base)" is used, it sets bit 7 (OSHTSYNC) of TBCTL2 Register.
In Table 15-23. TBCTL2 Register Field Descriptions of F2837xD TRM
Questions:
1. Does it issue a sync signal "immediately" or wait until the predefined conditions set by EPWM_setSyncOutPulseMode() or others?
2. Is this oneshot sync available in all EPWM modules, or in only EPWM 1, 4, 7, 10 from "Figure 15-7. Time-Base Counter Synchronization Scheme" that can generate EPWM1SYNCOUT?
3.After OSHTSYNC is set to 1 to issue such a sync, will OSHTSYNC be cleared to 0 automatically? OR it should be cleared by the user?
4.In the TRM, the description about this one-shot sync is little. Is there any more description or example except Table 15-23. TBCTL2 Register Field Descriptions?
Wayne Huang