background image

 
 

 

23 February 2016 

Version 2015_4 

 

 
© 2015 Avnet. All rights reserved.  All trademarks and registered trademarks are the property of their respective owners. All specifications 
are subject to change without notice. 

 

NOTICE OF DISCLAIMER: Avnet  is providing this design, code, or information "as is." By providing the design, code, or information as 
one possible implementation of this feature, application, or standard, Avnet  makes no representation that this implementation is free from 
any claims of infringement. You are responsible for obtaining any rights you may require for your implementation. Avnet expressly 
disclaims any warranty whatsoever with respect to the adequacy of the implementation, including but not limited to any warranties or 
representations that this implementation is free from claims of infringement and any implied warranties of merchantability or fitness for a 
particular purpose. 

FMC-HDMI-CAM + PYTHON-1300-C 

Frame Buffer Design Tutorial 

Overview 

This  reference  design  is  the  getting  started  design  for  the  PYTHON-1300-C  camera 
module.  The camera module features ON Semiconductor’s PYTHON-1300 color image 
sensor.  The  PYTHON-1300  is  a  1/2  inch  Super-eXtended  Graphics  Array  (SXGA)  CMOS 
image sensor with a pixel array of 1280 by 1024 pixels. Designed to address the needs of 
general  purpose  industrial  image  sensing  applications,  the  new  global  shutter  image 
sensor  combines  flexibility  in  configuration  and  resolution  with  high  speed  and  high 
sensitivity for the industrial imaging market. 
 

 

Figure 1 – PYTHON-1300-C Camera Module 

Objectives 

This tutorial will guide the user how to:  

 

Retrieve the design files from the public Avnet git repository 

 

Build the reference design 

 

Execute the reference design on hardware 

 
 

 

Содержание FMC-HDMI-CAM

Страница 1: ...mplementation is free from claims of infringement and any implied warranties of merchantability or fitness for a particular purpose FMC HDMI CAM PYTHON 1300 C Frame Buffer Design Tutorial Overview This reference design is the getting started design for the PYTHON 1300 C camera module The camera module features ON Semiconductor s PYTHON 1300 color image sensor The PYTHON 1300 is a 1 2 inch Super eX...

Страница 2: ...le logic PL The following figure illustrates the block diagram for the programmable logic PL hardware implementation Figure 2 FMC HDMI CAM PYTHON 1300 Camera Reference Design Hardware Block Diagram Valid licenses hardware evaluation or full license are required for the following video IP cores Color Filter Array Interpolation CFA v7 0 Chroma Resampler v4 0 Video On Screen Display OSD v6 0 RGB to Y...

Страница 3: ... Definition Install for Vivado 2015 4 o http www microzed org support documentation 1519 PicoZed Board Definition Install for Vivado 2015 4 Hardware The hardware required to build and execute the reference design is Win 7 PC with a recommended 2 GB RAM available for the Xilinx tools to complete a XC7Z020 design1 One of the following supported FMC carriers o MicroZed 7020 SOM FMC Carrier Card o Pic...

Страница 4: ...oma Resampler v4 0 Video On Screen Display OSD v6 0 RGB to YcrCb Color Space Converter v7 1 Video Timing Controller VTC v6 1 Follow these steps to request an evaluation license 1 Navigate to the Video and Image Processing Pack product page on the Xilinx web site http www xilinx com products intellectual property ef di vid img ip pack html 2 Click the Evaluate link located on the right of the web p...

Страница 5: ...wing web site https github com Avnet hdl 2 Click the branch master button 3 Specify the following search criteria fmchc_python 4 Click the Tags tab Figure 4 Avnet GitHub repository Retrieving specific version with tag 5 Select the fmchc_python1300c_PZ7030_FMC2_20160223_221823 tag This will retrieve a known working version of the design files for the FMC HDMI CAM PYTHON 1300 C reference design 1 2 ...

Страница 6: ...hc_python1300c_PZ7030_FMC2_20160223_221823 zip file to the C Avnet directory and extract the contents of the zip file in this directory 9 Rename the hdl fmchc_python1300c_PZ7030_FMC2_20160223_221823 directory to hdl You should see the following directory structure Figure 6 Extracted C Avnet hdl directory structure NOTE the exact directory name is not critical but it must remain short on Windows ma...

Страница 7: ...nce design the following content is of interest Directory Content Description C Avnet hdl IP avnet_hdmi_in C Avnet hdl IP avnet_hdmi_out IP cores including HDL source for the HDMI input output interfaces including embedded sync code insertion detection C Avnet hdl IP onsemi_vita_spi IP core including HDL source for the SPI controller for use with the VITA PYTHON image sensors C Avnet hdl IP onsemi...

Страница 8: ...Carrier Card V2 set argv list board PZ7030_FMC2 project fmchc_python1300c sdk yes version_override yes set argc llength argv source make tcl notrace Build FMC HDMI CAM PYTHON 1300 C Getting Started design for the PicoZed 7020 FMC Carrier Card V2 set argv list board PZ7020_FMC2 project fmchc_python1300c sdk yes version_override yes set argc llength argv source make tcl notrace Build FMC HDMI CAM PY...

Страница 9: ...to C Avnet hdl Scripts directory 3 Launch the build with the source make_fmchc_python1300c tcl command Figure 9 Vivado 2015 4 TCL Shell Launching the build Vivado v2015 4 64 bit SW Build 1412921 on Wed Nov 18 09 43 45 MST 2015 IP Build 1412160 on Tue Nov 17 13 47 24 MST 2015 Copyright 1986 2015 Xilinx Inc All Rights Reserved Vivado cd C Avnet hdl Scripts Vivado Vivado source make_fmchc_python1300c...

Страница 10: ... one of MZ7020_FMCCC PZ7030_FMC2 ZEDBOARD ZC702 or ZC706 Create and build the hardware design with Vivado 2015 4 including the IP Integrator block design C Avnet hdl Projects fmchc_python1300c BOARD fmchc_ python1300c xpr Create and build the SDK workspace including board support package BSP software application and first stage boot loader FSBL C Avnet hdl Projects fmchc_python1300c BOARD fmchc_ p...

Страница 11: ...nt can be used to execute the reference design on hardware with the FMC Carrier For more detailed instructions on how to boot from the SD card please refer to the FMC Carrier s User Guide Booting from JTAG with SDK The hardware and software can also be loaded to hardware using SDK 2015 4 and a JTAG emulator Set up the hardware as described in the FMC Carrier s User Guide with the following excepti...

Страница 12: ...ce 4 Close the Welcome Window 5 In the SDK menu select Xilinx Tools Repositories 6 Verify that the following Local Repository is specified C Avnet hdl Projects fmchc_python1300c software sw_repository Figure 12 SDK Specifying local repository fmchc_python1300c BOARD fmchc_python1300c sdk C Avnet hdl Projects fmchc_python1300c software sw_repository ...

Страница 13: ...c software sw_repository 8 When done click OK Now that the SDK workspace is correctly configured the hardware and software can be loaded and executed on the hardware 9 In the SDK menu select Xilinx Tools Load FPGA Figure 13 SDK Program FPGA 10 Click the Program button It will take approximately 10 seconds to program the bitstream to hardware 11 Right click fmchc_python1300c_app and select Run as R...

Страница 14: ...arch button 16 Select the fmchc_python1300c_app elf application then click OK 17 Click Apply and then Run 18 If you get a Reset Status dialog box indicating that the current launch will reset the entire system click OK 19 You should see text on the serial console as shown in the next section If you have a PYTHON 1300 C camera module you will observe the content captured by the PYTHON 1300 C image ...

Страница 15: ...Initialization VDMA 0 Initialization VDMA 1 Initialization OSD Initialization hdmi 0x00 cam 0xFF FMC HDMI CAM PYTHON 1300 C Getting Started Design General Commands help Print the Top Level menu Help Screen verbose on Enable verbose verbose off Disable verbose Getting Started Commands start start and select video source hdmi cam FMCHC_PYTHON1300C Figure 14 FMC HDMI CAM Getting Started Design Serial...

Страница 16: ... CAM PYTHON 1300 C Getting Started Design General Commands help Print the Top Level menu Help Screen verbose on Enable verbose verbose off Disable verbose Getting Started Commands start start and select video source hdmi cam FMCHC_PYTHON1300C For more detailed information on a particular command type the command followed by the help argument as follows FMCHC_PYTHON1300C start help Syntax start cam...

Страница 17: ...output FMCHC_PYTHON1300C start hdmi HDMI Input Initialization Waiting for ADV7611 to locked on incoming video ADV7611 Video Input LOCKED Input resolution 1920 X 1080 VDMA 0 Initialization VDMA 1 Initialization OSD Initialization hdmi 0xFF cam 0x00 FMCHC_PYTHON1300C If the resolution of the video source is less than 1080P the video source will be displayed in the top left portion of a 1080P resolut...

Страница 18: ...1300C Enabling Verbose Additional verbose can be enabled with the verbose on command This is useful for diagnostic purposes when needed FMCHC_PYTHON1300C verbose on verbose on FMCHC_PYTHON1300C The expected output in verbose mode for the camera input is shown below FMCHC_PYTHON1300C verbose on verbose on FMCHC_PYTHON1300C start cam start cam Video Frame Buffer Initialization PYTHON Receiver Initia...

Страница 19: ...000 VITA_SPI 0x0020 0x3006 VITA_SPI 0x0022 0x0001 VITA SPI Sequence 4 Required Register Upload VITA_SPI 0x00C5 0x0205 VITA_SPI 0x00E0 0x3E5E VITA_SPI 0x00CF 0x0000 VITA_SPI 0x0081 0x8001 VITA_SPI 0x0080 0x4714 VITA_SPI 0x00CC 0x01E3 VITA_SPI 0x0029 0x085A VITA_SPI 0x002A 0x0011 VITA_SPI 0x0041 0x288B VITA_SPI 0x00D3 0x0E49 VITA_SPI 0x002B 0x0008 VITA_SPI 0x0046 0x1111 VITA_SPI 0x0043 0x0554 VITA_S...

Страница 20: ... 0x0000000F VITA CRC Status 0x0000000F VITA CRC Status 0x0000000F VITA CRC Status 0x0000000F VITA CRC Status 0x0000000F VITA CRC Status 0x0000000F VITA CRC Status 0x0000000F VITA CRC Status 0x0000000F VITA CRC Status 0x0000000F VITA CRC Status 0x0000000F VITA SPI Sequence 6 Enable Sequencer VITA_SPI 0x00C0 0x0800 0x0001 VITA_SPI 0x00C0 0x0801 VITA SPI Sequence CDS VITA_SPI 0x00C0 0x0800 VITA_SPI 0...

Страница 21: ... 0xCC02 VITA_SPI 0x01A4 0xC801 VITA_SPI 0x01A5 0xCC02 VITA_SPI 0x01A6 0xC806 VITA_SPI 0x01A7 0xC800 VITA_SPI 0x00DB 0x0020 VITA_SPI 0x01A8 0x0030 VITA_SPI 0x01A9 0x2076 VITA_SPI 0x01AA 0x2071 VITA_SPI 0x01AB 0x0071 VITA_SPI 0x01AC 0x107F VITA_SPI 0x01AD 0x1072 VITA_SPI 0x01AE 0x1074 VITA_SPI 0x01AF 0x0076 VITA_SPI 0x01B0 0x0031 VITA_SPI 0x01B1 0x21BB VITA_SPI 0x01B2 0x20B1 VITA_SPI 0x01B3 0x00B1 V...

Страница 22: ...0x01CD 0x0071 VITA_SPI 0x01CE 0x0179 VITA_SPI 0x01CF 0x0078 VITA_SPI 0x01D0 0x1074 VITA_SPI 0x01D1 0x0076 VITA_SPI 0x01D2 0x0031 VITA_SPI 0x01D3 0x21BD VITA_SPI 0x01D4 0x20B1 VITA_SPI 0x01D5 0x00B1 VITA_SPI 0x01D6 0x10BF VITA_SPI 0x01D7 0x10B2 VITA_SPI 0x01D8 0x10B4 VITA_SPI 0x01D9 0x00B1 VITA_SPI 0x01DA 0x0030 VITA_SPI 0x00DD 0x624A VITA_SPI 0x00DE 0x624A VITA_SPI 0x00C0 0x0801 0x0001 VITA_SPI 0x...

Страница 23: ...Page 23 of 23 Revision History Date Version Revision 7 Sep 2015 2014 4 01 First Version supporting MicroZed FMC Carrier ZedBoard and ZC702 18 Nov 2015 2015 2 01 Update to Vivado 2015 2 9 Dec 2015 2015 2 02 Add support for PicoZed FMC Carrier V2 and ZC706 23 Feb 2016 2015 4 01 Update to Vivado 2015 4 ...

Отзывы: