Перейти к содержанию

Навигация

TFT01-2.2SP/en: различия между версиями

Новая страница: «==Description== Screen http://www.elecfreaks.com/store/22%C3%82%E2%80%99-tft-lcd-tft0122sp-p-672.html Available in large quantities on ebay and aliexpress, see f…»
(Новая страница: «Screen is based on the [ILI9341/en] chip in five-wire serial interface mode (SPI + Data/Command).»)
(Новая страница: «==Description== Screen http://www.elecfreaks.com/store/22%C3%82%E2%80%99-tft-lcd-tft0122sp-p-672.html Available in large quantities on ebay and aliexpress, see f…»)
 
(не показаны 3 промежуточные версии этого же участника)
Строка 1: Строка 1:
<languages/>
<languages/>


==Описание==
==Description==
Экран http://www.elecfreaks.com/store/22%C3%82%E2%80%99-tft-lcd-tft0122sp-p-672.html  
Screen http://www.elecfreaks.com/store/22%C3%82%E2%80%99-tft-lcd-tft0122sp-p-672.html  
Доступен в больших количествах на ebay и aliexpress, см. например [http://www.aliexpress.com/item/Brand-New-2-2-Serial-SPI-TFT-Color-LCD-Module-Display-240X320-w-PCB-Adpater/1149927865.html]
Available in large quantities on ebay and aliexpress, see for example [http://www.aliexpress.com/item/Brand-New-2-2-Serial-SPI-TFT-Color-LCD-Module-Display-240X320-w-PCB-Adpater/1149927865.html]


http://www.elecfreaks.com/store/images/2.2SP_A.JPG
http://www.elecfreaks.com/store/images/2.2SP_A.JPG
Строка 11: Строка 11:
Screen is based on the [[[ILI9341/en]]] chip  in five-wire serial interface mode (SPI + Data/Command).  
Screen is based on the [[[ILI9341/en]]] chip  in five-wire serial interface mode (SPI + Data/Command).  


==Подключение к Wiren Board==
==Connection to Wiren Board controller==
Экран требует для подключения 0, +3.3V, 4 линии SPI, линию D/C, линию RESET. На вход LED надо подать +3.3V для включения подсветки.
The screen requires to connect 0, +3.3 V, 4 SPI lines, d/C line, RESET line. The led input must be supplied +3.3 V to turn on the backlight.


Удобнее всего подключать экран к разъёму UEXT2, при этом линии software I2C конфигурируются в режиме GPIO.
It is most convenient to connect the screen to the UEXT2 connector, and the software I2C lines are configured in GPIO mode.


===Настройки===
===Settings===
Убедитесь, что в dts-файле (в /boot/dts/) imx233-wirenboard28.dts не активирован программный I2C на UEXT2.
Make sure that the dts file (/boot/dts/) contains imx233-wirenboard28.dts is not activated software I2C on UEXT2.


Убедитесь, что линия CS UEXT2 (GPIO 91, 25 @ CON2, UEXT2 CS/GPIO) настроена для использования в качестве chip-select SPI master'а и при этом не занята под другие драйвера (включая spidev).
Убедитесь, что линия CS UEXT2 (GPIO 91, 25 @ CON2, UEXT2 CS/GPIO) настроена для использования в качестве chip-select SPI master'а и при этом не занята под другие драйвера (включая spidev).
12 063

правки