Bus Pirate: TreansmitReceive over SPI

Hello there,

I am trying to write and read over SPI (as master) at the same time via [Bus Pirate. The problem is that it seems that the interface only supports[ either write or read of multiple bytes. This seems very limiting and uncommon for an SPI device and I am sure I am missing something. I tried doing something like this in order to write 2 declared bytes and read 2 bytes at the same time from slave:

SPI>[ 0xaa r 0xbb r ]

But only the first read byte is valid, and it is probably because I have pushed it out via second written byte.

I would appreciate all help regarding this case.](Bus Pirate menu options guide - DP)](Bus Pirate - v3.6a - TOL-12942 - SparkFun Electronics)

You might want to check out the Dangerous Prototypes Bus Pirate forum at the link below.

Dangerous Prototypes is the company that wrote the firmware for these and that’s where the experts on Bus Pirate can be found. :slight_smile:

http://dangerousprototypes.com/forum/in … ?board=4.0

Hi, thanks for answer.

Yes, I found the forums but account verification takes very long already so decided to post here in the meanwhile, hoping someone has similar issues.