Some question about ADC、CTU and PWM of MPC5675K

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Some question about ADC、CTU and PWM of MPC5675K

874件の閲覧回数
博张
Contributor I


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

ラベル(1)
0 件の賞賛
返信
1 返信

590件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信