AnsweredAssumed Answered

SPItoFTDI example - sending buffers twice

Question asked by amf on Apr 18, 2016
Latest reply on Apr 22, 2016 by SteveM

I have a question about the SPItoFTDI example (details attached).  Basically, I'm wondering why/how the xfr struct

gets changed after a transfer?  At least, I found that when using a prologue, if I don't explicitly re-set, to the same values, the fields xfr.pPrologue and xfr.PrologueSize, that the second send doesn't work.  I want to make sure I completely understand how the SPI's API works, because I've been chasing this problem for many weeks.


Thank you.