PASM SPI object moving up to 32 bytes?
I'm trying to improve speed of SPI byte transfer in an old project. The old SPI PASM object(Propeller SPI engine v1.2) is shifting in selectable bits and I'm shifting in 8 bits at a time using i SPIN repeat loop. But this slows down the data transfer very much.
REPEAT thebyte from 0 to bytes-1
BYTE[ptrData][thebyte] := SPIbus.shiftin (PINmosi, PINclk, SPIbus#MSBPRE, 8)
Does anyone have a PASM SPI object where I just can pass the datapointer and number of bytes i want shifted in on this location ?