DG0723 Demo Guide SmartFusion2 Imaging and Video Kit MIPI CSI-2

Similar documents
Microsemi SmartFusion 2 SoC FPGA and IGLOO 2 FPGA

DG0849 Demo Guide PolarFire Dual Camera Video Kit

DG0598 Demo Guide SmartFusion2 Dual-Axis Motor Control Starter Kit

ZL70550 ADK Release Notes

UG0648 User Guide Motor Control Libero Project

SyncServer S600/S650 Options, Upgrades and Antenna Accessories

Network Time Synchronization Why It is Crucial for Regulatory Compliance in Enterprise Applications

DG0633 Demo Guide IGLOO2 FPGA CoreTSE MAC 1000 Base-T Loopback Demo - Libero SoC v11.7 SP2

UG0649 User Guide. Display Controller. February 2018

UG0850 User Guide PolarFire FPGA Video Solution

MIPI CSI-2 Receiver Decoder for PolarFire

MML4400 Series Datasheet RoHS-Compliant Fast Surface Mount MRI Protection Diodes

MAICMMC40X120 Application Note Power Core Module Mounting and Thermal Interface

ENT-AN0125 Application Note PHY, Integrated PHY-Switch VeriPHY - Cable Diagnostics Feature

Libero SoC v11.9 SP2 Release Notes 11/2018

UG0812 User Guide. T-Format Interface. February 2018

Libero SoC v11.8 Service Pack 2 Release Notes 11/2017

Zero Recovery Silicon Carbide Schottky Diode

0912GN-120E/EL/EP Datasheet E-Series GaN Transistor

UG0693 User Guide. Image Edge Detection. February 2018

1214GN-50E/EL/EP Datasheet E-Series GaN Transistor Driver

2731GN-120V Datasheet Class-AB GaN-on-SiC HEMT Transistor

Power Modules with Phase-Change Material

User Guide. PD-IM MH and PD-IM T4H Four 2-Pair Ports and Four 4-Pair Ports Evaluation Boards

AC342 Application Note CQFP to CLGA Adapter Socket

Enhanced Prediction of Interconnect delays for FPGA Synthesis using MATLAB

0912GN-50LE/LEL/LEP Datasheets E-Series GaN Transistor Driver

Achieve Peak Performance

MPS4101-6LP Datasheet 50 MHz 25 GHz RoHS-Compliant Control Device QFN SPST PIN

Series 8 (12 Gbps) and Series 7 (6 Gbps) Technical Brief Flexible Configuration Options for Microsemi Adaptec SAS/SATA RAID Adapters

UG0693 User Guide Image Edge Detection

Ultrafast Soft Recovery Rectifier Diode

UG0446 User Guide SmartFusion2 and IGLOO2 FPGA High Speed DDR Interfaces

MMA044AA Datasheet 6 GHz 18 GHz GaAs phemt MMIC Wideband Low-Noise Amplifier

MMS006AA Datasheet DC 20 GHz GaAs MMIC SP2T Non-Reflective Switch

Schottky Surface Mount Limiting Diode Driver RoHS Compliant

GC4701-6LP Datasheet RoHS-Compliant Control Devices DC 15 GHz Surface Mount Limiter PIN Diode

Time Synchronization Trends for Critical Infrastructure. Randy Brudzinski Vice President Microsemi

Microsemi Secured Connectivity FPGAs

Microsemi Adaptec Trusted Storage Solutions. A complete portfolio of 12 Gbps Host Bus Adapters, RAID Adapters, SAS Expander and Cables

Control Devices Surface Mount Input-Limiting Diode Element

SmartFusion2 SoC FPGA Demo: Code Shadowing from SPI Flash to SDR Memory User s Guide

MMA043AA Datasheet 0.5 GHz 12 GHz GaAs phemt MMIC Wideband Low-Noise Amplifier

Next Generation Power Solutions Solving Real World Interface Issues

DSP Flow for SmartFusion2 and IGLOO2 Devices - Libero SoC v11.6 TU0312 Quickstart and Design Tutorial

Microsemi Corporation: CN18002

UG0644 User Guide. DDR AXI Arbiter. February 2018

Timing Constraints Editor User Guide

User Guide. SparX-III PoE/PoE+ Reference Design

Power Matters. TM. Why Embedded Die? Piers Tremlett Microsemi 22/9/ Microsemi Corporation. Company Proprietary 1

Spatial Debug & Debug without re-programming in Microsemi FPGAs

AC412 Application Note IGLOO2 FPGA Flash*Freeze Entry and Exit - Libero SoC v11.8

Looking for a Swiss knife for storage ecosystem management? A comparative study of SMI-S, Redfish and Swordfish

Programming and Debug Tools PolarFire v2.0 Release Notes 11/2017

CoreConfigMaster v2.1. Handbook

Reliable and Scalable Midspan Injectors and Switches

ZL ZL30260-ZL30267 and ZL40250-ZL30253 Evaluation Software User Manual. November 2015

CoreResetP v7.0. Handbook

Understanding 802.3at. PoE Plus Standard Increases Available Power

Using SMR Drives with Smart Storage Stack-Based HBA and RAID Solutions

Reliable and Scalable Midspan Injectors and Switches

CoreSMIP v2.0. Handbook

Interrupting SmartFusion MSS Using FABINT

AC0446 Application Note Optimization Techniques to Improve DDR Throughput for RTG4 Devices - Libero SoC v11.8 SP2

AC400 Application Note SmartFusion2 SoC FPGA Flash*Freeze Entry and Exit - Libero SoC v11.8

MPS2R Datasheet 100 MHz 6 GHz 40 W RoHS-Compliant Monolithic SPDT PIN Switch

CoreMDIO_APB v2.0. Handbook

VSC8254, VSC8257, and VSC Timestamp Out-of- Sync (OOS) Summary

UG0725 User Guide PolarFire FPGA Device Power-Up and Resets

Microsemi IP Cores Accelerate the Development Cycle and Lower Development Costs

MPLAD36KP14A MPLAD36KP400CA

MPLAD18KP7.0A MPLAD18KP200CA

Surface Mount 18,000 W Transient Voltage Suppressor

Protecting GPS Systems Against Spoofing and Jamming Threats

Mixed Signal Power Manager Tutorial

SmartFusion2 SoC FPGA Demo: Code Shadowing from SPI Flash to DDR Memory User s Guide

SmartFusion2, IGLOO2, and RTG4 Designing with Blocks for Libero SoC v11.8 in the Enhanced Constraint Flow User Guide

PoE Midspans Harness Universal Power for Your Network. White Paper

Core1553BRT v4.2 Release Notes

Field-Proven, Interoperable & Standards-Compliant Portfolio

CoreHPDMACtrl v2.1. Handbook

Programming and Debug Tools v12.0 Release Notes 1/2019

SmartFusion2 MSS. CAN Configuration

FlashPro for Libero SoC v11.8

FlashPro User Guide SmartFusion, IGLOO, ProASIC3, Fusion, SmartFusion2, IGLOO2, RTG4, and PolarFire

Digital Mixed Signal Power Manager. Tutorial

SmartFusion2 MSS. SPI Configuration

Mixed Signal ICs for Space

SmartFusion2 MSS. MMUART Configuration

TimeSource Enhanced PRTC Enhanced Primary Reference Time Clock

Reliability Monitoring and Outgoing Quality Report Q ESC Division. May 2018

CoreGPIO v3.1. Handbook

CoreAHBtoAPB3 v3.1. Handbook

SmartTime Static Timing Analyzer User Guide SmartFusion2, IGLOO2, RTG4, and PolarFire

SmartDesign MSS. Configurator Overview

Field-Proven, Interoperable, and Standards-Compliant Portfolio

Military Grade SmartFusion Customizable System-on-Chip (csoc)

SmartTime Static Timing Analyzer for Libero SoC v11.8 in the Enhanced Constraint Flow SmartFusion2, IGLOO2, and RTG4 User Guide

SmartFusion2 MSS. I2C Configuration

AC407 Application Note Using NRBG Services in SmartFusion2 and IGLOO2 Devices - Libero SoC v11.8

Transcription:

DG0723 Demo Guide SmartFusion2 Imaging and Video Kit MIPI CSI-2

Microsemi Corporate Headquarters One Enterprise, Aliso Viejo, CA 92656 USA Within the USA: +1 (800) 713-4113 Outside the USA: +1 (949) 380-6100 Fax: +1 (949) 215-4996 Email: sales.support@microsemi.com www.microsemi.com 2017 Microsemi Corporation. All rights reserved. Microsemi and the Microsemi logo are trademarks of Microsemi Corporation. All other trademarks and service marks are the property of their respective owners. Microsemi makes no warranty, representation, or guarantee regarding the information contained herein or the suitability of its products and services for any particular purpose, nor does Microsemi assume any liability whatsoever arising out of the application or use of any product or circuit. The products sold hereunder and any other products sold by Microsemi have been subject to limited testing and should not be used in conjunction with mission-critical equipment or applications. Any performance specifications are believed to be reliable but are not verified, and Buyer must conduct and complete all performance and other testing of the products, alone and together with, or installed in, any end-products. Buyer shall not rely on any data and performance specifications or parameters provided by Microsemi. It is the Buyer's responsibility to independently determine suitability of any products and to test and verify the same. The information provided by Microsemi hereunder is provided as is, where is and with all faults, and the entire risk associated with such information is entirely with the Buyer. Microsemi does not grant, explicitly or implicitly, to any party any patent rights, licenses, or any other IP rights, whether with regard to such information itself or anything described by such information. Information provided in this document is proprietary to Microsemi, and Microsemi reserves the right to make any changes to the information in this document or to any products and services at any time without notice. About Microsemi Microsemi Corporation (Nasdaq: MSCC) offers a comprehensive portfolio of semiconductor and system solutions for aerospace & defense, communications, data center and industrial markets. Products include high-performance and radiation-hardened analog mixed-signal integrated circuits, FPGAs, SoCs and ASICs; power management products; timing and synchronization devices and precise time solutions, setting the world's standard for time; voice processing devices; RF solutions; discrete components; enterprise storage and communication solutions, security technologies and scalable anti-tamper products; Ethernet solutions; Power-over-Ethernet ICs and midspans; as well as custom design capabilities and services. Microsemi is headquartered in Aliso Viejo, California, and has approximately 4,800 employees globally. Learn more at www.microsemi.com. 50200723. 1.0 6/17

Contents 1 Revision History..................................................... 1 1.1 Revision 1.0....................................................................... 1 2 SmartFusion2 Imaging and Video MIPI CSI-2.............................. 2 2.1 Features.......................................................................... 3 2.2 Design Requirements............................................................... 3 2.3 Demo Design...................................................................... 4 2.3.1 Setting Up the Demo Design................................................... 6 2.3.1.1 Setting Up the Hardware 6 2.3.1.2 Installing the Video Demo GUI 9 2.3.2 Running the Demo Design................................................... 11 2.3.2.1 Camera Sensor Demo 13 2.3.2.2 Edge Detection Demo 14 DG0723 Demo Guide Revision 1.0 iii

Figures Figure 1 MIPI CSI-2 Daughter Card........................................................ 2 Figure 2 Full Setup..................................................................... 4 Figure 3 Demo Programming Files Top-Level Structure......................................... 4 Figure 4 GUI Installer Top-Level Structure................................................... 5 Figure 5 Hardware Setup................................................................ 6 Figure 6 Video Daughter Card Setup....................................................... 7 Figure 7 Camera Ribbon Cable Connection.................................................. 7 Figure 8 SmartFusion2 Advanced Development Kit Setup....................................... 8 Figure 9 MSCC_UsbHID File Installation.................................................... 9 Figure 10 Windows Security Dialog Box for MSCC_UsbHID File Installation......................... 10 Figure 11 Confirmation Message after MSCC_UsbHID File Installation............................. 10 Figure 12 MSCC_UsbHID File in Device Manager............................................. 10 Figure 13 SmartFusion2 Video Demo GUI in Windows Start Menu................................ 11 Figure 14 SmartFusion2 Video Demo GUI Launch Window...................................... 12 Figure 15 Camera Sensor Demo Selection.................................................. 13 Figure 16 Image Enhancement Features.................................................... 13 Figure 17 Edge Detection Demo Selection................................................... 14 Figure 18 Normal Image vs. Edge-Detected Image Example 1.................................. 15 Figure 19 Normal Image vs. Edge-Detected Image Example 2.................................. 15 DG0723 Demo Guide Revision 1.0 iv

Tables Table 1 Design Requirements............................................................ 3 Table 2 Jumper and Resistor Settings for M2S150 ADK Device.................................. 8 DG0723 Demo Guide Revision 1.0 v

Revision History 1 Revision History The revision history describes the changes that were implemented in the document. The changes are listed by revision, starting with the most current publication. 1.1 Revision 1.0 Revision 1.0 is the first publication of this document. DG0723 Demo Guide Revision 1.0 1

2 SmartFusion2 Imaging and Video MIPI CSI-2 The SmartFusion 2 Imaging and Video MIPI CSI-2 demo is based on the SmartFusion2 Advanced Development Kit and SmartFusion2 Imaging and Video MIPI CSI-2 Daughter Card. Microsemi SmartFusion2 Advanced Development Kit offers a full-featured 150K LE SmartFusion2 system-on-chip (SoC) FPGA. The device integrates reliable flash-based FPGA fabric, a 166 MHz ARM Cortex-M3 processor, advanced data security features, digital signal processing (DSP) blocks, static random-access memory (SRAM), embedded non-volatile memory (envm), and industry-required highperformance communication interfaces all on a single chip. It also supports all the data security features available in SmartFusion2 devices. For more information, see http://www.microsemi.com/products/fpga-soc/design-resources/dev-kits/smartfusion2/smartfusion2- advanced-development-kit. The video daughter board provides several interfaces for video applications and the circuitry necessary to connect to an FPGA device through an FMC connector, as shown in the following figure. Figure 1 MIPI CSI-2 Daughter Card This demo guide provides the basic information required to set up an environment to demonstrate the video solution, which includes hardware IP blocks and software. It provides details about the hardware setup and the connections required to run the demo design. A fully integrated video solution with an easy-to-use GUI is provided to demonstrate the following functions and to design prototypes quickly: CFA to RGB conversion Display timing generator Alpha blending Edge detection DG0723 Demo Guide Revision 1.0 2

Image enhancements (such as sharpening, brightness, contrast, hue, and saturation) For detailed information about these features, visit: http://www.microsemi.com/products/fpgasoc/imaging#getting-started 2.1 Features HDMI transmitter (ADV7511) chip set and corresponding connector LVDS 7:1 interface for connecting LCD Image sensor interface that supports MIPI CSI-2 Low pin count (LPC) FMC connector 2.2 Design Requirements The following table lists the design requirements. Table 1 Design Requirements Design Requirement Description Hardware SmartFusion2 Imaging and Video MIPI-CSI2 Daughter Card SmartFusion2 Advanced Development Kit 1 Image sensor module VIDEO-DC-MIPI M2S150-ADV-DEV-KIT ONSemi AR0330 Image Sensor from Leopard Imaging (LI-AR0330-MIPI v1.1) Image sensor ribbon cable Mini USB to Type A USB cable 2 HDMI cable HDMI monitor 3 USB micro AB connector 2 Power adapter (T1121-P5P-ND) 2 Operating system HDMI A Male to Male Cable Any 21-inch display with HDMI input Windows 7 or later Software Libero SoC v11.8 SoftConsole v4.0 USB drivers for the GUI Signed Windows USB drivers for USB communication between user interface and SmartFusion2 Advanced Development Kit FlashPro programming software v11.8 1. Not shipped with SmartFusion2 Imaging and Video MIPI CSI-2 Daughter Card; must be purchased separately. 2. Included with SmartFusion2 Advanced Development Kit. 3. If the display does not support HDMI input, use an adapter that converts the HDMI out from the imaging card to a protocol supported by the display. DG0723 Demo Guide Revision 1.0 3

Figure 2 Full Setup The following figure shows the complete setup of the SmartFusion2 Imaging and Video MIPI-CSI2 Daughter Card and the SmartFusion2 Advanced Development Kit. 2.3 Demo Design The demo programming files are available for download at: http://soc.microsemi.com/download/rsc/?f=m2s_dg0723_pf The programming files include: readme.txt file STAPL programming file The following figure shows the top-level structure of the programming files. Figure 3 Demo Programming Files Top-Level Structure DG0723 Demo Guide Revision 1.0 4

The GUI installers are available for download at: http://soc.microsemi.com/download/rsc/?f=imaging_video_demo_gui The GUI installer files include: GUI installer readme.txt file The following figure shows the top-level structure of the GUI installer. Figure 4 GUI Installer Top-Level Structure DG0723 Demo Guide Revision 1.0 5

2.3.1 Setting Up the Demo Design This section describes how to set up the hardware for running the demo design and how to install the demo GUI. 2.3.1.1 Setting Up the Hardware The hardware setup for the demo design involves establishing appropriate hardware connections for the SmartFusion2 Imaging and Video MIPI CSI-2 Daughter Card and the SmartFusion2 Advanced Development Kit. The following figure shows the complete hardware setup for the demo. The following sections show the hardware setup for the Imaging and Video MIPI CSI-2 Daughter Card and the SmartFusion2 Advanced Development Kit separately. Figure 5 Hardware Setup DG0723 Demo Guide Revision 1.0 6

2.3.1.1.1 Setting Up the Video Daughter Card 1. Connect the video daughter board to LPC (J60) FMC connector of SmartFusion2 Advanced Development Kit, as shown in the preceding figure. 2. Connect one end of the HDMI cable to HDMI Connector (CON2) of video daughter board and the other end to the monitor, as shown in the following figure. Figure 6 Video Daughter Card Setup 3. Connect one end of the image sensor ribbon cable to the image sensor interface (J21) on the video daughter board and the other end to the MIPI sensor (AR0330), as shown in the following figure. Figure 7 Camera Ribbon Cable Connection 2.3.1.1.2 Setting Up the SmartFusion2 Advance Development Kit 1. Connect the 12 V power supply brick to J42 to supply power to the board, as shown in Figure 8, page 8. 2. Close pins 1-2 of J354 to select the core voltage 2.5 V. 3. Close pins 1-2 of J121 and J124. 4. Connect a USB cable (mini USB to Type A USB cable) to J33 and the other end of the cable to USB port of the host PC.Connect one end of USB micro connector to P1 and other end of the cable to the host PC. DG0723 Demo Guide Revision 1.0 7

5. Make sure the default jumper settings shown in the following table are retained. Table 2 Jumper and Resistor Settings for M2S150 ADK Device Jumper/Resistor Setting J116 Short 1-2 J123 Short 2-3 J353 Short 2-3 for 2.5 V J54 Short 1-2 J32 Short 1-2 J14 Short 1-2 J23 Short 1-2 J11 Short 1-2 J8 Short 1-2 R1217 Mounted R1216 Unmounted 6. Switch ON the SW7 power supply switch. 7. Open the FlashPro software, and program the STAPL file (IDB_AR0330_MIPI_ADK150.stp). For information about how to program using FlashPro, see UG0557: SmartFusion2 SoC FPGA Advanced Development Kit User Guide. Figure 8 SmartFusion2 Advanced Development Kit Setup DG0723 Demo Guide Revision 1.0 8

2.3.1.2 Installing the Video Demo GUI The following steps describe how to install the Video Demo GUI:. 1. Open the folder containing the GUI Installer files, and run setup.exe. Click Yes for any message from User Account Control. The Setup window is displayed with the default locations. 2. Accept the license agreement, and click Next. 3. Confirm the installation location in the installation dialog box, and click Next. A progress bar appears that shows the progress of the installation. Upon successful installation, a confirmation message is displayed. 4. Click Finish to exit the installation wizard. 5. Restart the host PC. After installing the video demo GUI, check the Device Manager to see if the USB drivers are already configured on the host machine. To check if the drivers are configured, after ensuring that the hardware is powered ON and connected to the host PC using a USB cable (P1 on the board), check whether NI- VISA USB devices appear in the Device Manager, as shown in Figure 12, page 10. If they appear, proceed to run the demo design (see Running the Demo Design, page 11). 2.3.1.2.1 Configuring the GUI Driver The following steps describe how to install the GUI driver on a host PC that has Windows 7 or later installed. The downloaded programming file must be programmed on the board before proceeding to driver installation. 1. Connect the host PC to the P1 connector on the SmartFusion2 Advanced Development Board using a USB A to mini-b USB cable. 2. Connect the power adapter to the kit, and switch ON the SW7 switch. 3. Navigate to C:\Windows\inf, and right-click the MSCC_UsbHID file, as shown in the following figure. Figure 9 MSCC_UsbHID File Installation DG0723 Demo Guide Revision 1.0 9

4. Click Install, and in the dialog box that asks you to confirm if you want to install the software, click Install again, as shown in the following figure. Figure 10 Windows Security Dialog Box for MSCC_UsbHID File Installation The following message appears after the installation is completed. Figure 11 Confirmation Message after MSCC_UsbHID File Installation 5. In the Device Manager, under Network Adapters, check to confirm that N1 Visa USB Devices appears in the list, and that when expanded, it shows the MSCC_UsbHID driver, as shown in the following figure. If the driver does not appear, re-scan the Device Manager for hardware changes or reset the board. Figure 12 MSCC_UsbHID File in Device Manager DG0723 Demo Guide Revision 1.0 10

2.3.2 Running the Demo Design The following steps describe how to run the demo design using the Video Demo GUI. 1. Go to Start menu, and select Video_ Demo _GUI to open the GUI, as shown in the following figure. Figure 13 SmartFusion2 Video Demo GUI in Windows Start Menu DG0723 Demo Guide Revision 1.0 11

2. Click the Connect button on the top right side of the window, as shown in the following figure. Upon successful connection, the Connect button turns green and the text changes to Connected. Figure 14 SmartFusion2 Video Demo GUI Launch Window The following sections describe the two demos available in the Video Demo GUI: Camera Sensor Demo Edge Detection Demo DG0723 Demo Guide Revision 1.0 12

2.3.2.1 Camera Sensor Demo To run the Camera Sensor Demo: Select the Camera Sensor Demo from the Demo Type Selection drop-down list, as shown in the following figure. The video is displayed on the monitor with the Microsemi logo on it, thus demonstrating the alpha blending feature. Figure 15 Camera Sensor Demo Selection Properties such as brightness, contrast, saturation, hue, and sharpness can be adjusted to enhance the clarity of the video, as shown in the following figure. Figure 16 Image Enhancement Features DG0723 Demo Guide Revision 1.0 13

2.3.2.2 Edge Detection Demo To run the Edge Detection Demo: Select the Edge Detection option from Demo Type Selection drop-down list, as shown in the following figure. Figure 17 Edge Detection Demo Selection The edges of the image currently appearing on the monitor are highlighted. DG0723 Demo Guide Revision 1.0 14

The following figures show two regular images and the corresponding edge-detected images. Figure 18 Normal Image vs. Edge-Detected Image Example 1 Figure 19 Normal Image vs. Edge-Detected Image Example 2 DG0723 Demo Guide Revision 1.0 15

Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Microsemi: VIDEO-DC-MIPI