AnsweredAssumed Answered

ADI SPI INT device driver

Question asked by augie on Jan 24, 2012
Latest reply on Oct 2, 2012 by bala

I have been trying to get the SPI device driver working on my Blackfin SDPB development board. I have other drivers working so it doesn't appear to be an issue with dev_Open, and that returns a SUCCESS. I pretty much copied the code from ADI_SPI_INT.PDF document on using SequentialIO at the end of the document. Is that document out of date? The line,

Result = adi_dev_SequentialIO(SPIHandle, ADI_DEV_1D, (ADI_DEV_BUFFER *)&OutboundBuffer);

..returns with 'Device Doesn't support Buffer Type.' I looked in spi.c and sure enough, to use SequentialIO, it needs to be passed ADI_DEV_SEQ_1D. But even after fixing that I have been running into many other bad result codes. Does anyone know if this example actually works as is?

 

Thanks!

 

Outcomes