Home

Atmel AVR1909 User's Manual

image

Contents

1. AVR1909 Display Xplained Hardware User s ci AIMEL aay O Features e 240 x 320 QVGA graphical TFT display With resistive touch LED Backlight Internal controller e Simple SPI interface for control Digital PWM control interface for backlight One 40pin 0 5mm FPC connector Application Note e Display and backlight powered by single 3 3V 8 bit AMR Microcontrollers 1 Introduction The Display Xplained module gives the possibility to evaluate a 240 x 320 pixel QVGA graphical RGB TFT display with a 4 wire touch interface and LED backlight The display is interfaced with a simple SPI interface to send and receive commands and data The Xplain kit provides tested low level drivers and high level functions in order to get the developer quickly up to speed with his application development Figure 1 1 Display Xplained evaluation module Display Xplained Rev 8297A AVR 04 10 2 Related Items 3 General information 2 AVR1909 AMEL Datasheet for the LCD module ET024006DHU from EDT can be found here http www farnell com datasheets 86386 pdf Datasheet for the graphical controller HX8347 A from Himax can be obtained by contacting EDT It may also found on the web Firmware for Xplain kit can be found here http www atmel com Xplain Also checkout these application note e AVR1913 Display Xplained Firmware Getting Started training e AVR1921 Reprogramming th
2. Quentin en Yvelines Cedex France Atmel Japan 9F Tonetsu Shinkawa Bldg 1 24 8 Shinkawa Chuo ku Tokyo 104 0033 Japan Tel 81 3 3523 3551 Fax 81 3 3523 7581 Fax 852 2722 1369 Tel 33 1 30 60 70 00 Fax 33 1 30 60 71 11 Product Contact Web Site http www atmel com Sales Contact www atmel com contacts Technical Support avr atmel com Literature Request www atmel com literature 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 ATMEL S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL S WEB SITE 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 OF 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 conten
3. the USART in master SPI mode To switch to the regular SPI mode move the two resistors mounted in position R111 R114 to position R112 R113 See schematic diagram and PCB assembly drawing for details on where to find these resistors Note that they are placed under the LCD flexprint cable so this needs to be disconnected from the FPC connector to get access to the resistors Please refer to Figure 2 1 page 2 3 6 The LCD Tear Enable signal TE 3 7 The LCD Reset signal 4 Connectors The LCD Module has an output signal that indicates when the display can be updated without getting any tearing effects This signal basically indicates the scan retrace period of the display meaning the time period after the last pixel update and before the first pixel is written again This period can be used to update the graphical RAM and the update will be shown in the next scan period For further details see the Himax HX8347 A datasheet and application notes This signal is an input to the LCD module and is used to reset it It has a pull up resistor connected to avoid unintended resets For further details see the Himax HX8347 A datasheet and application notes The Display Xplained module has five 10 pin 100mil headers Two are used for programming debugging interface to the Xplain kit One is used for SPI interface and the backlight control of the LCD module One is used for the touch interface to the LCD module The last one is only used as a mechan
4. ails 4 2 The resistive touch pin header J101 This connector connects the resistive touch interface to AVR XMEGA s analog PORTA that is available on the XMEGA PORT A pin header on the Xplain board J101 This allows the user to connect external signals to the ADC DAC and Analog Comparators on PORTA Please see Table 4 2 below for pin out description Table 4 2 The resistive touch pin header J101 connections oti CO C SS i mma ooo S mo ooo e 8297A AVR 04 10 AMEL 4 3 The SPI TE Reset backlight pin header J102 This connector connects to the display s SPI interface and backlight to the AVR XMEGA s digital PORTD that is available on the AVR XMEGA PORT D pin header on the Xplain board J102 Please see Table 4 3 page below for pin out description Table 4 3 The SPI TE Reset backlight pin header J102 J102 pin LCD SPI interface signals backlight J102 1 TFT_BL_PWM J102 2 TFT_RESET TFT_TE Tear Enable signal to synchronize write TFT _SCL_X Can be swapped with J102 8 J102 7 TFT_SDO J102 8 TFT _SDI_X Can be swapped with J102 6 ND J102 10 V3P3 4 4 The unused pin header J105 This connector is not used for electrical connection on the Display Xplained module It is only used as mechanical stabilizing to the Xplain kit 4 5 The LCD connector J100 The LCD connector is a 40 pin FPC connector with 0 5mm pitch For details on signal oower connections see the schema
5. current consumption a little to increase the overall power performance For more details on how to use 4 wire resistive touch sensors see the application note AVR341 Four and five wire Touch screen Controller using tinyAVR and megaAVR devices The backlight module of the display consists of three white LEDs connected in parallel These can draw up to 60mA and have a maximum voltage drop up to 3 6V On the Display Xplained module the backlight is connected to the V3P3 3 3V power supply This will somewhat limit the maximum light output in change of a simpler design A MOSFET turns the backlight LEDs on off and a 4 7ohm resistor limits the maximum current through the LEDs This makes it quite easy to control the backlight with a PWM signal to adjust intensity AMEL 3 3 4 The SPI interface AMEL The Display Xplained module uses a simple SPI interface to communicate with the LCD module This consist of a Chip Select CS line a clock line SCL and two data lines SDI SDO The SPI is operated in mode 3 i e inactive clock is high and data is latched on rising clock edge 3 5 The SPI USART MUX resistors The ATxmegai28A1 has swapped the MOSI and SCK signals between using the regular SPI and using the USART in master SPI mode which is available on the same pins In order to offer the possibility to use both interfaces a simple 0 ohm resistor mux is added to the Display Xplained module It is currently set up to use
6. d same electronics and optical specification The LCD module embeds a graphical controller driver from Himax called HX8347 A This controller provides several communication interfaces like 8 16bit parallel MCU interface 16 18bit RGB and 4 wire serial SPI interface On the Display Xplained module this has been hardwired to use serial SPI interface The display is attached to the PCB with a strong dual sided foam tape adhesive that make it easy to mount This will electrically insulate the display from the PCB avoiding any short circuit problems that may be caused by vibration wearing on the solder mask and tracks vias It will also provide some vibration damping for the display to protect the glass surface from cracking It is also quite easy to remove the display if needed The LCD module has a 4 wire resistive touch interface This consists of four lines 2 in each X and Y direction that should be connected to ADC IO pins on the MCU interfacing it The general procedure is to apply a voltage VCC for instance on the X lines and then measure the voltage on the Y lines Then the operation is repeated but switching the X and Y lines This will give a X Y coordinate for the touch In order to avoid over driving saturate the ADC inputs serial resistors have been added so the maximum voltage is within the ADC capability This is a very simple and low cost solution to adjust the touch sensor output to fit the ADC inputs It will also lower the
7. e Xplain AT90USB1287 and ATxmega128A1 e AVR1922 Xplain Board Controller Firmware The LCD module ETO024006DHU from EDT has a 240 x 320 pixel resolution with up to 6 bit pr color giving 256k colors The Display Xplained board uses a regular 4 wire SPI interface to access the display The touch interface is a 4 wire resistive touch that should be interfaced to ADC IO pins to work The backlight system has three white LEDs in parallel that can draw up to 60mA at 3 3V For further details see the datasheet from EDT Figure 3 1 Overview of the Xplain kit backside JTAG amp PDI JTAG amp PDI Interface External a D c ie is ie E s b t L L A SPIIUSART MUX ee FPC connector SPI amp BL Interface TOUCH Interface 8297A AVR 04 10 3 1 The LCD Module 3 2 The Touch module 3 3 The Backlight module 8297A AVR 04 10 AVR1909 The Display Xplained module is quite simple It basically connects the TFT display SPI interface resistive touch interface and backlight interface from a 40pin FPC connector to two female pin headers that fit the Xplain kit In addition it has a program debug interface that will connect an external programmer debugger to the Xplain kit through a male and a female pin header The LCD module is produced by EDT Emerging Display Technologies Corp and is called ETO24006DHU It will be replaced with a new version called ETO24008DHU in mid 2010 that have the same outline dimension an
8. ical stabilizer to the Xplain kit Note that the female SMD mounted pin headers might get damaged if not handled carefully The plastic insulation might come off and exposes the conductors The last connector on the Display Xplained module is the FPC connector for the LCD module 4 1 Programming headers J103 J104 4 AVR1909 The AVR XMEGA can be programmed and debugged by connecting an external programming debugging tool to the JTAG amp PDI XMEGA pin header J100 The pin header is having a standard JTAG programmer pinout refer to online help in AVR Studio and tools like the JTAGICE mkll or the AVR ONE can thus be connected 8297A AVR 04 10 AVR1909 directly to the header If it is desired to use PDI programming debugging an adapter or squid cable included in the JTAGICE mkll kit must be used Please see Table 4 1 below for pin out description Table 4 1 amici eal headers J103 J104 JTAG and PDI momon e o momo fmo O ooo mowoas Sd momoa oo eorom mwas Cid Notes 1 Standard pin out for JTAGICE mkll and other Atmel programming tools 2 Requires adapter or squid cable to connect a JTAGICE mkll refer to AVR Studio help 3 It is only required to connect one V3P3 GND pin The AT90USB1287 can be programmed by connecting a programming tool such as a JTAGICE mkli to the JTAG USB pin header J200 on the Xplain board Please refer to AVR1907 Xplain Hardware User s Guide for det
9. tic diagram for the Display Xplained module 5 Available code examples and drivers A Getting Started training for the Display Xplained kit can be downloaded from the Atmel web site The application note is called AVR1913 Display Xplained Firmware Getting Started training Further information and drivers for Display Xplained can be downloaded as application notes also distributed from Atmel s web site 6 Mounting Display Xplained module to Xplain kit 6 AVR1909 The Display Xplained module will fit onto the expansion connectors on the Xplain kit Be careful to rotate the Display Xplained module correctly to the Xplain kit The text direction should be the same on both when rotated correctly Also be careful to align the connectors to avoid wrong signal power connections that might cause damage to the boards Also be careful when the Display Xplained module is removed to avoid bending pins Don t use any hard tools that might cause damage to the boards Pay attention to EMC guidelines and proper handling precautions to avoid ESD damage to the boards 8297A AVR 04 10 Headquarters Atmel Corporation 2325 Orchard Parkway San Jose CA 95131 USA Tel 1 408 441 0311 Fax 1 408 487 2600 International Atmel Asia Unit 1 5 amp 16 19 F BEA Tower Millennium City 5 418 Kwun Tong Road Kwun Tong Kowloon Hong Kong Tel 852 2245 6100 Atmel Europe Le Krebs 8 Rue Jean Pierre Timbaud BP 309 78054 Saint
10. ts of this document and reserves the right to make changes to specifications and product 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 s products are not intended authorized or warranted for use as components in applications intended to support or sustain life 2010 Atmel Corporation All rights reserved Atmel Atmel logo and combinations thereof AVR AVR logo AVR Studio tinyAVR megaAVR and others are the registered trademarks XMEGA and others are trademarks of Atmel Corporation or its subsidiaries Other terms and product names may be trademarks of others 8297A AVR 04 10

Download Pdf Manuals

image

Related Search

Related Contents

IP CAMERA  Orient Technologies BTP-M280B  SAExC 16.1 SARExC 07.1 – SARExC 16.1 Con unità di  Analyse de la tenue sismique des grands réservoirs[...]  iOS版 ALA COACH+ 取扱説明書  User Manual  Programme 2010 destiné aux assistants sociaux des CPAS proposé  

Copyright © All rights reserved.
Failed to retrieve file