Pixel to Byte Converter

Convert Pixel Format Data to Parallel Byte Format

Due to the higher demand for better displays, bridging applications has become increasingly popular. One very common application interface is the Mobile Industry Processor Interface (MIPI®) D-PHY. It was developed primarily to support camera and display interconnections in mobile devices, and it has become the industry’s primary high-speed PHY solution for these applications in smartphones today. It is typically used in conjunction with MIPI Camera Serial Interface-2 (CSI-2) and MIPI Display Interface (DSI) protocol specifications. It meets the demanding requirements of low-power, low noise generation, and high noise immunity that mobile phone designs demand.

MIPI D-PHY is a practical PHY for typical camera and display applications. It is designed to replace traditional parallel bus based on LVCMOS or LVDS. However, many processors and displays/cameras still use an RGB or CMOS as interface. Hence, in order to connect to a MIPI D-PHY IP, a converter logic is required to convert the parallel interface into MIPI D-PHY byte packet compatible format.


  • Supports RGB888, RGB666, RAW8, RAW10, RAW12, YUV420/YUV422 8/10-bit video formats
  • Converts one, two, four, six, eight, or ten pixels per pixel clock into MIPI D-PHY byte packet compatible format
  • Supports byte arrangement for 1, 2, or 4 MIPI D-PHY data lanes

Block Diagram

Ordering Information

The Pixel to Byte core is available for FREE for use in Diamond design software.

For Radiant design software, the Pixel to Byte core must be purchased:

Family Part Numbers Description
CertusPro-NX PIXEL-BYTE-CPNX-U Single-Design License
CertusPro-NX PIXEL-BYTE-CPNX-UT Multi-Site License
CrossLink-NX PIXEL-BYTE-CNX-U Single-Design License
CrossLink-NX PIXEL-BYTE-CNX-UT Multi-Site License


Quick Reference
Select All
Pixel-to-Byte Converter IP - Lattice Diamond Software
FPGA-IPUG-02026 1.3 3/20/2020 PDF 2.1 MB
Pixel to Byte Converter IP Core - Lattice Radiant Software
FPGA-IPUG-02094 1.4 6/23/2021 PDF 1.9 MB

*By clicking on the "Notify Me of Changes" button, you agree to receive notifications on changes to the document(s) you selected.

Design Resources for CrossLink

Development Kits & Boards

Our development boards & kits help streamline your design process

Intellectual Property & Reference Designs

Simplify your design efforts by using pre-tested, reusable functions

Application Notes

Learn how to get the most from our line-up of FPGAs / development boards


Complete Design Flows, High Ease of Use