Sub-LVDS-to-Parallel Sensor Bridge

Similar documents
Single Channel LVDS Tx

MIPI D-PHY Bandwidth Matrix Table User Guide. UG110 Version 1.0, June 2015

2D Scaler IP Core User s Guide

SERDES Eye/Backplane Demo for the LatticeECP3 Versa Evaluation Board User s Guide

SERDES Eye/Backplane Demo for the LatticeECP3 Serial Protocol Board User s Guide

SMPTE-259M/DVB-ASI Scrambler/Controller

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

ispmach 4000 Timing Model Design and Usage Guidelines

Memory Interfaces Data Capture Using Direct Clocking Technique Author: Maria George

VID_OVERLAY. Digital Video Overlay Module Rev Key Design Features. Block Diagram. Applications. Pin-out Description

Lattice Embedded Vision Development Kit User Guide

Polar Decoder PD-MS 1.1

Chrontel CH7015 SDTV / HDTV Encoder

DT3162. Ideal Applications Machine Vision Medical Imaging/Diagnostics Scientific Imaging

AN-822 APPLICATION NOTE

Achieving Timing Closure in ALTERA FPGAs

Solutions to Embedded System Design Challenges Part II

CHAPTER 6 DESIGN OF HIGH SPEED COUNTER USING PIPELINING

LogiCORE IP Video Timing Controller v3.0

Image generator. Hardware Specification

8b10b Macro. v2.0. This data sheet defines the functionality of Version 1.0 of the 8b10b macro.

Synchronizing Multiple ADC08xxxx Giga-Sample ADCs

Camera Interface Guide

Design and Implementation of an AHB VGA Peripheral

2. Logic Elements and Logic Array Blocks in the Cyclone III Device Family

About... D 3 Technology TM.

Transmission of High-Speed Serial Signals Over Common Cable Media

DEDICATED TO EMBEDDED SOLUTIONS

Intel FPGA SDI II IP Core User Guide

Application Note PG001: Using 36-Channel Logic Analyzer and 36-Channel Digital Pattern Generator for testing a 32-Bit ALU

T1 Deframer. LogiCORE Facts. Features. Applications. General Description. Core Specifics

Display Interfaces. Display solutions from Inforce. MIPI-DSI to Parallel RGB format

New GRABLINK Frame Grabbers

Implementing Audio IP in SDI II on Arria V Development Board

SparkFun Camera Manual. P/N: Sense-CCAM

Design and implementation (in VHDL) of a VGA Display and Light Sensor to run on the Nexys4DDR board Report and Signoff due Week 6 (October 4)

EECS150 - Digital Design Lecture 13 - Project Description, Part 3 of? Project Overview

GM69010H DisplayPort, HDMI, and component input receiver Features Applications

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

Digital Blocks Semiconductor IP

CH7053A HDTV/VGA/ DVI Transmitter

HVDD H1 H2 HVSS RG XV2 XV1 XSG1 XV3 XSG2 XV4

Checkpoint 2 Video Interface

FPGA Laboratory Assignment 4. Due Date: 06/11/2012

Scan. This is a sample of the first 15 pages of the Scan chapter.

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

Innovative Fast Timing Design

Block Diagram. dw*3 pixin (RGB) pixin_vsync pixin_hsync pixin_val pixin_rdy. clk_a. clk_b. h_s, h_bp, h_fp, h_disp, h_line

SMPTE 292M EG-1 Color Bar Generation, RP 198 Pathological Generation, Grey Pattern Generation IP Core - AN4088

CH7021A SDTV / HDTV Encoder

Dual Link DVI Receiver Implementation

VARIABLE FREQUENCY CLOCKING HARDWARE

GREAT 32 channel peak sensing ADC module: User Manual

DT9857E. Key Features: Dynamic Signal Analyzer for Sound and Vibration Analysis Expandable to 64 Channels

Digital Blocks Semiconductor IP

Transmission of High-Speed Serial Signals Over Common Cable Media

An Introduction to CY8C22x45

AN2939 Application note

IP-DDC4i. Four Independent Channels Digital Down Conversion Core for FPGA FEATURES. Description APPLICATIONS HARDWARE SUPPORT DELIVERABLES

SignalTap Plus System Analyzer

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

Lab Assignment 2 Simulation and Image Processing

SMPTE 259M EG-1 Color Bar Generation, RP 178 Pathological Generation, Grey Pattern Generation IP Core AN4087

ArcticLink III BX5 Solution Platform Data Sheet

Memory Interfaces Data Capture Using Direct Clocking Technique Author: Maria George

Reading an Image using CMOS Linear Image Sensor. S.R.Shinthu 1, P.Maheswari 2, C.S.Manikandababu 3. 1 Introduction. A.

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

AN 823: Intel FPGA JESD204B IP Core and ADI AD9625 Hardware Checkout Report for Intel Stratix 10 Devices

PMC-704 Dual Independent Graphics Input/Output PMC

DSM GHz Linear Chirping Source

DLP Pico Chipset Interface Manual

Doc: page 1 of 5

SDI Audio IP Cores User Guide

1 Terasic Inc. D8M-GPIO User Manual

Digital Blocks Semiconductor IP

Chapter 5 Flip-Flops and Related Devices

EEM Digital Systems II

University Program Design Laboratory Package

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

Lab 3: VGA Bouncing Ball I

LogiCORE IP Video Timing Controller v3.0

AN-605 APPLICATION NOTE

High-Performance DDR2 SDRAM Interface Data Capture Using ISERDES and OSERDES Author: Maria George

DNA-STP-SYNC Synchronization and Screw Terminal Panel. User Manual

Digital Electronics II 2016 Imperial College London Page 1 of 8

TV Synchronism Generation with PIC Microcontroller

Altera JESD204B IP Core and ADI AD9144 Hardware Checkout Report

VHDL Design and Implementation of FPGA Based Logic Analyzer: Work in Progress

AND9191/D. KAI-2093 Image Sensor and the SMPTE Standard APPLICATION NOTE.

Logic Analyzer Triggering Techniques to Capture Elusive Problems

The ASI demonstration uses the Altera ASI MegaCore function and the Cyclone video demonstration board.

MC-ACT-DVBMOD April 23, Digital Video Broadcast Modulator Datasheet v1.2. Product Summary

PCI Express JPEG Frame Grabber Hardware Manual Model 817 Rev.E April 09

HD66840/HD LVIC/LVIC-II (LCD Video Interface Controller) Description. Features

PCIe-FRM21. User s Manual

HDMI-UVC/HDMI-Parallel converter [SVO-03 U&P]

Block Diagram. 16/24/32 etc. pixin pixin_sof pixin_val. Supports 300 MHz+ operation on basic FPGA devices 2 Memory Read/Write Arbiter SYSTEM SIGNALS

Altera JESD204B IP Core and ADI AD9250 Hardware Checkout Report

National Semiconductor s Serial Digital Interface (SDI) Smart SerDes

EN2911X: Reconfigurable Computing Topic 01: Programmable Logic. Prof. Sherief Reda School of Engineering, Brown University Fall 2014

Transcription:

January 2015 Introduction Reference Design RD1122 Sony introduced the IMX036 and IMX136 sensors to support resolutions up to 1080P60 and 1080p120 respectively. A traditional CMOS parallel interface could no longer handle the bandwidth requirements of these sensors. To support the higher resolutions and frame rates, Sony utilizes a parallel DDR sub-lvds interface. This 10/12-bit parallel sub-lvds DDR interface can operate up to 1080p60 at 148.5 Mbps on the IMX036 and 1080p120 at 297 Mbps on the IMX136. The Lattice Sub-LVDS-to-Parallel Sensor Bridge converts the low voltage sub-lvds DDR output of the IMX036 and IMX136 to a standard CMOS parallel interface. The IMX036 is capable of outputting a 3.27 megapixel image. The IMX136 is capable of 2.3 megapixel image. For more technical details regarding the image sensor, please contact Sony. This reference design does the following: 1. Converts parallel from the LVDS DDR input to SDR (LVCMOS interface) and generates the output clock (phase adjustable) at twice the frequency of the input clock with a PLL. 2. Extracts EAV and from the SDR and generates xhs and xvs. All valid and invalid /EAV sync codes are detected and used to generate these active video control lines. Figure 1 shows the block diagram for this design. Figure 1. Sub-LVDS-to-Parallel Sensor Bridge Block Diagram _in IDDR _in_x2 _out rstn Decoder xhs clk PLL clkop clkos clkx2 xvs Parameters (configured by users) clk_out MachXO2, LatticeXP2, LatticeECP3 or ECP5 Device The decoder contains the function of the second item listed above and is compiled to the NGO. The device selected can be a MachXO2, LatticeXP2, LatticeECP3, or ECP5 device. The phase of the output clock can be adjusted for the next device to sample the correctly. The width of input can be 10 bits or 12 bits, _in[11:2] is valid in 10-bit mode. The drive mode can be configured to the following modes: QXGA, WUXGA, 1080p-HD, 720p-HD, 2x2 addition and 3x3 addition. This will affect the number of lines after the falling edge of XVS, the number of total horizontal pixels and total vertical lines (sees Tables 1 and 2). If the parameter sim is set to 1, the number is decreased for reducing the time of simulation. Users have the option of creating additional modes with modification to the generics and source at the top level which drive the NGO. 2015 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal. All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice. www.latticesemi.com 1 RD1122_1.7

Table 1. Drive Modes for the Sony IMX036 0 (QXGA) Drive Mode (2 Bits) Analog-to- Digital Conversion Pre-ing Lines Frame Rate (Frame/s) Data Rate (Mpix/s) 10 12 60.18 216 12 12 15.05 54 Recording Pixels Output Vertical Lines and Horizontal Pixels Horizontal Vertical Horizontal Vertical 2048 1536 2232 1608 1 (1080p-HD) 10 12 60.00 148.5 12 12 30.00 74.25 2048 1080 2200 1125 2 (2x2 addition) 10 6 60.18 54 1024 768 1116 804 3 (3x3 addition) 10 4 60.18 24 682 512 744 536 Table 2. Drive Modes for the Sony IMX136 Drive Mode (2 Bits) 4 (1080p-HD) 5 (WUXGA 37.125 MHz INCK) 6 (WUXGA 27 MHz INCK) Analog-to- Digital Conversion Pre-ing Lines Frame Rate (Frame/s) Data Rate (Mpix/s) 10/12 8 30 74.25 10/12 8 60 148.5 10 8 120 1 297 1 10/12 8 27 37.125 10/12 8 54 74.25 10 8 108 148.5 10/12 8 20 27 10/12 8 40 54 10 8 80 108 10/12 8 30 37.125 Recording Pixels Output Vertical Lines and Horizontal Pixels Horizontal Vertical Horizontal Vertical 1920 1080 2200 1125 1920 1200 2200 1250 1920 1200 2160 1250 7 (720p-HD) 10/12 8 60 74.25 1280 720 1650 750 10 8 120 148.5 1. This may require the removal of the 24-bit to 12-bit parallel bus mux to meet Place and Route I/O timing. The result is a 24-bit parallel bus output at 148.5MHz. Other options may be available depending on the application. Please consult Lattice Technical Support before attempting to use this mode. Table 3. Sensor Bridge Port Descriptions Name Description Direction rstn Reset, active low Input clk Pixel clock Input _in LVDS DDR input (10 or 12 bits) Input clk_out Double rate of input clock with phase adjusted Output _out LVCMOS SDR output, synchronous with clk_out Output xhs Horizontal sync pulse, active low Output xvs Vertical sync pulse, active low Output 2

Implementation Table 4. Performance and Resource Utilization 1 f MAX (MHz) Device Family Speed Grade Utilization (LUTs) clk clkx2 I/Os 8 246 (LSE) >108 >216 42 ECP5 5 8 247 (Syn) >108 >216 42 LatticeECP3 2 6 215 >108 >216 42 5 262 >108 >216 42 LatticeXP2 3 5 267 (Syn) >108 >216 42 6 268 (LSE) >108 >180 42 MachXO2 4 6 268 (Syn) >108 >180 42 1. drive_mode = 0, ad_conv_width = 12. 2. Performance and utilization characteristics are generated using LAE3-17EA-6MG328E, with Lattice Diamond 3.3 design software. When using this design in a different device, density, speed or grade, performance and utilization may vary. 3. Performance and utilization characteristics are generated using LFXP2-5E-5M132C, with Lattice Diamond 3.3 design software. When using this design in a different device, density, speed or grade, performance and utilization may vary. LSE is not supported in this device. 4. Performance and utilization characteristics are generated using LCMX02-1200HC-6MG132C, with Lattice Diamond 3.3 design software with LSE (Lattice Synthesis Engine). When using this design in a different device, density, speed or grade, performance and utilization may vary. 5. Performance and utilization characteristics are generated using LFE5UM-85F_8MG756C, with the Lattice Diamond 3.3 design software with LSE. When using this design in a different device, density, speed or grade, performance and utilization may vary. Table 5. I/O Timing Analysis of Sub-LVDS Parallel Input Bus 1, 2 ECP5 LatticeECP3 LatticeXP2 Setup Hold Setup Hold Setup Hold Speed Grade 6 Speed Grade 7 Speed Grade 8 0.169-0.062 0.165-0.062 0.162-0.062 Speed Grade 7 Speed Grade 8 Speed Grade 9 0.480/0.359 0.351/0.457 0.379/0.480 0.463/0.379 0.405/0.487 0.432/0.351 Speed Grade 5 Speed Grade 6 Speed Grade 7-0.765 0.992-0.666 0.836-0.566 0.679 Speed Grade 4 Speed Grade 5 Speed Grade 6 MachXO2 0.194/0.375 1.097/0.923 0.167/0.348 0.946/0.772 0.132/0.313 0.796/0.622 1. Multiple setup/hold numbers indicate that not all I/O timing windows had the same delay across the sub-lvds parallel bus. The delay primitive can be used to adjust this on a pin-by-pin basis to optimize performance, if needed. 2. I/O numbers to be re-run after pinout is added to constraint file. 3

Table 6. Pinout Signal MachXO2 Same Bank 1 132-Ball csbga MachXO2 Multi-Bank 132-Ball csbga LatticeXP2 Multi-Bank 132-Ball csbga rstn M1 M1 L2 clk_p N6 N6 H1 clk_n P6 P6 H3 Data_in_0_p M4 B14 F1 Data_in_0_n N4 C13 G1 Data_in_1_p M7 G12 H2 Data_in_1_n N8 G14 G3 Data_in_2_p P9 K13 D1 Data_in_2_n N9 K14 E1 Data_in_3_p M10 M10 F3 Data_in_3_n P11 P11 G2 Data_in_4_p M11 N13 D2 Data_in_4_n P12 N14 E3 Data_in_5_p N3 E12 C2 Data_in_5_n P4 E14 D3 Data_in_6_p N5 N5 B1 Data_in_6_n M5 M5 B2 Data_in_7_p P8 P8 A1 Data_in_7_n M8 M8 B3 Data_in_8_p N12 N12 A2 Data_in_8_n P13 P13 A3 Data_in_9_p P2 P2 C5 Data_in_9_n N2 N2 A5 Data_in_10_p P3 N3 A6 Data_in_10_n M3 P4 A7 Data_in_11_p P7 F13 B6 Data_in_11_n N7 F14 C7 clk_out K1 K1 P2 xvs A12 A12 P14 xhs A13 A13 P13 _out_0 J1 J1 N8 _out_1 H1 H1 M6 _out_2 F1 F1 M5 _out_3 E1 E1 M7 _out_4 C1 C1 N12 _out_5 B1 B1 N7 _out_6 A2 A2 P12 _out_7 A3 A3 P5 _out_8 A7 A7 P6 _out_9 A9 A9 N2 _out_10 A10 A10 P7 _out_11 A11 A11 N4 1. The MachXO2 same bank pinout is preferred as this pinout has built-in termination resistors for the sub-lvds Data_in bus. 4

Timing Specifications The timing of the _out and xhs is shown in Figure 2. Figure 2. _out and xhs Timing system_delay _out (3FF) (000) (000) (200) valid valid xhs XHS low level width in pixels The timing of xhs and xvs is shown in Figure 3. Figure 3. XHS and XVS Timing xhs pre-ing lines Invalid lines Valid lines xvs XVS low-level width in lines The pixel number and line number can be configured with the parameters. The simulation is supported by Active-HDL simulators. Set the working directory to the location of the.do script and then execute the.do script. The directory should also be updated on line 14 in the script file sim_active_functional_timing.do. Figure 4 shows the relationship of the signal timing to each other at the horizontal and vertical. Figure 4. Simulation Screen Shot Showing Signal Timing Figure 5. Simulation Screen Shot for drive_mode=0 and ad_conv_width=12 The waveform, as shown in Figure 5, is for drive_mode = 0 and ad_conv_width=12, The waveform shows that _out follows _in after 9 clk_out delay. 5

Tested Reference Design Sub-LVDS-to-Parallel Sensor Bridge The Sony IMX036 bridge has been utilized on the TI/Appropho Network Camera. The design utilizes the MachXO2-1200 device. Technical Support Assistance e-mail: techsupport@latticesemi.com Internet: www.latticesemi.com Revision History Date Version Change Summary January 2015 01.7 Updated Implementation section. Updated Table 4, Performance and Resource Utilization. Added support for Lattice Diamond 3.3 design software. Added support for LSE and Synplify Pro. March 2014 01.6 Added support for ECP5 device family. Updated Table 4, Performance and Resource Utilization. Updated to support Lattice Diamond 3.1 design software. October 2012 01.4 Updated Introduction section. 01.5 Updated in the Pinout table, LatticeXP2 Multi-Bank 132-Ball csbga column. August 2012 01.3 Updated to include support of the built in WDR capability of the Sony IMX136/104. March 2012 01.2 Document updated with new corporate logo. Document updated for IMX136. January 2012 01.1 Document updated for MachXO2 device support. May 2011 01.0 Initial release. 6