Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:start [2019/05/20 10:51] – [Download and Launch the ZedBoard FMC-Pcam-Adapter Demo] Vanca Bogdan-Augustinlearn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:start [2019/08/19 21:25] (current) Arthur Brown
Line 1: Line 1:
-====== ZedBoard FMC-Pcam-Adapter Demo======+====== ZedBoard FMC Pcam Adapter One to Four Camera Demo ====== 
  
-//Fig1.The demo in action - displaying all four Pcam 5C data.// 
  
 ===== Overview ===== ===== Overview =====
 {{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:moving_hand.jpg |}} {{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:moving_hand.jpg |}}
 +
 +//Fig1.The demo in action - displaying all four Pcam 5C data.//
 +
 ==== Description ==== ==== Description ====
  
-This project demonstrates the usage of the FMC Pcam Adapter as an interface from one to four different Pcam cameras and the ZedBoard platform. The Video Stream from each different camera is getting in through the MIPI/FMC connectors and out through the carrier VGA port. For errors and feed-back messages, an uart interface is present.+This project demonstrates the usage of the FMC Pcam Adapter as an interface from one up to four different Pcam cameras and the ZedBoard platform. The Video Stream from each different camera is getting in through the MIPI/FMC connectors and out through the carrier VGA port. For errors and feed-back messages, an uart interface is present.
  
  
Line 50: Line 53:
 ===Software=== ===Software===
   * **Vivado Design Suite & Xilinx SDK 2018.2**    * **Vivado Design Suite & Xilinx SDK 2018.2** 
-    * //Version 2018.2 must be used to generate the project//+    * //Version 2018.2 is the only one used for testing the project//
  
 ----- -----
 ===== Downloads ===== ===== Downloads =====
-ZedBoard-FMC-Pcam-Adapter Project Repository -- [[https://github.com/Digilent/Zybo-Z7-20-pcam-5c/releases/download/v2016.4-1/Zybo-Z7-20-pcam-5c-2016.4-1.zip|ZIP]] TODO [[https://github.com/Digilent/ZedBoard-FMC-Pcam-Adapter-DEMO|GIT Repo]]+ZedBoard FMC Pcam Adapter Project Repository -- [[https://github.com/Digilent/ZedBoard-FMC-Pcam-Adapter-DEMO/releases/download/v2018.2-1/ZedBoard-FMC-Pcam-Adapter-2018.2-1.zip|ZIP]]     [[https://github.com/Digilent/ZedBoard-FMC-Pcam-Adapter-DEMO|GIT Repo]]
  
 ------- -------
  
-===== Download and Launch the ZedBoard FMC-Pcam-Adapter Demo =====+===== Download and Launch the ZedBoard FMC Pcam-Adapter Demo =====
  
->Follow the [[:learn:programmable-logic:tutorials:github-demos:start:|Using Digilent Github Demo Projects]] TutorialSince this is a Vivado SDK Project, you can either directly launch SDK and import the hardware handoff, or you can generate a bitstream in Vivado before launching SDK. Select the hardware handoff options in the tutorial if you don't want to modify the project block design later. Return to this guide when prompted to check for additional hardware requirements and setup.+>Please follow the instructions that are listed in the chapter "DEMO" of the README file (check [[https://github.com/Digilent/ZedBoard-FMC-Pcam-Adapter-DEMO|here]])Keep in mind that you have to export the hardware platform and the bitstream file before launching SDK. Return to this guide when prompted to check for additional hardware requirements and setup.
  
->Plug one end of the VGA cable into the VGA port of the ZedBoard and the other into your VGA monitor. Attach a USB micro cable between the J7 programming port and your computer. Also, attach a second USB micro cable between J14 UART port and your computer. After this, attach an external 12V power supply. Finally, make sure that VADJ is set to 3V3 and all the MIOs pins are connected to SIG and GND. This sets the primary boot mode to JTAG.+>Plug one end of the VGA cable into the VGA port of the ZedBoard and the other end into your VGA monitor. Attach a USB micro cable between the J7 programming port and your computer. Also, attach a second USB micro cable between J14 UART port and your computer. After this, attach an external 12V power supply. Finally, make sure that VADJ is set to 3V3 and all the MIOs pins are connected to SIG and GND. This sets the primary boot mode to JTAG. 
 +
 >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:overall_setup.jpg |}} >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:overall_setup.jpg |}}
 > >
Line 68: Line 72:
 > >
  
->First, you have to make sure that all the Pcam connectors in which you want to insert the FFC cable are open. Pull the black plastic tab on the edge of the connector out, away from the opening of the connector. This opens the connector, as it can be seen in the first image of Figure 2+>First, you have to make sure that all the Pcam connectors in which you want to insert the FFC cable are open. Pull the black plastic tab on the edge of the connector out, away from the opening of the connector. This opens the connector, as it can be seen in the first image bellow
->Insert the FFC with the contacts facing up, toward the Pcam 5C PCB. The blue side (without contacts exposed) should be facing down on the Pcam side. Repeat the same procedure with the Pcam connector on the FMCAdapter, as you can see in the image number 2. +>Insert the FFC with the contacts facing up, toward the Pcam 5C PCB. The blue side (without contacts exposed) should be facing down on the Pcam side. Repeat the same procedure with the Pcam connector on the FMC Pcam Adapter, as you can see in the image number 2. 
 +
 >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:setup_1_2.jpg |}} >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:setup_1_2.jpg |}}
 > >
->//Fig.3 First image shows the bottom of the FMC-Pcam-Adapter with the connectors left open, and the second image shows the FFC cable with the contacts facing up//+>//Fig.3 First image shows the bottom of the FMC Pcam Adapter with the connectors left open, and the second image shows the FFC cable with the contacts facing up//
 > >
  
 >After this, please ensure the FFC is fully inserted, and press both sides of the black plastic tab back towards the rest of the connector to latch the FFC in. Bellow you can see two cables which are fully inserted.  >After this, please ensure the FFC is fully inserted, and press both sides of the black plastic tab back towards the rest of the connector to latch the FFC in. Bellow you can see two cables which are fully inserted. 
->Repeat the same procedure with the camera C and D. But, this time the cables should go trough the two slots which are present on the Adapter. If the cable has become disconnected from the Pcam 5C or the FMCPcam Adapter, please repeat the steps presented above.+>Repeat the same procedure with the camera C and D. But, this time the cables should go trough the two slots which are present on the Adapter. If the cable has become disconnected from the Pcam 5C or the FMC Pcam Adapter, please repeat the steps presented above. 
 +
 >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:setup_3_4.jpg |}} >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:setup_3_4.jpg |}}
 > >
Line 82: Line 88:
 > >
  
->Finally, after you connected all the cameras you have to connect the FMC connector to the ZedBoard. To ensure that it firmly stays in place you should use one or two bolts as you can see in the image bellow.+>Finally, after you connected all the camerasyou have to connect the FMC connector to the ZedBoard. To ensure that it stays firmly in place you should use one or two bolts as you can see in the image bellow.
  
 >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:setup_5_5.jpg?600 |}} >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:setup_5_5.jpg?600 |}}
Line 97: Line 103:
  
 >If a camera is unconnected you will receive an warning message. The program will skip this warning and will start to initialize the rest of the cameras. >If a camera is unconnected you will receive an warning message. The program will skip this warning and will start to initialize the rest of the cameras.
 +
 >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:uart_fmc_pcam_disc.png |}} >{{ :learn:programmable-logic:tutorials:zedboard-fmc-pcam-adapter-demo:uart_fmc_pcam_disc.png |}}
 > >
Line 108: Line 115:
 >//Fig.8 Output VGA image with the camera A disconnected// >//Fig.8 Output VGA image with the camera A disconnected//
 > >
 +{{tag>learn programmable-logic project add-ons pcam-5c fmc-pcam-adapter zedboard}}