Hi,
I am working with a TMS320F28335 bord, I am doing some aquisitions with the adc module, triggering them by an external interrupt at GPIO17. Till then its works just fine, I obtain the measures and all; the problem is that I want to trigger the aquisition with the falling edge of the triggering signal, but even by setting (in an EALLOW environment):
GpioCtrlRegs.GPADIR.bit.GPIO17=0; //gpio17 is an input
GpioCtrlRegs.GPAPUD.bit.GPIO17=0;
GpioIntRegs.GPIOXINT2SEL.bit.GPIOSEL=17;//17
GpioCtrlRegs.GPAQSEL2.bit.GPIO17=2;
XIntruptRegs.XINT2CR.bit.ENABLE=1;
XIntruptRegs.XINT2CR.bit.POLARITY=0;//falling edge
its still aquire in the raising edge.
Thank in advance,
Mario.