Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Hi Viv2k, I'm starting out trying to use the DE2-115 with the D5M camera, LTM LCD and SOPC builder. I have hot snags which i'll explain further below. 1. Do you have a working SOPC design for the camera? d5m problems I have done alot of reading and created my own SOPC design using the UNI program cores, just trying to get camera converted to 640x480 for VGA port display. My design won't display via the VGA, the monitors are saying it is "un-optimised" wrong resolution, must be an error on my end as the char and pixel examples worked. --- Quote End --- Hi AsValdr, I'm having the same problem too with the camera reading! I tried to adapt an example UP design file targeted at the DE2 (in folder Video_Demos_using_SOPC_Builder/DE2/Extras_D5M_Video_In) to be able to do the same thing with DE2-115 and D5M camera but I was not successful. My camera seems to be sending data because when I cover the lens, the VGA display goes dark and when I remove my hand from the lens, the display goes back to noisy garbage. I think I'm messing up somewhere in the GPIO pin settings. I think I could be wrong in three places: 1) The JP5 GPIO setting used by the SOPC Builder UP PIO component. I am not sure what to put in the 'Edge Capture Register' 2) The module altera_up_video_in_dual_clock_fifo has a dcfifo component that is supposed to work on Cyclone II only. I don't know if that is preventing us from getting the right data with our CycloneIV. 3) If I write the following two Output Assignments as in the example design file: assign GPIO[19] = 1'b1; assign GPIO[17] = KEY[0]; It doesn't compile and I get errors such as "GPIO[17] has multiple drivers due to the non-tri-state driver key[0]" and "GPIO[19]"... due to constant driver. Any idea on how to solve these errors? Send me a private message with your email address and I will send you my project file to see if you can learn things from it and hopefully we track down the mistakes. We need to join forces on this. I'm getting a bit annoyed by this camera and board! I thought the camera would work straight away using that SOPC Builder UP Video Decoder component. Of course the camera comes with an example design file but it is not 'SOPC-compliant' for beginners like me :( I think I made a mistake buying latest DE2-115.. should have stuck to tried and tested DE2.