1. For one of ADC module,can I use some channels for CTU and the other are used for normal scan conversion ?
2.For CTU, I can use PWM Reload rising edge to be MRS,but I can not use the other PWM output trigger to be MRS correctly(I have written the PWM_TCTRL register and CTU_TGSISR register and correspond to the order ).
3.Can I use MPC5675K with single current resistance for PMSM?
4.Is there an example program of FlexPWM-CTU-ADC-synchronization about MPC5675K? I have found examples about MPC5643L and MPC5744P.
Thank you for your attention,I am looking forward to your reply.
Zhang.Bo
Hi,
1) No, ADC cannot work in both CPU and CTU mode simultaneously.
2) There should be no issue with this. See https://community.freescale.com/docs/DOC-102559 for explanation of connection between FlexPWM and CTU. Also in the attached example PWM B0 rising edge is used as MRS signal.
3) I assume you can.
4) See attached example
BR, Petr