I'm having difficulty reliably triggering the sequencer. Roughly once in every 10,000 measurements the sequence fails to run.
I'm triggering with:
if(AD5940_INTCTestFlag(AFEINTC_0, AFEINTSRC_DATAFIFOTHRESH) == bTRUE)
// do stuff
I'm using AD5940_SEQGpioCtrlS(AGPIO_Pin2); at the top of the sequence and AD5940_SEQGpioCtrlS(0); at the end to indicate activity; MCUInt is triggered by the negative edge.
Is there a way I can see over SPI that a sequence is in progress?
Is there any form of error response if an SPI transaction fails?
- Eric VanWyk