SPI HS single transfer question
Posted: Thu Aug 11, 2016 5:39 am
I've been reading through different messages on the board and I'm trying to figure out how to do non-DMA high speed transfers over SPI.
The board does NOT have the NSS pin running to the /SYNC pin of the DAC I am using, so I have to software toggle the SYNC pin after every 16-bit transfer.
As probably expected, using spiSend is slow for this.
What I don't understand is spiPolledExchange wants data back, but I the DAC has no communication pin to attach to MISO so how do I tell it nothing is coming back in? Not sure I understand how to work in this mode.
Rick
The board does NOT have the NSS pin running to the /SYNC pin of the DAC I am using, so I have to software toggle the SYNC pin after every 16-bit transfer.
As probably expected, using spiSend is slow for this.
What I don't understand is spiPolledExchange wants data back, but I the DAC has no communication pin to attach to MISO so how do I tell it nothing is coming back in? Not sure I understand how to work in this mode.
Rick