Hi, I have been trying to port Pixy2 to an Microchip/Atmel SAMD21 using a SPI connection.
As in the earlier response, I have been sending bytes 0xAE, 0xC1,0x0E, 0x00. I have tried all four SPI modes (0 - 3) and I am sending at 20mbit. I have tried delays between sending and response of microsecs to millisecs.
I can see the bytes going out on the logic analyser and bytes being returned, but the response does not seem to make any sense just 0xFE, 0xFF and 0xFDs.
I am assuming that the Pixy can work at 3.3v as the Microchip one does.
I see the Arduino software has an init function, but all it appears to do is prepare the Arduino for the speed, MSB and mode which I have already done on the SAMD21. There does not seem to be any function which prepares the Pixy for data other than the bytes as shown above.
I would appreciate any help you can give.