<< return to Pixycam.com

SPI Communication format

Hello everyone.
I am developing a new code for NXP K64F to communicate with Pixy2 via SPI and as I can see from Arduino library the communication via SPI is byte for byte, I mean the microcontroller sends one byte and pixy2 responds with one byte, not in the form that microcontroller sends the complete bytes of the packet and waits for response from pixy2. Please if you can tell me if my thinking is right or wrong.

Hello,
Please check out this link:
https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:porting_guide

It has some good information about the protocol and using SPI.

Edward