Can you please help me with this project?
I 'm currenrly trying to interface the omnivision 7620 colour image sensor with the TI DSP TMS320C6711. I think that I have to built the I2C intrface to an FPGA or somethink like that ... Does any of you have any ideas about what should I do?
Does the TI DSP has GPIO output?
If it does, you can write a sub-function to generate the I2C waveform to configure the sensor. Or not, I think you must implement it by FPGA.
Sorry guys , but because i'm new in this, do i have to pull wires from the sensor to the fpga and then interface the fpga (ALTERA FLEX10K) with the c6711 or i can do it directly without the help of the fpga? this is my graduation project but it seems very blury to me...
For I2C, you can direct connect sensor to dsp by pull-high circuit(using a pull high resitance, see the datasheet or I2C specfication.
The clock rate of sensor output data may be from 1M~12M according the oscillator and the configure setting. You must check the speed of GPIO to decide the output rate.
No fpga is needed. just connect 2 GPIO of 6711 to SCL and SDA, then program the GPIO by the sequence of I2C. Don't forget to pull up the SCL and SDA with 4.7k resistor
Ok we will use the GPIO with the I2C to configure the sensor.
a) How I interface the sensor to the DSP in order to acquire the image ?
b) How the acquired image can be saved into the DSP RAM ?
c) I have to write a C program for the I2C interface right?
Doyou know where to find this source code?
The DSP have 16 GPIOs.
Two for I2C
Two for HSYNC/VSYNC
Ten for data.
So it is enough.
To received the data, you must check the syncs.
There are two type.
One is CCIR656, the sync information is embedded in data.(See the datasheet)
The other is two seperate line called HSYNC and VSYNC.
I looked into the TI datasheets but i could find information about the GPIO pins.
The only thing that i found is that i can use the McBSP pins as GPIO...
Let me ask you something else...
Wthat are the defferences between SCCB and I2C interface?
The omnivision camera datasheet says that the interface is SCCB while in the site it is mentioned that I2C is used!!!! (The camera is OV7620)
The time diagram of SCCB look like that of I2C. I think they are the same.
If you want the soure code to generate I2C waveform, you can search other forum in this site. I have see someone post, but I don't remeber where it is.