I am attempting to port the Pixy over to an STM32F3Discovery Board using I2C communication. I have used the “porting guide” from this site but I cannot seem to get the Pixy to acknowledge the STM32F3Discovery’s commands. I hooked up Oscilloscope to the SDA and SCL lines between the Pixy and the STM32 board and I can capture the command from the Master(the discovery board) but the Pixy is not pulling down the Ack bit on the 9th bit of the frame. I see :101010011 for the first frame on my scope. I have left the address of the Pixy at its default value of 0x54 and the SCL frequency captured on the scope is about 100kHz. Is there an obvious problem with the clock frequency or is the first frame that is trying to setup for a “Write” command formatted improperly for a Pixy address of 0x54 that was set on the Pixy using Pixymon?
I also have a question regarding which register address to start reading data from on the Pixy. Most of the I2C examples I have found for the STM32 boards on the web show a step where the address of the register you are trying to read is sent to the slave device before the data is actually read and then many of the I2C slave devices are set up to auto-increment the registers on successive reads.
Any help you could provide would be appreciated. In case it matters, I am using the Eclipse compiler and programming in C (not C++)
Regards.