Posted on March 11, 2016 at 19:53You can't really get that functionality with the SPI peripheral. You'd have to disable it, and use the MOSI pin as GPIO.Are you using the SPI clock for synchronization?
Posted on March 11, 2016 at 19:39Yes, if the device you are connecting to expects 0x00 or 0xFF bytes, then you'll have reset the buffer each time for correct MOSI behaviour. The library assumes that a receive sends ''don't care'' bytes or is simple...
Posted on March 11, 2016 at 15:10So, what's happening here is:1) Data register is loaded with first byte from pData.2) Data register copied into transmit shift.3) Bits are clocked, with Rx shifted in.4) Rx shift copied to data register.5) First byte...