Part 1
요약·해설
DISP blanking, DC bias 손상 방지, EXTCOMIN frequency의 contrast/power tradeoff와 8개 지원 panel을 설명합니다.
SPI · active-high SCS
Periodic VCOM inversion
Contrast vs power
LS013B7DH03
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
8E1AD8349CFDC15C8C4CE42F5CCA0920BD2C22E9D1F8341AA5B7C2749562C040
.. _ls0xx_generic_shield:
Sharp memory display generic shield
###################################
Overview
********
This is a generic shield for Sharp memory pixel LCD. It supports
displays of LS0XX type. These displays have an SPI interface and
few other pins. Note that the SCS is active high for this display.
The DISP pin controls whether to display memory
contents or show all white pixels, this can be connected
directly to VDD, to always display memory contents or connected
to a gpio. If devicetree contains ``disp-en-gpios`` then it will be set to
high during driver initialization. Display blanking apis can be used
to control it.
Sharp memory displays require toggling the VCOM signal periodically
to prevent a DC bias occurring in the panel as mentioned in the `appnote`_
and `datasheet`_. The DC bias can damage the LCD and reduce the life.
This signal must be supplied from either serial input (sw) or an external
signal on the EXTCOMIN pin.
Currently the driver only supports VCOM toggling using the EXTCOMIN pin
(EXTMODE pin is connected to VDD).
When ``extcomin-gpios`` is defined, driver starts a thread which will
toggle EXTCOMIN at ``extcomin-frequency`` frequency. Higher frequency
gives better contrast while lower frequency saves power.
To use a different method of toggling for example pwm, user may not
define ``extcomin-gpios`` and implement their preferred method in
application code.
Pins Assignment of the Generic Sharp memory Display Shield
==========================================================
+---------------+---------------------------------------------------------+
| Pin | Function |
+===============+=========================================================+
| SCS | Serial Slave Select |
+---------------+---------------------------------------------------------+
| SI | Serial Data Input |
+---------------+---------------------------------------------------------+
| SCLK | Serial Clock Input |
+---------------+---------------------------------------------------------+
| EXTCOMIN | VCOM Inversion Polarity Input (VCOM can be controlled |
| | through SW) |
+---------------+---------------------------------------------------------+
| DISP | Display ON/OFF switching signal (Can be connected |
| | directly to VDD) |
+---------------+---------------------------------------------------------+
| EXTMODE | COM Inversion Selection |
+---------------+---------------------------------------------------------+
Current supported displays
==========================
Following displays are supported but shield only exists
for LS013B7DH03. Other shields can be added by using the LS013B7DH03 as
a reference and changing the width, height, etc configurations.
LS012B7DD01
LS012B7DD06
LS013B7DH03
LS013B7DH05
LS013B7DH06
LS027B7DH01A
LS032B7DD02
LS044Q7DH01
+----------------------+------------------------------+
| Display | Shield Designation |
| | |
+======================+==============================+
| LS013B7DH03 | ls013b7dh03 |
+----------------------+------------------------------+
Requirements
************
This shield can only be used with a board that provides a configuration
for Arduino connectors and defines node aliases for SPI and GPIO interfaces
(see :ref:`shields` for more details).
Programming
***********
Set ``--shield ls013b7dh03`` when you invoke ``west build``. For example:
.. zephyr-app-commands::
:zephyr-app: samples/subsys/display/lvgl
:board: nrf52840dk/nrf52840
:shield: ls013b7dh03
:goals: build
References
**********
.. target-notes::
.. _appnote:
https://www.sharpsma.com/documents/1468207/1485747/Memory+LCD+Theory%2C+Programming%2C+and+Interfaces
.. _datasheet:
https://www.mouser.com/datasheet/2/365/LS013B7DH03%20SPEC_SMA-224806.pdf
Part 3
한국어 전문 번역
개요
Sharp memory pixel LCD용 generic shield로 LS0XX 계열 display를 지원합니다. 이 display는 SPI interface와 몇 개의 추가 pin을 사용하며, SCS는 active high입니다.
DISP 제어
DISP pin은 memory content를 표시할지 모든 pixel을 흰색으로 만들지 제어합니다. 항상 memory content를 표시하려면 VDD에 직접 연결하거나 GPIO에 연결할 수 있습니다. Device Tree에 disp-en-gpios가 있으면 driver initialization 중 high로 설정되며 display blanking API로 제어할 수 있습니다.
VCOM inversion
VCOM signal은 serial input을 통한 software 방식 또는 EXTCOMIN pin의 external signal로 공급해야 합니다. 현재 driver는 EXTMODE를 VDD에 연결한 상태에서 EXTCOMIN pin을 toggle하는 방식만 지원합니다.
Device Tree에 extcomin-gpios가 정의되면 driver가 thread를 시작해 extcomin-frequency 주기로 EXTCOMIN을 toggle합니다. Frequency가 높을수록 contrast가 좋아지고, 낮을수록 power를 절약합니다.
PWM 같은 다른 toggle 방법을 사용하려면 extcomin-gpios를 정의하지 않고 application code에서 원하는 방식을 구현합니다.
Generic shield pin assignment
| Pin | Function |
|---|---|
| SCS | Serial Slave Select |
| SI | Serial Data Input |
| SCLK | Serial Clock Input |
| EXTCOMIN | VCOM Inversion Polarity Input (software control 가능) |
| DISP | Display ON/OFF switching signal (VDD 직접 연결 가능) |
| EXTMODE | COM Inversion Selection |
현재 지원 display
다음 display를 지원하지만 실제 shield configuration은 LS013B7DH03에만 있습니다. 다른 display는 LS013B7DH03을 reference로 width, height 등의 configuration을 바꿔 추가할 수 있습니다.
- LS012B7DD01
- LS012B7DD06
- LS013B7DH03
- LS013B7DH05
- LS013B7DH06
- LS027B7DH01A
- LS032B7DD02
- LS044Q7DH01
| Display | Shield designation |
|---|---|
| LS013B7DH03 | ls013b7dh03 |
요구 사항
Arduino connector configuration과 SPI 및 GPIO interface용 node alias를 제공하는 board에서만 사용할 수 있습니다.
프로그래밍
west build를 실행할 때 --shield ls013b7dh03을 지정합니다.
west build -b nrf52840dk/nrf52840 --shield ls013b7dh03 samples/subsys/display/lvgl
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.