05-31-2012 08:22 AM
Avnet does not support the OV10633 image sensor.
You will need to write your own code for this image sensor.
I would like to provide one note of guidance:
- the OV9715 uses 8 bit addressing for the I2C transactions
- some of the other OmniVision image sensors use 16 bit addressing for the I2C transactions
Check the datasheet of the OV10633 to find out if it uses 8 bit or 16 bit addressing.
Good luck !
06-01-2012 05:35 AM
Avnet give some function as: fmc_iic_sg_IicWrite / fmc_iic_sg_IicRead fmc_iic_sg_IicEWrite / fmc_iic_sg_IicERead the FMC-IIC_Software_Guide_1_03.pdf
say : the fmc_iic_sg_IicEWrite / fmc_iic_sg_IicERead is for 16-bit register address operate , but I use this is not error.
use the fmc_iic_sg_IicWrite / fmc_iic_sg_IicRead is correct.
use the fmc_iic_sg_IicEWrite / fmc_iic_sg_IicERead
(1) Command Request : 0x10000000 for Start Bit is correct.
(2) Command Request : 0x12600000 for I2C_WRITE_BYTE is step stop.
return Command Response : 0xDEADCAFE
I think the mistake should not be, should be the SG_I2C_CONNTROLLER internal state error problem.Under normal circumstances should not be there.This is I2C (IP) internal problems.In itself this is built using the SystemGeneratorForDsp.I Do not understand this, I hope Avnet can provide a good method, access to 16 register address I2C device.
06-01-2012 06:52 AM
Are you attempting to communicate with the OV9715 image sensor or the OV10633 image sensor ?
If you are communicating with the OV10633 image sensor,
can you confirm if this image sensor supports 8 bit addressing or 16 bit addressing.
What is the I2C address of the OV10633 image sensor ?
This information should all be in the OV10633 datasheet, which you need to request from OmniVision.
The 16 bit addressing functions were provided for convenience, but have not been fully verified.
I do not have any image sensors that support 16 bit addressing in my possession.
If the IicEWrite transaction is failing at step (2), which corresponds to the I2C Device Address,
this means that no I2C device has responded ACK to the Device Address 0x26.
Can you confirm which image sensor you are communicating with, as well as its I2C address ?