Forum Discussion
I have not yet played with the Nios II stuff, all my code is in verilog and as for setting up the registers i just ran a decent sized state machine to make a brute approach at the I2C for the registers. i would recommend loading the code they have and watching their data transmitions on the Sdata pin and the Sclk pin. i was able to emulate how they did the transmistions for the start and stop bits. my guess for you with the Nios is to not just use the trigger pin but controll taking the snapshot by writing to one of the registers and triggering the camera that way. once you have the I2C working the rest falls together fairly easy. reading from the Camera is much easier than i thought. i dont have my code on me right now but i will try and get some of it posted for ya in the near future.