<< return to Pixycam.com

Pixy2 SPI connection with KL25Z

Hello,

I want to develop a racing car for the NXPCup contest using an Pixy2 camera and a FRDM KL25Z board.
My problem is that I’ve made the physical connections for the SPI, but I can’t get any data from the camera. Could you help me with more informations ? How to send a request from the board to the camera and how can I read the data from the camera? Thank you!

Hi there,

these links should be of use. SPI specific info: https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:porting_guide#spi

Info on the serial protocol: https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:porting_guide#the-serial-protocol

And packet-specific commands: https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:porting_guide#pixy2-serial-protocol-packet-reference

Note that you need to set the interface in PixyMon to “SPI” in order for any of this to work.

Hope this helps!

Cheers,
Jesse