Black Screen for image sensor OV7670

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Divya_y
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hi,
I have been working on the given example for OV7670 given in the below link:
Embedded Engineering : DIY USB 3.0 Camera: UVC Video Device Class VGA Camera Using Cypress FX3 (circ...

I have downloaded the code given in the above link and  imported the project into EZ-USB Suite and build the project
and got the elf file(cyfxuvc.elf) and the image(cyfxuvc.img)

The connections done between OV7670 and FX3 are as follows:
3.3V         -   V3P3
SCL          -   SCL
VSYNC    -   GPIO[29] (CTL[12])
PCLK      -    GPIO[16] (PCLK)
D7           -    DQ[7]
D5           -    DQ[5]
D3           -    DQ[3]
D1           -   DQ[1]
RESET   -   GPIO[22] (CTL[5])
GND       -   GND
SDA        -   SDA
NREF     -   GPIO[28] (CTL[11])
XCLK     -   I2S_MCLK
D6          -   DQ[6]
D4          -   DQ[4]
D2          -   DQ[2]
D0          -   DQ[0]
PWDN   -  GPIO[17] (CTL[0])
Using USB Control Center, selected the options as Program->FX3->RAM and uploaded the image(cyfxuvc.img), after uploading it shows "programming succeeded"
when i checked in the VLC Media player for the image, it shows black screen. please let me know if anyone has the solution for it.

Thank you

0 Likes
1 Solution
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi,

Please look at Section 8.1  under Section 8 - Troubleshooting in the given application note :
https://www.cypress.com/file/123506/download.

Please do let us know if none of these steps solved your issue.

Best Regards,
AliAsgar

View solution in original post

0 Likes
5 Replies
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi,

Please look at Section 8.1  under Section 8 - Troubleshooting in the given application note :
https://www.cypress.com/file/123506/download.

Please do let us know if none of these steps solved your issue.

Best Regards,
AliAsgar

0 Likes
lock attach
Attachments are accessible only for community members.

Hi,
To check this point:
" Enable “DEBUG_PRINT_FRAME_COUNT” switch in the uvc.h file to find out whether EZ-USB™ FX3 is
streaming images. This switch will enable UART prints for frame counts. On SuperSpeed explorer kit, UART
is always available through the on-board integrated debugger. Open HyperTerminal, Tera Term, or another
utility that gives access to the COM port on PC."
I have installed TeraTerm but the USB cable is showing under "Universal Serial Bus Controllers" but not on "Ports". 
Please suggest me how to check with the terminal, i have attached the image of where the USB cable is shown
Thank you.

0 Likes
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi,

Have you connected the UART port of FX3 to PC?

Is superspeed explorer kit being used?

What is coming up under "Ports" connection when FX3's USB port and UART are connected to the PC.

Best Regards,
AliAsgar

0 Likes
lock attach
Attachments are accessible only for community members.

Hi,

I have connected the UART port of FX3 to PC.

Yes, used superspeed explorer kit.

Nothing appears under "Ports" when connected  for UART, I can find only USB connection seen on "Universal Serial Bus Controllers".

Thank you,
Regards,
divya

0 Likes
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi Divya,

Could you download the USB Serial SDK and let me know what the SCBs are configured as in USB Serial Configuration utility?

Best Regards,
AliAsgar

0 Likes