Hi,
I'm trying to use the Blackfin SPI interface to feed data to an AD5066 DAC. I have SPI set up in interrupt mode with a callback function set. My expectation is that for every transceiver submitted via adi_spi_SubmitBuffer(), my callback function will be called with pArg pointing at a transceiver that has completed.
Usually, if I submit a second transceiver before the callback for the previously submitted transceiver, I get two callbacks; one for each transceiver submitted.
Occasionally, however, if I submit a second transceiver before the first one has completed, I see no callback for the second transceiver. I always (so far at least) see a callback for the first transceiver.
Is this normal? If it's normal, how do I know when transmission of the second transceiver has completed?
Thanks.