Hi, Ok just to be more specific :
1. I initialize FTM2 (FTMEN,WPDIS=1), bus clock, output compare on pin C0 (FTM2CH0), no interrupt.
2. I read counter registers.
3. Required time value is added, stored in channel registers, channel flag is cleared.
4. I wait in closed loop until channel flag is set.
5. Then I read channel registers and go to point 3.
No activity on pin C0, however FTM0 with the above procedure works. I have tried it with Multilink connected and w/out.
It looks that this FTM2 doesn't count anything and is stopped. Why ?
regards
Jacek