Contents Introduction............................. 3 Required Hardware......................... 4 Set Up the Hardware........................5 Attach Daughter Cards, Jumpers, and Cables..................6 Connect Raspberry Pi Computers and Monitors..................7 Set Up the Raspberry Pi Cameras......................8 Program the Trion T20 MIPI Development Board................. 9 ® Run the Example Design.......................10 Use the Efinity Debugger to Control Video Output................
AN 014: Using the Trion T20 Dual-Camera MIPI Example Design Introduction The Raspberry Pi MIPI CSI-2 dual-camera bridge example design illustrates how the Trion ® T20 FPGA can receive high-speed video data from multiple cameras, process it with a filter, and then transmit the video over a high-speed interface to an application processor.
AN 014: Using the Trion T20 Dual-Camera MIPI Example Design The example design also includes the Virtual I/O debugger core. With the Efinity Debugger, ® the Virtual I/O core lets you monitor changes in the design and adjust the red gain shown on the monitors.
AN 014: Using the Trion T20 Dual-Camera MIPI Example Design Set Up the Hardware Setting up the hardware involves these general steps: 1. Attach the daughters cards, jumpers, and cables. 2. Connect the 2 Raspberry Pi boards and monitors. 3. Set up the 2 Raspberry Pi cameras.
AN 014: Using the Trion T20 Dual-Camera MIPI Example Design Attach Daughter Cards, Jumpers, and Cables In this step you connect the 4 Raspberry Pi Camera Connector Daughter Cards to the Trion ® T20 MIPI Development Board and attach cables and jumpers. The following figure provides a reference to help you make the correct connections.
AN 014: Using the Trion T20 Dual-Camera MIPI Example Design 6. Connect a USB cable to the Trion T20 MIPI Development Board and to your computer. ® The board receives power through the USB cable. Important: Leave the board turned off. You will turn it on later after you have set up the Raspberry Pi cameras and computers.
AN 014: Using the Trion T20 Dual-Camera MIPI Example Design Set Up the Raspberry Pi Cameras In this step you connect the cameras and enable them. After you connect the cameras, you power the Raspberry Pi computers up one at a time and enable their connection to the respective cameras.
AN 014: Using the Trion T20 Dual-Camera MIPI Example Design 3. Enable the camera attached to MIPI channel 1: Note: The Raspberry Pi camera is disabled by default. a) Go to the Raspbian Desktop. b) Choose Raspberry Pi > Preferences > Raspberry Pi Configuration.
AN 014: Using the Trion T20 Dual-Camera MIPI Example Design Run the Example Design With the hardware set up and the Trion T20 MIPI Development Board programmed you ® are ready to run the dual-camera video processing application. 1. Open a command prompt on the Raspbian Desktop.
AN 014: Using the Trion T20 Dual-Camera MIPI Example Design 5. To adjust the red, green, or blue gain, enter a value from 0 to 7 in the Value field for the red_gain, green_gain and blue_gain sources. 0 is the minimum setting and 7 is the maximum setting.
AN 014: Using the Trion T20 Dual-Camera MIPI Example Design Shut Down the Example Design Wihen you are finished using the example design, use these steps to shut it down. 1. Type Ctrl+C on the Raspberry Pi keyboard to stop streaming video on the attached camera.
Need help?
Do you have a question about the Trion T20 and is the answer not in the manual?
Questions and answers