View detail for Using Display Module TM7000 on SAMA5D4 Xplained Ultra Board

APPLICATION NOTE
Using Display Module TM7000 on
SAMA5D4 Xplained Ultra Board
Atmel | SMART SAMA5D4 Series
Introduction
The Atmel® SAMA5D4 Xplained Ultra evaluation kit (SAMA5D4-XULT) is a fullyfeatured evaluation platform for the Atmel | SMART SAMA5D4 series ARM®based embedded microprocessor units (eMPU). It allows users to extensively
evaluate, prototype and create application-specific designs.
This application note aims at introducing how to adapt the display module
TM7000 to work with the SAMA5D4 Xplained Ultra board.
This AN should be used in conjunction with the SAMA5D4 Xplained Ultra User
Guide available on www.atmel.com.
SMART
Atmel-44019A-ATARM-Using-TM7000-on-SAMA5D4-Xplained-Ultra-Board-Application-Note_04-Dec-14
Table of Contents
1.
LCD TFT Interface on SAMA5D4-XULT Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.
TM7000 Display Module Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.
Using TM7000 on SAMA5D4-XULT Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1
3.2
4.
2
Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
LCD Data Bus Mapping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Using Display Module TM7000 on SAMA5D4 Xplained Ultra Board [APPLICATION NOTE]
Atmel-44019A-ATARM-Using-TM7000-on-SAMA5D4-Xplained-Ultra-Board-Application-Note_04-Dec-14
1.
LCD TFT Interface on SAMA5D4-XULT Board
The SAMA5D4 provides 24 bits of data and control signals to the LCD interface. Other signals are used to control
the LCD and are available on 50-pin LCD expansion connector J2: TWI, SPI, 2 GPIOs for interrupt, 1-Wire and
power supply lines.
In order to adapt to various LCD modules, two voltage lines are available: 3.3 V and 5 V (by default), both selected
by 0R resistors R416 and R417, as shown in Figure 1-1.
Figure 1-1.
LCD Power
VCC_5V
VCC_3V3
NRST_3V3
R416
DNP(0R)
R417
0R
R53
0R
LCD
J2
50
49
48
47
By default, the SAMA5D4-XULT board is configured to operate with display module TM4301 which has a 24-bit
RGB parallel data interface and needs a 5 Vcc supply applied on J2 pins 48 and 49. Figure 1-2 shows the default
connection between the LCD expansion connector and the TM4301 module.
Figure 1-2.
LCD Expansion Connector Interface
VCC_5V
VCC_3V3
NRST_3V3
[8] AD0_XP_PC27
[7] LCD_SPI1_NPCS2_PB23
[8] AD1_XM_PC28
[7] LCD_SPI1_MISO_PB18
[8] AD2_YP_PC29
[7] LCD_SPI1_MOSI_PB19
[8] AD3_YM_PC30
[7] LCD_SPI1_SPCK_PB20
R75
R50
DNP(0R)
22R
R126
R95
DNP(0R)
22R
R49
R74
DNP(0R)
22R
R125
R94
DNP(0R)
22R
[7]
[9]
[9]
[7]
[7]
[7]
[7]
[7]
[7]
[7]
LCD_PWM_PA24
LCD_PE10
LCD_PE9
LCD_TWCK0_PA31
LCD_TWD0_PA30
LCD_DISP_PA25
LCD_DEN_PA29
LCD_HSYNC_PA27
LCD_VSYNC_PA26
LCD_PCK_PA28
R416
DNP(0R)
R417
0R
R53
0R
J2
(LCDPWM)
(IRQ2)
(IRQ1)
(LCDDISP)
(LCDDEN)
(LCDHSYNC)
(LCDVSYNC)
(LCDPCK)
[7]
[7]
[7]
[7]
LCD_DAT23_PA23
LCD_DAT22_PA22
LCD_DAT21_PA21
LCD_DAT20_PA20
(LCDDAT23)
(LCDDAT22)
(LCDDAT21)
(LCDDAT20)
[7]
[7]
[7]
[7]
LCD_DAT19_PA19
LCD_DAT18_PA18
LCD_DAT17_PA17
LCD_DAT16_PA16
(LCDDAT19)
(LCDDAT18)
(LCDDAT17)
(LCDDAT16)
[7]
[7]
[7]
[7]
LCD_DAT15_PA15
LCD_DAT14_PA14
LCD_DAT13_PA13
LCD_DAT12_PA12
(LCDDAT15)
(LCDDAT14)
(LCDDAT13)
(LCDDAT12)
[7]
[7]
[7]
[7]
LCD_DAT11_PA11
LCD_DAT10_PA10
LCD_DAT9_PA9
LCD_DAT8_PA8
(LCDDAT11)
(LCDDAT10)
(LCDDAT9)
(LCDDAT8)
[7]
[7]
[7]
[7]
LCD_DAT7_PA7
LCD_DAT6_PA6
LCD_DAT5_PA5
LCD_DAT4_PA4
(LCDDAT7)
(LCDDAT6)
(LCDDAT5)
(LCDDAT4)
[7]
[7]
[7]
[7]
LCD_DAT3_PA3
LCD_DAT2_PA2
LCD_DAT1_PA1
LCD_DAT0_PA0
(LCDDAT3)
(LCDDAT2)
(LCDDAT1)
(LCDDAT0)
[9] LCD_ID_PE15
[14] EDBG_ID_01
R33
R32
DNP(0R)
330R
LCD
(ID_SYS)
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
52
51
50 Pin FPC Connector
Using Display Module TM7000 on SAMA5D4 Xplained Ultra Board [APPLICATION NOTE]
Atmel-44019A-ATARM-Using-TM7000-on-SAMA5D4-Xplained-Ultra-Board-Application-Note_04-Dec-14
3
2.
TM7000 Display Module Overview
The TM7000 display module is a touchscreen module combined with a 7-inch TFT LCD panel. This module was
designed to interface with a variety of Atmel ARM-based EKs including the SAMA5D3x-EK and the SAMA5D3
Xplained. It requires a power supply of 3.3 V on J2 pins 48 and 49 and has an 18-bit RGB parallel data interface.
Figure 2-1 shows the top and bottom views of the TM7000 display module.
Figure 2-1.
Top and Bottom Views of TM7000
For more details on the TM7000 display module, please refer to the TM7000 Datasheet available on
http://www.pdaatl.com.
3.
Using TM7000 on SAMA5D4-XULT Board
To adapt the TM7000 module to work with the SAMA5D4-XULT board, some hardware modifications need to be
made both on the SAMA5D4-XULT board and on the TM7000 display module.
3.1
Power Supply
As explained, the TM7000 module requires a power supply of 3.3 V, while by default only 5 V is available on the
SAMA5D4-XULT board for the LCD display module.
Modification:
On the SAMA5D4-XULT board, remove R417 and populate R416 to switch the LCD supply power from 5 V to
3.3 V (Figure 3-1).
Figure 3-1.
4
SAMA5D4-XULT PCB (Partial Bottom View)
Using Display Module TM7000 on SAMA5D4 Xplained Ultra Board [APPLICATION NOTE]
Atmel-44019A-ATARM-Using-TM7000-on-SAMA5D4-Xplained-Ultra-Board-Application-Note_04-Dec-14
3.2
LCD Data Bus Mapping
The LCD display device featured on the TM7000 display module has an 18-bit RGB parallel data interface. By
default, this module is configured to interface with boards such as SAMA5D3x-EK and SAMA5D3 Xplained.
However, the pin assignment of the RGB bus as a function of the bus width (24-, 18-, 16- or 12-bit mode) differs
between SAMA5D3 and SAMA5D4.
Table 3-1 and Table 3-2 show the LCD data bus mapping schemes of SAMA5D3 and SAMA5D4, respectively.
Table 3-1.
Active Mode Output Pin Assignment with SAMA5D3
Pin ID
TFT 24 bits
TFT 18 bits
TFT 16 bits
TFT 12 bits
LCD_DAT[23]
R[7]
–
–
–
LCD_DAT[22]
R[6]
–
–
–
LCD_DAT[21]
R[5]
–
–
–
LCD_DAT[20]
R[4]
–
–
–
LCD_DAT[19]
R[3]
–
–
–
LCD_DAT[18]
R[2]
–
–
–
LCD_DAT[17]
R[1]
R[5]
–
–
LCD_DAT[16]
R[0]
R[4]
–
–
LCD_DAT[15]
G[7]
R[3]
R[4]
–
LCD_DAT[14]
G[6]
R[2]
R[3]
–
LCD_DAT[13]
G[5]
R[1]
R[2]
–
LCD_DAT[12]
G[4]
R[0]
R[1]
–
LCD_DAT[11]
G[3]
G[5]
R[0]
R[3]
LCD_DAT[10]
G[2]
G[4]
G[5]
R[2]
LCD_DAT[9]
G[1]
G[3]
G[4]
R[1]
LCD_DAT[8]
G[0]
G[2]
G[3]
R[0]
LCD_DAT[7]
B[7]
G[1]
G[2]
G[3]
LCD_DAT[6]
B[6]
G[0]
G[1]
G[2]
LCD_DAT[5]
B[5]
B[5]
G[0]
G[1]
LCD_DAT[4]
B[4]
B[4]
B[4]
G[0]
LCD_DAT[3]
B[3]
B[3]
B[3]
B[3]
LCD_DAT[2]
B[2]
B[2]
B[2]
B[2]
LCD_DAT[1]
B[1]
B[1]
B[1]
B[1]
LCD_DAT[0]
B[0]
B[0]
B[0]
B[0]
Using Display Module TM7000 on SAMA5D4 Xplained Ultra Board [APPLICATION NOTE]
Atmel-44019A-ATARM-Using-TM7000-on-SAMA5D4-Xplained-Ultra-Board-Application-Note_04-Dec-14
5
Table 3-2.
Active Mode Output Pin Assignment with SAMA5D4
Pin ID
TFT 24 bits
TFT 18 bits
TFT 16 bits
TFT 12 bits
LCD_DAT[23]
R[7]
R[5]
R[4]
R[3]
LCD_DAT[22]
R[6]
R[4]
R[3]
R[2]
LCD_DAT[21]
R[5]
R[3]
R[2]
R[1]
LCD_DAT[20]
R[4]
R[2]
R[1]
R[0]
LCD_DAT[19]
R[3]
R[1]
R[0]
–
LCD_DAT[18]
R[2]
R[0]
–
–
LCD_DAT[17]
R[1]
–
–
–
LCD_DAT[16]
R[0]
–
–
–
LCD_DAT[15]
G[7]
G[5]
G[5]
G[3]
LCD_DAT[14]
G[6]
G[4]
G[4]
G[2]
LCD_DAT[13]
G[5]
G[3]
G[3]
G[1]
LCD_DAT[12]
G[4]
G[2]
G[2]
G[0]
LCD_DAT[11]
G[3]
G[1]
G[1]
–
LCD_DAT[10]
G[2]
G[0]
G[0]
–
LCD_DAT[9]
G[1]
–
–
–
LCD_DAT[8]
G[0]
–
–
–
LCD_DAT[7]
B[7]
B[5]
B[4]
B[3]
LCD_DAT[6]
B[6]
B[4]
B[3]
B[2]
LCD_DAT[5]
B[5]
B[3]
B[2]
B[1]
LCD_DAT[4]
B[4]
B[2]
B[1]
B[0]
LCD_DAT[3]
B[3]
B[1]
B[0]
–
LCD_DAT[2]
B[2]
B[0]
–
–
LCD_DAT[1]
B[1]
–
–
–
LCD_DAT[0]
B[0]
–
–
–
As shown in the above tables, in 18-bit mode (necessary to correctly drive the TM7000 LCD display) the
SAMA5D3 routes the LCD RGB color bits to LCDDAT[0..17], whereas the SAMA5D4 routes them to LCDDAT[2..7,
10..15, 18..23]. Therefore, a rerouting needs to be done on the TM7000 module to ensure a correct LCD bus
mapping to SAMA5D4.
The TM7000 module provides two groups of 0R resistors that enable adaptation to either of the two LCD data bus
mapping schemes:
6

R46 to R63 (populated for SAMA5D3, default configuration)

R27 to R44 (populated for SAMA5D4, alternative configuration)
Using Display Module TM7000 on SAMA5D4 Xplained Ultra Board [APPLICATION NOTE]
Atmel-44019A-ATARM-Using-TM7000-on-SAMA5D4-Xplained-Ultra-Board-Application-Note_04-Dec-14
Modification:
On the TM7000 display module, remove the 0R resistors R46 to R63 and solder them to positions R27 to R44.
Figure 3-2 shows the default configuration and LCD RGB signal routing (for SAMA5D3) on the TM7000 module
(LCDDATxx = LCD data bus bits from driving board; Rx/Gx/Bx = LCD RGB color bits)
Figure 3-2.
Default Configuration and LCD RGB Signal Routing on TM7000
LCDDAT17
LCDDAT16
LCDDAT15
LCDDAT14
LCDDAT13
LCDDAT12
LCDDAT11
R51
R50
R49
R48
R47
R46
R57
0
0
0
0
0
0
0
R5
R4
R3
R2
R1
R0
G5
LCDDAT10
LCDDAT9
LCDDAT8
LCDDAT7
LCDDAT6
R56
R55
R54
R53
R52
0
0
0
0
0
G4
G3
G2
G1
G0
LCDDAT5
LCDDAT4
LCDDAT3
LCDDAT2
LCDDAT1
LCDDAT0
R63
R62
R61
R60
R59
R58
0
0
0
0
0
0
B5
B4
B3
B2
B1
B0
Figure 3-3 shows the configuration and the LCD RGB signal routing (for SAMA5D4) on the TM7000 module after
modification.
Figure 3-3.
Modified Configuration and LCD RGB Signal Routing on TM7000
LCDDAT23
LCDDAT22
LCDDAT21
LCDDAT20
LCDDAT19
LCDDAT18
R32
R31
R30
R29
R28
R27
DNP
DNP
DNP
DNP
DNP
DNP
R5
R4
R3
R2
R1
R0
LCDDAT15
LCDDAT14
LCDDAT13
LCDDAT12
LCDDAT11
LCDDAT10
R38
R37
R36
R35
R34
R33
DNP
DNP
DNP
DNP
DNP
DNP
G5
G4
G3
G2
G1
G0
LCDDAT7
LCDDAT6
LCDDAT5
LCDDAT4
LCDDAT3
LCDDAT2
R44
R43
R42
R41
R40
R39
DNP
DNP
DNP
DNP
DNP
DNP
B5
B4
B3
B2
B1
B0
Using Display Module TM7000 on SAMA5D4 Xplained Ultra Board [APPLICATION NOTE]
Atmel-44019A-ATARM-Using-TM7000-on-SAMA5D4-Xplained-Ultra-Board-Application-Note_04-Dec-14
7
4.
Revision History
Table 4-1.
Using TM7000 on SAMA5D4 Xplained Ultra Board 44019 Revision History
Doc. Rev.
A
8
Changes
First issue
Using Display Module TM7000 on SAMA5D4 Xplained Ultra Board [APPLICATION NOTE]
Atmel-44019A-ATARM-Using-TM7000-on-SAMA5D4-Xplained-Ultra-Board-Application-Note_04-Dec-14
ARM Connected Logo
XXXXXX
Atmel Corporation
1600 Technology Drive, San Jose, CA 95110 USA
T: (+1)(408) 441.0311
F: (+1)(408) 436.4200
|
www.atmel.com
© 2014 Atmel Corporation. / Rev.: Atmel-44019A-ATARM-Using-TM7000-on-SAMA5D4-Xplained-Ultra-Board-Application-Note_04-Dec-14.
Atmel®, Atmel logo and combinations thereof, Enabling Unlimited Possibilities®, and others are registered trademarks or trademarks of Atmel Corporation in U.S. and
other countries. ARM®, ARM Connected® logo, and others are the registered trademarks or trademarks of ARM Ltd. Other terms and product names may be
trademarks of others.
DISCLAIMER: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right
is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE
ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT
SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES
FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this
document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information
contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended,
authorized, or warranted for use as components in applications intended to support or sustain life.
SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER: Atmel products are not designed for and will not be used in connection with any applications where
the failure of such products would reasonably be expected to result in significant personal injury or death (“Safety-Critical Applications”) without an Atmel officer's specific written
consent. Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear facilities and weapons systems.
Atmel products are not designed nor intended for use in military or aerospace applications or environments unless specifically designated by Atmel as military-grade. Atmel products are
not designed nor intended for use in automotive applications unless specifically designated by Atmel as automotive-grade.