1 Star 0 Fork 4.9K

bill / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mipi-dsi-overview.md 6.88 KB
一键复制 编辑 原始数据 按行查看 历史
NEEN 提交于 2021-03-12 17:59 . !197 Docs Update version 1.0.1

MIPI DSI Overview

Introduction

  • The Display Serial Interface (DSI) is a specification stipulated by the Mobile Industry Processor Interface (MIPI) Alliance, aiming to reduce the cost of display controllers in a mobile device. It defines a serial bus and communication protocol among the host, the source of image data, and the target device. In this way, the DSI can send pixel data or commands to peripherals (usually LCDs or similar display devices) in serial mode, or reads information such as status and pixel from the peripherals.

  • MIPI DSI is capable of working in both high speed (HS) mode and low power (LP) mode. All data lanes can only travel from the DSI host to a peripheral in HS mode, except the first data lane, which can also receive data such as status information and pixels from the peripheral in LP mode. The clock lane is dedicated to transmitting synchronization clock signals in HS mode.

    • Figure 1 shows a simplified DSI interface. Conceptually, a DSI-compliant interface has the same features as interfaces complying with DBI-2 and DPI-2 standards. It sends pixels or commands to a peripheral and can read status or pixel information from the peripheral. The main difference is that the DSI serializes all pixel data, commands, and events that, in traditional interfaces, are conveyed to and from the peripheral on a parallel data bus with additional control signals.

      Figure 1 DSI transmitting and receiving Interface

Available APIs

Table 1 APIs for MIPI DSI

Capability

Function

Description

Setting/Obtaining MIPI DSI configuration parameters

MipiDsiSetCfg

Sets configuration parameters for a MIPI DSI device.

MipiDsiGetCfg

Obtains the configuration parameters of a MIPI DSI device.

Obtaining /Releasing device handles

MipiDsiOpen

Obtains a MIPI DSI device handle.

MipiDsiClose

Releases a specified MIPI DSI device handle.

Setting the LP or HS mode

MipiDsiSetLpMode

Sets LP mode for a MIPI DSI device.

MipiDsiSetHsMode

Sets HS mode for a MIPI DSI device.

Reading/Sending commands

MipiDsiTx

Sends a display command set (DCS) command for sending data.

MipiDsiRx

Receives a DCS command for reading data with the specified length.

NOTE: All functions described in this document can be called only in kernel space.

1
https://gitee.com/ximeibaba/docs.git
git@gitee.com:ximeibaba/docs.git
ximeibaba
docs
docs
master

搜索帮助