Hello.
_______
I am connecting a Gumstix PALO43 (with OMAP3530 in it) to an ADS1278, via SPI.
_______________________________________________________________________
In the 3530 I am polling for GPIO146 tied to /DRDY, a data-ready line from 1278.
________________________________________________________________________________
When DRDY is low, I start SPI clock and MISO acquire.
______________________________________________________
Data can be seen on the MISO line, coming from 1278 into 3530.
______________________________________________________________
However too much time (4 us) elapses between /DRDY and clock and acquire.
__________________________________________________________________________
Data longer than 3 bytes (24 bytes or more on 8 channels) can thus be squashed by the next /DRDY.
__________________________________________________________________________________________________
It's faster to trigger clock and acquire through an interrupt.
________________________________________________________________
The TI document spruf98d.pdf in page 3457 writes how to make a GPIO (here GPIO146) interrupt-enable.
____________________________________________________________________________________________________
When I write an interrupt function, what declaration ties the awakening of this interrupt function
_________________________________________________________________________________________
to the interrupt-enabled GPIO146?
___________________________________
In other words, what should I do to write an interrupt function tied to GPIO146?
__________________________________________________________________________________
Ion A. Beza.
______________