Dear E2E:
Thank you for your help.
1. I use ECAP0 and ECAP1 in APWM mode to generate the different CLK frequencies.
2. I have no problem with ECAP1 which setup for the low frequency of 1/2Hs (0.25Sec_low and 0.25Sec_high)
3. ECAP0 is setup for ~50Hz and it starts normally - only if SWSYNC bit is enabled and set SWSYNC=1.
4. If SWSYNC is set=0 - ECAP starts with normal output frequency but after ~23Sec.
5. The time of 23Sec is ~((2^32)/184.5MHz) where v184.5MHz is ECAP0 frequency (SYSCLK2)
6. I could not find any explanation for this ECAP0 behavior - especially because ECAP1 starts absolutely normal with SWSYNC=0. But the same exactly setup does not work for ECAP0.
7. Can you please help to explain this ECAP0 behavior?
Thank you very much,
Boris Ruvinsky