Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Problem using TRDB-D5M Camera with SOPC Builder

I'm trying to use the TRDB-D5M camera connected to a DE2-115 with the UP video design examples. However I can't achieve what the example design file contained in following folder is supposed to do:

IP_Core_Demos\Video_Demos_using_SOPC_Builder\DE2-115\Example_4_Video_In

The main modifications that I made in SOPC builder is to change the input of the 'Video-In Decoder' core to THDB_D5M camera, add 'Bayer Pattern Resampler', use 'Scaler' and 'Clipper' components to match VGA 640 x 480 specifications. The system was generated successfully.

Then I added the following lines to the main example_4_video_in.v file to be able to read from the camera:

.PIXEL_CLK_to_the_Video_In_Decoder(PIXEL_CLK),

.FRAME_VALID_to_the_Video_In_Decoder(FRAME_VALID),

.LINE_VALID_to_the_Video_In_Decoder(LINE_VALID),

.PIXEL_DATA_to_the_Video_In_Decoder (PIXEL_DATA),

This compiled without errors too. But when I download the .sof to the board, I don't get any display on the VGA output. Am I missing something there?

I can see that the 'Video-In Decoder' component has option THDB_D5M but the camera is called TRDB_D5m. Could that be a reason?

The camera system CD has an example file which works fine, but it does not make use of SOPC. I would like the video source to be an SOPC component. Has anybody used this camera in this way?

25 Replies