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
Hi,
you can use CTU EXT_IN input signal.
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.
BR, Petr