Hello,
What you want to do is definitely feasible.
[quote user="Jongwoo Kim"]
Q1. Here, could you tell me how I can enable this synchronization? Just enabling EPWM1SYNCO and SYNCI in eCAP1 module make it possible?
Any connections in hardware is required?
[/quote]
[BL] As you mention, enabling your PWM SYNCO and enabling your eCAP's SYNCI should be done. PWM1 should also be configured to ignore synchronization inputs (assuming that you are not using an external synchronization pulse)
In particular:
PWM1: Disable PHSEN
PWM1: Set SYNCOSEL accordingly in order to generate a synch pulse where you want one
CAP1: Enable SYNCI_EN
No hardware connections are needed.
[quote user="Jongwoo Kim"]
Q2. How can I make eCAP1, ..., eCAPn modules synchronized?
From Fig. 6-6, Details of the Counter and Synchronization Block, it can be noted that SYNCI signal can be passed through and used as SYNCO signal.
In 28069, sync signals of eCAP1, ..., eCAPn modules are chained like ePWM modules?
[/quote]
[BL] Yes, they are chained. CAP1 -> 2 -> 3 -> 4
Assuming that PWM1 is generating the synchronization pulse for all your eCAPs, you just need to enable each CAP modules' SYNCI_EN and set each CAP modules' SYNCOSEL to pass SYNCI to the next CAP module.
NOTE: Some oddities can occur if you do not disable PWM1's PHSEN. If you enable PWM1's PHSEN, the PWM advisory in the F2806x errata document will come into affect.
Thank you,
Brett