Files
luban-lite/doc/topics/sdk/bringup/lite-bringup-display_mipi-dbi.html

278 lines
33 KiB
HTML
Raw Permalink Normal View History

2025-04-23 17:54:31 +08:00
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn" data-whc_version="26.1">
2025-07-22 11:15:46 +08:00
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="description" content="本节介绍了开发一款新的 ArtInChip MIPI-DBI 屏驱动的流程,以确保驱动能够正确初始化并工作。 ArtInChip 平台支持以下 MIPI-DBI 类型: Type C: SPI Type B: I8080 MIPI-DBI 屏幕通常需要初始化,调试时需根据屏厂提供的资料,开发一款专用的驱动。开发步骤如下: 新增一款屏驱动。 根据屏幕的接口类型Type B: I8080 或 ..."/><meta name="DC.rights.owner" content="(C) 版权 2025"/><meta name="copyright" content="(C) 版权 2025"/><meta name="generator" content="DITA-OT"/><meta name="DC.type" content="topic"/><meta name="DC.relation" content="../../../topics/sdk/bringup/lite-bringup-display.html"/><meta name="DC.relation" content="../../../topics/sdk/bringup/lite-bringup-display_mipi.html"/><meta name="DC.relation" content="../../../topics/sdk/bringup/lite-bringup-display_背光配置.html"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.date.modified" content="2025-05-16"/><meta name="DC.format" content="HTML5"/><meta name="DC.identifier" content="section_t5h_xxn_42c"/><title>MIPI-DBI</title><!-- Generated with build number 2025051600. --><meta name="wh-path2root" content="../../../"/><meta name="wh-toc-id" content="section_t5h_xxn_42c-d3752e2347"/><meta name="wh-source-relpath" content="topics/sdk/bringup/lite-bringup-display_mipi-dbi.dita"/><meta name="wh-out-relpath" content="topics/sdk/bringup/lite-bringup-display_mipi-dbi.html"/>
2025-04-23 17:54:31 +08:00
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/commons.css?buildId=2024041900"/>
<link rel="stylesheet" type="text/css" href="../../../webhelp/app/topic.css?buildId=2024041900"/>
2025-07-22 11:15:46 +08:00
<script src="../../../webhelp/app/options/properties.js?buildId=20250519091401"></script>
2025-04-23 17:54:31 +08:00
<script src="../../../webhelp/app/localization/strings.js?buildId=2024041900"></script>
2025-07-22 11:15:46 +08:00
<script src="../../../webhelp/app/search/index/keywords.js?buildId=20250519091401"></script>
2025-04-23 17:54:31 +08:00
<script defer="defer" src="../../../webhelp/app/commons.js?buildId=2024041900"></script>
<script defer="defer" src="../../../webhelp/app/topic.js?buildId=2024041900"></script>
<link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/aic-styles-web-internal.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/notes.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/aic-common.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/aic-images.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/footnote.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/aic-highlight-changes.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/search-in-header.css?buildId=2024041900"/><link rel="stylesheet" type="text/css" href="../../../webhelp/template/css/topic-body-list.css?buildId=2024041900"/></head>
<body id="section_t5h_xxn_42c" class="wh_topic_page frmBody">
<a href="#wh_topic_body" class="sr-only sr-only-focusable">
跳转到主要内容
</a>
<header class="navbar navbar-default wh_header">
<div class="container-fluid">
<div xmlns:whc="http://www.oxygenxml.com/webhelp/components" class="wh_header_flex_container navbar-nav navbar-expand-md navbar-dark">
<div class="wh_logo_and_publication_title_container">
<div class="wh_logo_and_publication_title">
<a href="https://www.artinchip.com" class=" wh_logo d-none d-sm-block "><img src="../../../company-logo.png" alt=" RTOS SDK 使用指南 SDK 指南文件 "/></a>
<div class=" wh_publication_title "><a href="../../../index.html"><span class="booktitle"> <span class="ph mainbooktitle">RTOS SDK 使用指南</span> <span class="ph booktitlealt">SDK 指南文件</span> </span></a></div>
</div>
</div>
<div class="wh_top_menu_and_indexterms_link collapse navbar-collapse" id="wh_top_menu_and_indexterms_link">
</div>
<div class=" wh_search_input navbar-form wh_topic_page_search search " role="form">
<form id="searchForm" method="get" role="search" action="../../../search.html"><div><input type="search" placeholder="搜索 " class="wh_search_textfield" id="textToSearch" name="searchQuery" aria-label="搜索查询" required="required"/><button type="submit" class="wh_search_button" aria-label="搜索"><span class="search_input_text">搜索</span></button></div></form>
</div></div>
</div>
</header>
<div class="container-fluid" id="wh_topic_container">
<div class="row">
<nav class="wh_tools d-print-none navbar-expand-md" aria-label="Tools">
2025-07-22 11:15:46 +08:00
<div data-tooltip-position="bottom" class=" wh_breadcrumb "><ol class="d-print-none"><li><span class="home"><a href="../../../index.html"><span>主页</span></a></span></li><li><div class="topicref" data-id="id"><div class="title"><a href="../../../topics/sdk/bringup/chapter-bringup.html">BringUp</a><div class="wh-tooltip"><p class="shortdesc">主要描述板卡的各项配置,使 SDK 的环境和板卡匹配,并确保 SDK 编译后的固件能够在板子上正常运行。</p></div></div></div></li><li><div class="topicref" data-id="id"><div class="title"><a href="../../../topics/sdk/bringup/lite-bringup-display.html">屏幕配置</a></div></div></li><li class="active"><div class="topicref" data-id="section_t5h_xxn_42c"><div class="title"><a href="../../../topics/sdk/bringup/lite-bringup-display_mipi-dbi.html">MIPI-DBI</a></div></div></li></ol></div>
2025-04-23 17:54:31 +08:00
<div class="wh_right_tools">
<button class="wh_hide_highlight" aria-label="切换搜索突出显示" title="切换搜索突出显示"></button>
<button class="webhelp_expand_collapse_sections" data-next-state="collapsed" aria-label="折叠截面" title="折叠截面"></button>
<div class=" wh_navigation_links "><span id="topic_navigation_links" class="navheader">
<span class="navprev"><a class="- topic/link link" href="../../../topics/sdk/bringup/lite-bringup-display_mipi.html" title="MIPI" aria-label="上一主题: MIPI" rel="prev"></a></span>
<span class="navnext"><a class="- topic/link link" href="../../../topics/sdk/bringup/lite-bringup-display_%E8%83%8C%E5%85%89%E9%85%8D%E7%BD%AE.html" title="背光配置" aria-label="下一主题: 背光配置" rel="next"></a></span> </span></div>
<div class=" wh_print_link print d-none d-md-inline-block "><button onClick="window.print()" title="打印此页" aria-label="打印此页"></button></div>
<button type="button" id="wh_toc_button" class="custom-toggler navbar-toggler collapsed wh_toggle_button navbar-light" aria-expanded="false" aria-label="Toggle publishing table of content" aria-controls="wh_publication_toc">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
</div>
<div class="wh_content_area">
<div class="row">
<nav id="wh_publication_toc" class="col-lg-3 col-md-3 col-sm-12 d-md-block d-none d-print-none" aria-label="Table of Contents Container">
<div id="wh_publication_toc_content">
2025-07-22 11:15:46 +08:00
<div class=" wh_publication_toc " data-tooltip-position="right"><span class="expand-button-action-labels"><span id="button-expand-action" role="button" aria-label="Expand"></span><span id="button-collapse-action" role="button" aria-label="Collapse"></span><span id="button-pending-action" role="button" aria-label="Pending"></span></span><ul role="tree" aria-label="Table of Contents"><li role="treeitem"><div data-tocid="revinfo_linux-d3752e463" class="topicref" data-id="revinfo_linux" data-state="leaf"><span role="button" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/revinfo/revinfo_rtos.html" id="revinfo_linux-d3752e463-link">修订记录</a></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d3752e480" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d3752e480-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/env/sdk-compile.html" id="id-d3752e480-link">SDK 编译</a><div class="wh-tooltip"><p class="shortdesc">介绍不同编译环境下 SDK 的详细编译流程。</p></div></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d3752e604" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d3752e604-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/advanced/sdk-usage.html" id="id-d3752e604-link">使用指南</a><div class="wh-tooltip"><p class="shortdesc">命令详解,编译选项,镜像和分区配置,添加应用和驱动等的详细使用说明。</p></div></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="concept_rcx_czh_pzb-d3752e1004" class="topicref" data-id="concept_rcx_czh_pzb" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action concept_rcx_czh_pzb-d3752e1004-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/chapter-app.html" id="concept_rcx_czh_pzb-d3752e1004-link">应用场景</a><div class="wh-tooltip"><p class="shortdesc">描述了 SDK 在不同应用场景中的配置和使用包括系统更新、OTA、安全方案等。</p></div></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d3752e1848" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d3752e1848-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/peripheral/peripheral-intro.html" id="id-d3752e1848-link">外设移植</a><div class="wh-tooltip"><p class="shortdesc"><span class="ph">CTP、U 盘、SD 卡、有线和无线网络</span>等外设的介绍和使用说明。</p></div></div></div></li><li role="treeitem" aria-expanded="true"><div data-tocid="id-d3752e2022" class="topicref" data-id="id" data-state="expanded"><span role="button" tabindex="0" aria-labelledby="button-collapse-action id-d3752e2022-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/bringup/chapter-bringup.html" id="id-d3752e2022-link">BringUp</a><div class="wh-tooltip"><p class="shortdesc">主要描述板卡的各项配置,使 SDK 的环境和板卡匹配,并确保 SDK 编译后的固件能够在板子上正常运行。</p></div></div></div><ul role="group" class="navbar-nav nav-list"><li role="treeitem" aria-expanded="false"><div data-tocid="id-d3752e2039" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d3752e2039-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/bringup/lite-bringup-prepare.html" id="id-d3752e2039-link">准备工作</a></div></div></li><li role="treeitem"><div data-tocid="id-d3752e2097" class="topicref" data-id="id" data-state="leaf"><span role="button" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/bringup/lite-bri
2025-04-23 17:54:31 +08:00
</div>
</nav>
<div class="col-lg-9 col-md-9 col-sm-12" id="wh_topic_body">
<button id="wh_close_publication_toc_button" class="close-toc-button d-none" aria-label="Toggle publishing table of content" aria-controls="wh_publication_toc" aria-expanded="true">
<span class="close-toc-icon-container">
<span class="close-toc-icon"></span>
</span>
</button>
<div class=" wh_topic_content body "><main role="main"><article class="- topic/topic topic" role="article" aria-labelledby="ariaid-title1">
<span class="edit-link" style="font-size:12px; opacity:0.6; text-align:right; vertical-align:middle"><a target="_blank" href="http://aicdocco/taskstopics/sdk/bringup/lite-bringup-display_mipi-dbi.dita">Edit online</a></span><h1 class="- topic/title title topictitle1" id="ariaid-title1">MIPI-DBI</h1>
2025-07-22 11:15:46 +08:00
<div class="date inPage">16 May 2025</div><div style="color: gray;">
2025-04-23 17:54:31 +08:00
Read time: 3 minute(s)
</div>
<div class="- topic/body body">
2025-07-22 11:15:46 +08:00
<p class="- topic/p p" data-ofbid="d202087e28__20250519091528">本节介绍了开发一款新的 ArtInChip MIPI-DBI 屏驱动的流程,以确保驱动能够正确初始化并工作。</p>
2025-04-23 17:54:31 +08:00
2025-07-22 11:15:46 +08:00
<p class="- topic/p p" data-ofbid="d202087e31__20250519091528">ArtInChip 平台支持以下 MIPI-DBI 类型:</p>
2025-04-23 17:54:31 +08:00
<ul class="- topic/ul ul" id="section_t5h_xxn_42c__ul_ujc_w5y_p2c" data-ofbid="section_t5h_xxn_42c__ul_ujc_w5y_p2c">
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e36__20250519091528">Type C: SPI</li>
<li class="- topic/li li" data-ofbid="d202087e39__20250519091528">Type B: I8080</li>
2025-04-23 17:54:31 +08:00
</ul>
2025-07-22 11:15:46 +08:00
<div class="- topic/p p" data-ofbid="d202087e43__20250519091528">MIPI-DBI 屏幕通常需要初始化,调试时需根据屏厂提供的资料,开发一款专用的驱动。开发步骤如下:<ol class="- topic/ol ol" id="section_t5h_xxn_42c__ol_wbs_h14_42c" data-ofbid="section_t5h_xxn_42c__ol_wbs_h14_42c">
<li class="- topic/li li" data-ofbid="d202087e47__20250519091528">新增一款屏驱动。<p class="- topic/p p" data-ofbid="d202087e49__20250519091528">根据屏幕的接口类型Type B: I8080 或 Type C: SPI从现有的参考文件中复制代码。</p><div class="- topic/p p" data-ofbid="d202087e51__20250519091528">
2025-04-23 17:54:31 +08:00
<ul class="- topic/ul ul" id="section_t5h_xxn_42c__ul_jpb_m14_42c" data-ofbid="section_t5h_xxn_42c__ul_jpb_m14_42c">
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e55__20250519091528">Type B I8080 接口可参考:<span class="+ topic/ph sw-d/filepath ph filepath">panel_dbi_st7789.c</span></li>
<li class="- topic/li li" data-ofbid="d202087e60__20250519091528">Type C SPI 接口可参考:<span class="+ topic/ph sw-d/filepath ph filepath">panel_dbi_st7789t3.c</span></li>
2025-04-23 17:54:31 +08:00
</ul>
</div></li>
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e67__20250519091528">
<p class="- topic/p p" data-ofbid="d202087e69__20250519091528">将新文件重命名为 <span class="+ topic/ph sw-d/filepath ph filepath">panel_dbi_xxx.c</span>,其中 xxx 为屏驱 IC 型号。</p>
<p class="- topic/p p" data-ofbid="d202087e75__20250519091528">例如,屏驱 IC 型号为 st77903则新文件名称为 <span class="+ topic/ph sw-d/filepath ph filepath">panel_dbi_st77903.c</span>。以下均以
2025-04-23 17:54:31 +08:00
st77903 屏驱 IC 型号为例。</p>
</li>
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e82__20250519091528">注册新驱动文件。<ul class="- topic/ul ul" id="section_t5h_xxn_42c__ul_i4n_514_42c" data-ofbid="section_t5h_xxn_42c__ul_i4n_514_42c">
<li class="- topic/li li" data-ofbid="d202087e86__20250519091528">修改 <span class="+ topic/ph sw-d/filepath ph filepath">bsp/artinchip/drv/display/panel/Kconfig</span>
2025-04-23 17:54:31 +08:00
文件,添加配置项,让新驱动在 menuconfig
界面可见:<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="section_t5h_xxn_42c__codeblock_j3n_cb4_42c" data-ofbid="section_t5h_xxn_42c__codeblock_j3n_cb4_42c">config AIC_PANEL_DBI_ST77903
bool <span class="hl-string">"ArtInChip MIPI DBI ST77903 panel"</span>
depends on AIC_DISP_MIPI_DBI</pre></li>
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e94__20250519091528">修改 <span class="+ topic/ph sw-d/filepath ph filepath">bsp/artinchip/SConscript</span>
2025-04-23 17:54:31 +08:00
文件,添加编译规则:<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="section_t5h_xxn_42c__codeblock_ocz_db4_42c" data-ofbid="section_t5h_xxn_42c__codeblock_ocz_db4_42c"><strong class="hl-keyword">if</strong> GetDepend(<span class="hl-string">'AIC_PANEL_DBI_ST77903):
</span> src += Glob(<span class="hl-string">'drv/display/panel/panel_dbi_st77903.c'</span>)</pre></li>
</ul></li>
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e103__20250519091528">注册新 struct aic_panel 结构体。<ul class="- topic/ul ul" id="section_t5h_xxn_42c__ul_nlh_gb4_42c" data-ofbid="section_t5h_xxn_42c__ul_nlh_gb4_42c">
<li class="- topic/li li" data-ofbid="d202087e107__20250519091528">修改 <span class="+ topic/ph sw-d/filepath ph filepath">panel_dbi_st77903.c</span> 的 struct aic_panel 命名,重命名为
2025-04-23 17:54:31 +08:00
dbi_st77903。</li>
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e113__20250519091528"><span class="+ topic/ph sw-d/filepath ph filepath">panel_com.h</span> 中添加 <code class="+ topic/ph pr-d/codeph ph codeph">extern struct aic_panel
2025-04-23 17:54:31 +08:00
dbi_st77903</code><pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="section_t5h_xxn_42c__codeblock_o34_4b4_42c" data-ofbid="section_t5h_xxn_42c__codeblock_o34_4b4_42c"><em class="hl-comment">// panel_com.h</em>
<strong class="hl-keyword">extern</strong> <strong class="hl-keyword">struct</strong> aic_panel dbi_xxx;</pre></li>
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e124__20250519091528">将 dbi_st77903 添加到 <span class="+ topic/ph sw-d/filepath ph filepath">panel_com.c</span> 文件的 panels[]
2025-04-23 17:54:31 +08:00
指针数组中:<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="section_t5h_xxn_42c__codeblock_ts5_pb4_42c" data-ofbid="section_t5h_xxn_42c__codeblock_ts5_pb4_42c"><em class="hl-comment">// panel_com.c</em>
<strong class="hl-keyword">static</strong> <strong class="hl-keyword">struct</strong> aic_panel *panels[] = {
...
#ifdef AIC_PANEL_DBI_st77903
&amp;dbi_st77903,
#endif
};</pre></li>
</ul></li>
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e133__20250519091528">设置屏幕时序和接口参数。<ul class="- topic/ul ul" id="section_t5h_xxn_42c__ul_yqq_rb4_42c" data-ofbid="section_t5h_xxn_42c__ul_yqq_rb4_42c">
<li class="- topic/li li" data-ofbid="d202087e137__20250519091528">修改 struct display_timing 结构体,根据 LCD
2025-04-23 17:54:31 +08:00
屏幕规格书修改时序参数。<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="section_t5h_xxn_42c__codeblock_u1j_wb4_42c" data-ofbid="section_t5h_xxn_42c__codeblock_u1j_wb4_42c"><strong class="hl-keyword">static</strong> <strong class="hl-keyword">struct</strong> display_timing st77903_timing = {
.pixelclock = <span class="hl-number">130000000</span>,
.hactive = <span class="hl-number">1080</span>,
.hfront_porch = <span class="hl-number">160</span>,
.hback_porch = <span class="hl-number">160</span>,
.hsync_len = <span class="hl-number">40</span>,
.vactive = <span class="hl-number">1920</span>,
.vfront_porch = <span class="hl-number">10</span>,
.vback_porch = <span class="hl-number">20</span>,
.vsync_len = <span class="hl-number">8</span>,
};</pre></li>
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e142__20250519091528">修改 struct panel_dbi 结构体,根据 LCD
2025-04-23 17:54:31 +08:00
屏幕规格书修改显示接口类型并添加初始化命令。<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="section_t5h_xxn_42c__codeblock_zcd_yb4_42c" data-ofbid="section_t5h_xxn_42c__codeblock_zcd_yb4_42c"><strong class="hl-keyword">static</strong> <strong class="hl-keyword">struct</strong> panel_dbi dbi = {
.type = SPI,
.format = SPI_<span class="hl-number">4L</span>INE_RGB565,
.commands = {
.buf = st7789t3_commands,
.len = ARRAY_SIZE(st7789t3_commands),
}
};</pre></li>
</ul></li>
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e149__20250519091528"><span class="+ topic/ph sw-d/filepath ph filepath">pinmux.c</span> 文件中添加屏幕引脚,配置屏幕引脚功能。<div class="- topic/p p" data-ofbid="d202087e154__20250519091528">以 demo128-nand 工程为例,在
2025-04-23 17:54:31 +08:00
<span class="+ topic/ph sw-d/filepath ph filepath">target/d21x/demo128-nand/pinmux.c</span>
中配置屏幕引脚,根据芯片型号和接口参数添加 MIPI-DBI 信号引脚,配置功能
2<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="section_t5h_xxn_42c__codeblock_p15_gc4_42c" data-ofbid="section_t5h_xxn_42c__codeblock_p15_gc4_42c">#ifdef AIC_PANEL_DBI_XXX
{<span class="hl-number">2</span>, PIN_PULL_DIS, <span class="hl-number">3</span>, <span class="hl-string">"PD.16"</span>},
{<span class="hl-number">2</span>, PIN_PULL_DIS, <span class="hl-number">3</span>, <span class="hl-string">"PD.17"</span>},
{<span class="hl-number">2</span>, PIN_PULL_DIS, <span class="hl-number">3</span>, <span class="hl-string">"PD.18"</span>},
{<span class="hl-number">2</span>, PIN_PULL_DIS, <span class="hl-number">3</span>, <span class="hl-string">"PD.19"</span>},
{<span class="hl-number">2</span>, PIN_PULL_DIS, <span class="hl-number">3</span>, <span class="hl-string">"PD.20"</span>},
{<span class="hl-number">2</span>, PIN_PULL_DIS, <span class="hl-number">3</span>, <span class="hl-string">"PD.21"</span>},
{<span class="hl-number">2</span>, PIN_PULL_DIS, <span class="hl-number">3</span>, <span class="hl-string">"PD.22"</span>},
{<span class="hl-number">2</span>, PIN_PULL_DIS, <span class="hl-number">3</span>, <span class="hl-string">"PD.23"</span>},
{<span class="hl-number">2</span>, PIN_PULL_DIS, <span class="hl-number">3</span>, <span class="hl-string">"PD.24"</span>},
{<span class="hl-number">2</span>, PIN_PULL_DIS, <span class="hl-number">3</span>, <span class="hl-string">"PD.25"</span>},
{<span class="hl-number">2</span>, PIN_PULL_DIS, <span class="hl-number">3</span>, <span class="hl-string">"PD.26"</span>},
{<span class="hl-number">2</span>, PIN_PULL_DIS, <span class="hl-number">3</span>, <span class="hl-string">"PD.27"</span>},
#endif</pre><ul class="- topic/ul ul" id="section_t5h_xxn_42c__ul_onb_lq4_42c" data-ofbid="section_t5h_xxn_42c__ul_onb_lq4_42c">
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e163__20250519091528">Type B I8080 引脚定义如下:<div class="- topic/p p" data-ofbid="d202087e165__20250519091528">
2025-04-23 17:54:31 +08:00
<br/><div class="imagecenter"><img class="- topic/image image imagecenter" id="section_t5h_xxn_42c__image_k2h_pq4_42c" src="../../../images/bringup/lite_bringup_i8080_pin.png"/></div><br/>
</div></li>
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e170__20250519091528">Type C SPI 引脚定义如下:<br/><div class="imagecenter"><img class="- topic/image image imagecenter" id="section_t5h_xxn_42c__image_tqc_qq4_42c" src="../../../images/bringup/lite_bringup_spi_pin.png"/></div><br/></li>
2025-04-23 17:54:31 +08:00
</ul></div></li>
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e175__20250519091528">使能新建的 panel 驱动。<p class="- topic/p p" data-ofbid="d202087e177__20250519091528">在 Luban-Lite 根目录下执行 <span class="+ topic/keyword sw-d/cmdname keyword cmdname">me</span>,进入 menuconfig
2025-04-23 17:54:31 +08:00
的功能配置界面。</p><ul class="- topic/ul ul" id="section_t5h_xxn_42c__ul_wlz_lc4_42c" data-ofbid="section_t5h_xxn_42c__ul_wlz_lc4_42c">
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e184__20250519091528">选择显示接口类型 Display MIPI-DBI
2025-04-23 17:54:31 +08:00
interface<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="section_t5h_xxn_42c__codeblock_zjv_pc4_42c" data-ofbid="section_t5h_xxn_42c__codeblock_zjv_pc4_42c">Board options ---&gt;
[*] Using Display Engine (DE)
Display Parameter ---&gt;
select Display interface (Display MIPI-DBI interface) ---&gt;</pre></li>
2025-07-22 11:15:46 +08:00
<li class="- topic/li li" data-ofbid="d202087e189__20250519091528">选择新建的 ArtInChip MIPI DBI panel 驱动,即 ArtInChip MIPI DBI st77903
2025-04-23 17:54:31 +08:00
panel<pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="section_t5h_xxn_42c__codeblock_rm4_rc4_42c" data-ofbid="section_t5h_xxn_42c__codeblock_rm4_rc4_42c">Board options ---&gt;
[*] Using Display Engine (DE)
Display Parameter ---&gt;
Display Panels ---&gt;
ArtInChip Panel Drivers (ArtInChip MIPI DBI st77903 panel) ---&gt;</pre></li>
</ul></li>
</ol></div>
</div>
</article></main></div>
</div>
</div>
</div>
</div>
<footer class="navbar navbar-default wh_footer">
<div class=" footer-container mx-auto ">
<title>footer def</title>
<style>
.p1 {
font-family: FangZhengShuSong, Times, serif;
}
.p2 {
font-family: Arial, Helvetica, sans-serif;
}
.p3 {
font-family: "Lucida Console", "Courier New", monospace;
}
</style>
<div class="webhelp.fragment.footer">
<p class="p1">Copyright © 2019-2025 广东匠芯创科技有限公司. All rights reserved.</p>
</div>
<div>
<div class="generation_time">
2025-07-22 11:15:46 +08:00
Update Time: 2025-05-19
2025-04-23 17:54:31 +08:00
</div>
</div>
</div>
</footer>
<div id="go2top" class="d-print-none">
<span class="oxy-icon oxy-icon-up"></span>
</div>
<div id="modal_img_large" class="modal">
<span class="close oxy-icon oxy-icon-remove"></span>
<div id="modal_img_container"></div>
<div id="caption"></div>
</div>
<script src="${pd}/publishing/publishing-styles-AIC-template/js/custom.js" defer="defer"></script>
</body>
</html>