how to trigger ADC by GPIO through CTU?

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

how to trigger ADC by GPIO through CTU?

875件の閲覧回数
arthivenkatasub
Contributor III

Hi Everyone,

I am working with the CTU module of MPC5643L. I am able to test PWM-ADC triggering through CTU and eTimer-ADC triggering through CTU. I want to test GPIO-ADC triggering through CTU.

 

I tried testing by configuring the external falling edge event and enable interrupt in SIUL with External Falling Edge as TGS input selection. I also configured CTU registers for triggering ADC (ADC Command related and trigger compare & counter registers). But it doesnt work for me.

 

How to trigger ADC by GPIO through CTU?

 

I have no idea about what to do (i.e what to configure ) in SIUL module for GPIO - ADC triggering through CTU?

 

 Can anybody guide me for this case?

 

Regards,

Arthi Venkatasubramanian

0 件の賞賛
返信
1 返信

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

Hi,

you can use CTU EXT_IN input signal. 

pastedImage_1.png

EXT_IN is available on pads C13 or C15, so set respective PCR/PMSI registers properly.

To enable this signal as MRS trigger set I15_FE/I15_RE bits of the TGSISR register.

pastedImage_2.png

BR, Petr

0 件の賞賛
返信