Home
SAMA5D3_xplained LCD-Ex Quick Guide
Contents
1. 6 DISPO_DAT3 DISPO_DAT3 7 DISPO_DEN Data enable TFT 8 DISPO_DAT4 DISPO_DAT4 9 DISPO_HSYNC Horizontal Synchronization 10 DISPO_DAT5 DISPO_DAT5 11 DISPO_VSYNC Vertical Synchronization 12 DISPO_DAT6 DISPO_DAT6 13 DISPO_DAT7 DISPO_DAT7 14 DISPO_DAT23 DISPO_DAT23 15 DISPO_DAT15 DISPO_DAT15 16 NC NC 17 DISPO_DAT19 DISPO_DAT19 elementiu 18 NC NC 19 DISPO_DAT20 DISPO_DAT20 20 TBD TBD 21 DISPO_DAT21 DISPO_DAT21 22 TBD TBD 23 DISPO_DAT22 DISPO_DAT22 24 TP_BUSY Touch Pad Busy Signal 25 DISPO_DAT10 DISPO_DAT10 26 TP_INT Touch Pad Interrupt 27 DISPO_DAT11 DISPO_DAT11 28 CSPI_MOSI SPI Master Output Slave Input 29 DISPO_DAT12 DISPO_DAT12 30 CSPI_CLK SPI Master Input Slave Output 31 NC NC 32 TP_SPI_SCSn DISPO_DAT6 33 NC NC 34 CSPI_MISO DISPO_DAT5 35 I2C4 SCL IIC master serial clock 36 DISPO_DAT13 DISPO_DAT13 37 I2C4 SDA IIC serial bidirectional data 38 DISPO_DAT14 DISPO_DAT14 39 GND GND 40 LCD_PWM Backlight Enable Page 10 elementiu 2 2 4 SPI Line Module Select The SPI module of module Application Jumper cap select SAMASD3 Xplained J22 J11 PIN3 PIN2 PIN37 SPIO_NPCS3 SPIO_MISO SAMA5D3 J12 PIN3 PIN2 PIN 38 Vi Xplained J14 PIN3 PIN2 PIN 39 SPIO MOSI Version A J15 PIN3 PIN2 PIN40 SPIO_SPCK J11 PIN1 PIN2 PIN 37 SPIO_SPCK SAMA5D3 J12 PIN1
2. PIN2 PIN 38 SPIO_MOSI V2 Xplained f J14 PIN1 PIN2 PIN 39 SPIO MISO Version B J15 PIN1 PIN2 PIN40 SPIO_NPCS3 Page 11 elementiu 3 Use of LCD EX Hereafter the SAMA5D3 Xplained development board and a 4 3 LCD module will be used as the example devices working with LCD EX Note If using a 7 LCD module it is recommended to use a mains power supply do not use a PC based USB power supply 3 1 Configuring the Kernel 1 The Linux kernel includes many DTS files suited for different kinds of chips and platforms Assuming a 4 3 LCD display is used the configuration file should be selected accordingly Different sizes of LCDs need different DTS files but with similar configuration Note The code marked in blue in the following examples can be modified to cater for different configurations 3 1 1 Configuration File for 4 3 LCD eol Isles LO 0 vim arch arm boot dts at91 sama5d3 xplained pda4 dts ahb apb mmc0 mmc f0000000 pinctrl names default pinctrl 0 lt amp pinctrl mmc0 clk emd dat0 pinctrl moch datl 3 amp pinctrl mmc0 dat4 7 amp pinctrl mmc0 cd gt status okay slot 0 reg lt 0 gt Page 12 elementiu Page 13 elementiu The IRQ register information of mxt needs to be removed when connecting a resistive touch screen because the atmel mxt ts IRQ pin of the display would be used by module
3. diagram demonstrating how LCD EX works when using 24 bit logic interface POWER LCD PWM PC TP_BUSY Aa Controller TP_INT SPI Touch INF LCD TP_SPI A5 Interface DISPO DEN DISPO_HSY DISPO_VSY DISPO_DEN DISPO_HSY 24 bit RGB INF DISPO_VSY Figure 2 24 Bit Logic Interface Page 2 elementiu 2 Interfaces on LCD EX 2 1 Locations and Types of Interfaces The following images show the locations of the interfaces on LCD EX J1 LCD Ji RE sia A A d YNUUYN YNN ple LCD Ex 140101 R159 En a G Gj aan OSS itt ant taere titii Mat 84486G Y11 Figure3 Ji J2 Interfaces J13 aa 27 Ama mera Figure4 J13 Interface Page 3 elementiu The following table lists the descriptions of the interfaces on LCD EX Name Description J1 50 Pin interface for coloured display J2 24 bit RGB A5 interface J13 16 bit 565 RIoT interface J11 J12 SPI line module Select J14 J15 2 2 Pin Definitions of Interfaces The following tables contain detailed information about the interfaces on LCD EX 2 2 1 Pin Definitions of J1 Pin Definition Description 1 BO Blue Data0 2 B1 Blue Datal 3 B2 Blue Data2 4 B3 Blue Data3 5 B4 Blue Data4 6 B5 Blue Data5 7 B6 Blue Data6 8 B7 Blue Data 9 GND GND Page 4 elementiu P
4. driver too 3 1 2 Remove IRQ Register Information vim arch arm boot dts at91 sama5d3 xplained dm pda4 dtsi ahb apb i2el i2c f 0018000 gt1070 keyboard lb compatible gt1070 reg lt x1b gt interrupt parent lt amp pioE gt interrupts lt 8 0x0 gt pinctrl names default Pml Soins eject VO Hees wakeup source atmel mxt ts 4a compatible atmel atmel mxt ts reg lt 0x4a gt interrupt parent lt amp pioE gt interrupts lt 7 0x0 gt pinctrl names default pincer Oe pi nere Mime Weeen a status okay Page 14 elementiu 3 1 3 Configuring the kernel to include drivers for TSC2045 make ARCH arm menuconfig Device Drivers gt Input device support gt Ll Touchiscreens gt lt gt ADS7846 TSC2046 AD7873 and AD S 7843 based touchscreens 2 Execute the following instructions to recompile the kernel e make ARCH arm CROSS_COMPILE arm none linux gnueabi dtbs e make ARCH arm CROSS_COMPILE arm none linux gnueabi uImage 3 The image files generated can be found under the following directories DTB image arch arm boot dts at91 sama5d3 xplained pda4 dtb uImage arch arm boot uImage Page 15 elementi 3 2 Connections and Tests 1 Use two flat ribbon cables with pins on same side to connect the conversion module SAMA5D3 Xplained and LCD module together as shown below Figure 5 Hardware Conne
5. Definitions Of J13 onsen enen aaa a aaa a aaa a aaa aaa aaa aaa aaa aaa 9 2 2 4 SPI Line Module Select nanne eene eennennneennennnren venen een dennen 11 3 Use of LOD EX Ais si ini nijnnis nunu nnn ennen dennen en 12 3 1 COnmguring the Kernel nternet en 12 3 1 1 Configuration File for 4 3 LCD nnn eneen evene eenen venen venen enen en 12 3 1 2 Remove IRQ Register Information nnen enen venen venen venen enen venen een 14 3 1 3 Configuring the kernel to include drivers for TSC2045 sans 15 2 2 COMMECHONS and TESES weerden dia iii asis klan dee ni is i eden 16 4 Troubleshooting Ktiskkiisiuususinias sona nende nis sk sasas ko skiaki e ii 18 elementiu 1 Product Overview 1 1 Brief Introduction LCD EX is a 16 24 bit RGB parallel conversion module designed for TFT LCD displays The module integrates a TSC2046 chip to provide touch functionality and a 3 3V regulation chip with the capability to implement I C control and PWM backlight control It supports 16 bit and 24 bit driving modes for LCD displays as well as the connection of SPI 4 wire resistive touch screens 1 2 Block Diagrams Figure 1 shown below is a block diagram demonstrating how the LCD EX works when using a 16 bit logic interface POWER LCD_PWM PC Controller TP BUSY TP INT SPI Touch INF LCD RIoT TP SPI Interface DISPO_DEN DISPO_HSY 16bit RGB DISPO_VSY 565 DISPO_CLK Figure 1 Page 1 elementiu Figure 2 shown below is a block
6. LCD8000 43T EX1 LCD8000 70T EX1 A Portable LCD Solution for Atmel SAMA5D3 Xplained By elementi elementi DISCLAIMER This product is intended to be used for ENGINEERING DEVELOPMENT DEMONSTRATION OR EVALUATION PURPOSES ONLY and is not considered by element14 to be a finished end product fit for general consumer use Persons handling the product s must have electronics training and observe good engineering practice standards The goods being provided are not intended to be complete in terms of required design and or manufacturing related protective considerations including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards Revision History Version Date Description 1 0 30 7 2014 Original Version elementiu Table of Contents 1 Product OVErVIEW Li isinsaiusaianka snuni nsisasia ksinininnnuks kenne pian enen 1 1 1 Brief InCrOAUCEDA ais aaa i iii a a ii lenende a EIEEE 1 1 2 Block DIANE essen iais i ia i ii i i a i na delend 1 2 Interfaces on LCD EX Liininsssis nsuni nniasssiuieiuinissausisnikasikknsunksani ni 3 2 1 Locations and Types of Interfaces cccccesceseeesseeeeeeeeeeeeeeseeeneeas 3 2 2 Pin Definitions of INLEMACES err versus asas ss i i k 4 2 21 Pin DefinitiONS Of Juanita i I i A A lee 4 2 2 2 Pin Definitions Of J2 ccccccccecece cece enen aaa a aaa a aaa a aaa a aaa aaa aaa aaa aaa aaa 7 2 2 3 Pin
7. VCC Input 12 CSPI MOSI NC 13 CSPI MISO Backlight enable 14 TP SPI SCSn Touch Pad Busy Signal 15 DISPO_DEN Touch Pad Interrupt 16 DISPO_HSYNC IIC master serial clock 17 DISPO_VSYNC IIC serial bidirectional data 18 DISPO_CLK NC 19 GND SPI serial clock 20 DISPO_DAT23 SPI Master Output Slave Input 21 DISPO_DAT22 SPI Master Input Slave Output 22 DISPO_DAT21 SPI Chip Select Page 7 elementiu 23 DISPO_DAT20 Data enable TFT 24 GND LCD Horizontal Synchronization 25 DISPO_DAT19 LCD Vertical Synchronization 26 DISPO_DAT18 DISPO_DAT18 27 DISPO_DAT17 DISPO_DAT17 28 DISPO_DAT16 DISPO_DAT16 29 GND GND 30 DISPO_DAT15 DISPO_DAT15 31 DISPO_DAT14 DISPO_DAT14 32 DISPO_DAT13 DISPO_DAT13 33 DISPO_DAT12 DISPO_DAT12 34 GND GND 35 DISPO_DAT11 DISPO_DAT11 36 DISPO_DAT10 DISPO_DAT10 37 DISPO_DAT9 DISPO_DAT9 38 DISPO_DAT8 DISPO_DAT8 39 GND GND 40 DISPO_DAT7 DISPO_DAT7 41 DISPO_DAT6 DISPO_DAT6 42 DISPO_DAT5 DISPO_DAT5 43 DISPO_DAT4 DISPO_DAT4 44 GND GND 45 DISPO_DAT3 DISPO_DAT3 46 DISPO_DAT2 DISPO_DAT2 Page 8 elementiu 47 DISPO_DAT1 DISPO_DAT1 48 DISPO_DATO DISPO_DATO 49 GND GND 50 ID_SYS ID_SYS 2 2 3 Pin Definitions of J13 Pin Definition Description 1 NC NC 2 5VIN VCC Input 3 GND GND 4 GND GND 5 DISPO_CLK LCD Pixel Clock
8. bon cable to ensure that the 4 touch interface pins on the module are correctly connected to the pins of the touch screen 2 There are two 50 pin PFC interfaces on the module named J1 and J2 respectively J1 is a flip lock connector used to connect LCDs J2 is a slide lock connector used to connect controllers LCD displays will not function correctly if connected to the wrong interface Page 18
9. ctions 2 Connect the debugging serial interface of the SAMA5D3 Xplained to a PC and then power on the development board 3 Update the system with the new uImage and at91 sama5d3 xplained pda4 dtb and then reboot to enter the Linux system 4 Execute the following instruction to view the device node of the touch screen e root sama5d3_xplained dmesg grep ir ads7846 Page 16 elementi The terminal window shows the following information ads7846 spi0 1 touchscreen irq 52 input ADS7846 Touchscreen as devices ahb 0 apb 1 0004000 spi spi_master spi0 spi0 1 input input0 Note The characters above marked in blue represent the device node ina inputO is associated to dev input eventO input1 is associated to dev input event1 and so on 5 Execute the following instruction to set environment variable for tslib xroot sama5d3 xplained export TSLIB TSDEVICE dev input event0 6 Execute the following instruction to run a calibration on touch screen root sama5d3 xplained ts calibrate 7 Execute the following instruction to test touch screen 4 root sama5d3 xplained 4 ts test Page 17 elementiu 4 Troubleshooting Please note the following common issues which can be encountered when connecting hardware to LCD EX 1 If the touch screen is not as precise as it should be after screen calibration please check the connection between the module and the flat rib
10. in Definition Description 10 GO Green Data0 11 Gi Green Datai 12 G2 Green Data2 13 G3 Green Data3 14 G4 Green Data4 15 G5 Green Data5 16 G6 Green Data6 17 G7 Green Data7 18 GND GND 19 RO Red Data0 20 R1 Red Data1 21 R2 Red Data2 22 R3 Red Data3 23 R4 Red Data4 24 R5 Red Data5 25 R6 Red Data6 26 R7 Red Data 27 GND GND 28 DEN Pixel data enable TFT 29 HSYNC LCD Horizontal Synchronization 30 VSYNC LCD Vertical Synchronization 31 GND GND 32 CLK LCD Pixel Clock Page 5 elementiu Pin Definition Description 33 GND GND 34 X X Position Input 35 X X Position Input 36 Y Y Position Input 37 Y Y Position Input 38 SPI_CLK SPI serial clock 39 SPI_MOSI SPI Master Output Slave Input 40 SPI MISO SPI Master Input Slave Output 41 SPI_CS SPI Chip Select 42 IIC_CLK IIC master serial clock 43 IIC DAT IIC serial bidirectional data 44 GND GND 45 VDD1 3 3V 46 VDD2 3 3V 47 VDD3 5V 48 VDD3 5V 49 RESET Reset 50 PWREN Backlight enable Page 6 2 2 2 Pin Definitions of J2 elementiu Pin Definition Description 1 GND GND 2 5V VCC Input 3 5V VCC Input 4 NC NC 5 LCD PWM Backlight enable 6 TP BUSY Touch Pad Busy Signal 7 TP INT Touch Pad Interrupt 8 I2C CLK IIC master serial clock 9 I2C DAT GND 10 NC VCC Input 11 CSPI CLK
Download Pdf Manuals
Related Search
Related Contents
NR-12 - Sami Cultura この書類は大切に保管してください。 - 東京都地球温暖化防止活動推進 BDP-S780 Pulsaret.m4l.v2 user manual Copyright © All rights reserved.
Failed to retrieve file