This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

OV2640 Issue with I2C and SCCB protocol

Hi everyone,

I'm trying to communicate with OV2640 Camera Module via I2C. I bought this model:

It has SDA and SCL, but doesn't uses I2C Protocol, instead OmniVision uses SCCB Protocol, defined by themselves. The problem here is that this protocol, unlike I2C, doesn't send ACK bit next to the 8BIT sended, instead it defines it like "Don't Care Bit". I found some examples like: https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo .

I tried it, but didn't work, I think the problem is that the model that's used in the example is different and has a chip that controls I2C and SPI. 

I also tried to do it by doing bit-banging, sendind the data clearing and setting GPIO manually, being care of the timings of the SCCB protocol, but when I have to receive the data, I just get FF. I checked it with an oscilloscope and the bus kinda tried to move, like it had a lot of noise.


I'm using NRF52833 DK. Like I said before, I tried using TWI library of Nordic but doesn't seems to work.
Might I have to delete the ACK part from the TWI library?

Thanks for reading.

Related