Home

TWR-LCD-RGB User Manual - Freescale Semiconductor

image

Contents

1. the CodeWarrior Download section select the lt project_name gt _MK70FN1M0_INTERNAL_FLASH_PnE U Multilink option 8 From the C C application section select the Browse option associates with the Application field 9 Navigate to the location of the downloaded out file and select Open 10 Select Run TWR LCD RGB User s Guide Page 9 of 14 ec AM 2 freescale semiconductor Using IAR Embedded Workbench Open IAR Embedded Workbench for ARM 6 40 Create a new workspace File 5 New 5 Workspace Create a new project within blank workspace Project 5 Create New Workspace Tool chain ARM Project Template Externally built executable Save the resulting project ewp to a desired location Right click the project and select Options o General Options Under Processor variant select Device and choose Freescale 5 K70 gt Freescale MK70FN1M0xxx12 o Debugger Under the Setup tab Select the PE Micro Driver o Debugger Under the Download tab check the Use flash loader s option 7 Add the out file to the project Project gt Add Files navigate to the location of the out file and select Open make sure the File Filter is set to All Files 8 Save the resulting workspace eww to a desired location using File gt Save Workspace As 9 Flash the project using Project gt Download and Debug 10 Run the resulting application using Debug gt Go DUB WN 5 Elevator Connections The TWR LCD features two 80 pin connectors that in
2. 4 C51 LCD D5 LCD P5 BLUE Data Signal B5 X D52 LCD_D12 LCD_P12 GREEN Data Signal G4 X C52 LCD D6 LCD P6 BLUE Data Signal B6 X BLUE Data Signal B7 D53 LCD D13 LCD P13 GREEN Data Signal G5 X C53 LCD D7 LCD P7 MSB X D54 LCD_D14 LCD_P14 GREEN Data Signal G6 X C54 LCD b8 LEDLP8 lee en X TWR LCD RGB User s Guide Page 11 of 14 e e oF freescale semiconductor TWR LCD RGB Secondary Connector Used Jmp Pin Name D55 IRQ_P SPI2_CS2_b c55 LCD D9 LCD P9 GREEN Data Signal G1 D56 IRQ O SPI2 CS3 b C56 LCD D10 LCD P10 GREEN Data Signal G2 D57 IRQ N C57 LCD D11 LCD P11 GREEN Data Signal G3 D58 IRQ M C58 TMR16 D59 IRQ_L C59 TMR15 D60 IRQ_K IRQ_B X X C60 TMR14 D61 IRQ_J C61 TMR13 GREEN Data Signal G7 62 IRQI IRQ_A x X og LCD D15 LCD P15 M58 D63 LCD D18 LCD P18 RED Data Signal R2 c63 LCD D16 LCD P16 RED Data Signal RO LSB D64 LCD D19 LCD P19 RED Data Signal R3 C64 LCD D17 LCD P17 RED Data Signal R1 D65 GND Ground X C65 GND Ground EBI BE 32 24 b D66 EBI_AD20 LCD P42 C66 LCD_P28 EBI BE 23 16 b D67 EBI AD21 LCD P43 C67 LCD P29 EBI BE 15 8 b D68 EBI AD22 LCD p44 C68 LCD P30 EBI BE 70 b D69 EBI_AD23 LCD P45 C69 LCD P31 D70 EBI AD24 LCD P46 C70 EBI TSIZEO LCD P32 D71 EBI AD25 LCD P47 C71 EBI TSIZE1 LCD P33 D72 EBI AD26 LCD P48 C72 EBI TS b LCD P34 D73 EBI AD27
3. J10 shunted on pins 2 3 TWR LCD RGB User s Guide Page 6 of 14 z2 freescale semiconductor The signal specification available to interface the 4 wire resistive touch overlay directly from the MCU using GPIO capable ADC signals is as follows Table 4 TWR LCD RGB 4 Wire Resistive Overlay Analog Signals TWR SELE Description X axis right analog signal XR direct access to MCU ADC AN11 ae requires jumper J8 shunted on pins 2 3 Y axis down analog signal YD direct access to MCU ADC AN10 Say requires jumper J5 shunted on pins 2 3 X axis left analog signal XL direct access to MCU ADC AN9 pa requires jumper J3 shunted on pins 2 3 Y axis up analog signal YU direct access to MCU ADC AN8 AGA requires jumper J2 shunted on pins 2 3 3 4 4 way Navigation Pad The TWR LCD RGB features a 4 way navigation pad implemented using capacitive electrodes The touch enables electrodes are accessible only through the CRTouch Xtrinsic Touch Sensing Solution Refer to the CRTouch datasheet for details in reading the capacitive electrode states 4 Software Features This section provides more details about the software specific features and enablement of the TWR LCD RGB 4 1 Swell Software http swellsoftware com Swell Software provides Graphical User Interface GUI Solutions for Embedded Devices Swell s PEG Pro PEG and C PEG product offering includes a Graphical User Interface GUI
4. LCD P49 C73 EBI TBST b LCD P35 D74 EBI AD28 LCD P50 C74 EBI TA b LCD P36 D75 EBI AD29 LCD P51 C75 EBI CS4 b LCD P37 D76 EBI AD30 LCD P52 C76 EBI CS3 b LCD P38 D77 EBI AD31 LCD P53 C77 EBI CS2 b LCD P39 D78 LCD D20 LCD P20 RED Data Signal R4 C78 EBI CS1 b LCD P40 D79 LCD D21 LCD P21 RED Data Signal R5 C79 GPI031 LCD P41 D80 LCD D22 LCD P22 RED Data Signal R6 c80 LCD D23 LCD P23 RED Data Signal R7 MSB TWR LCD RGB User s Guide Page 12 of 14 e CA lt 4 lt freescale semiconductor 6 Jumper Table The following configuration switches provided for isolation configuration and feature selection Refer to the following table for details The default installed dip switch settings are shown in bold Table 6 TWR LCD RGB Configuration Table Jumper Option Setting Description 1 2 Use the onboard CRTouch J2 Y Selection 2 3 Routes the Y signal to the AN8 ELEV C30 Use the onboard CRTouch J3 X Selection 2 3 Routes the X signal to the AN9 ELEV C29 Use the onboard CRTouch J5 Y Selection 2 3 Routes the Y signal to the AN10 ELEV C28 Use the onboard CRTouch J8 X Selection 2 3 Routes the X signal to the AN11 ELEV C27 Uses PWM15 ELEV D37 to control the LED brightness J9 LED DIM Control 2 3 Uses GPI022 ELEV D43 to control the LED on off state CRTouch IRQ is connected to IRQ_I ELEV D62 J10 I
5. LCD features an NEC color LCD module NL4827HC19 05B which his composed of an amorphous silicon thin film transistor liquid crystal display a Si TFT LCD panel structure with driver LSIs for driving the TFT array touch panel and backlight The display panel a 4 3 a Si TFT active matrix with 16 777 216 colors 480 H x 272 V pixels 24 bit RGB 8 bit per signal 3 3 1 Timing parameters The following typical timing parameters are taken from the NL4827HC19 05B specification for complete details refer to NEC for the latest data Table 1 NEC TFT Timing Parameters Parameter Typical Value Unit Clock Frequency 10 87 MHz HSYNC Cycle 20 7 kHz HSYNC Display Period 480 CLK HSYNC Front porch 2 CLK HSYNC Pulse width 41 CLK HSYNC Back porch 2 CLK VSYNC Cycle 75 Hz VSYNC Display Period 272 CLK VSYNC Front porch 1 H VSYNC Pulse width 2 H VSYNC Back porch 1 H 3 3 2 Communication Mode The TWR LCD RGB is accessible through the 24 bit RGB interface defined on the Secondary Tower Elevator Pin out The integrated 4 wire resistive touch panel is accessible via the CRTouch using the 12C interface or optionally through the ADC signals TWR LCD RGB User s Guide Page 5 of 14 z2 freescale semiconductor The signal specification required to drive the display is as follows Table 2 TWR LCD RGB TFT Signals TWR SELE LCD D 23 16 Description 8 bit Red data sign
6. NY z2 freescale semicon ductor TWR LCD RGB User s Guide Rev 2 Freescale Semiconductor Inc Pa 7 freescale semiconductor Contents LOVEEVIEN maa 3 2 Reference DO Cue Ut iman GNG AGARANG AANGAT ANA AA 4 3 Hardware ECALUFES AABANGAN 4 3 1 Tower SYSTEM CONNECTION maa maan Ana KAKA GG AKALA KAKABIT 4 3 2 POWEF SUPPLY aha aan pme minana an Na aa ban Kalan aala aap 5 3 3 LCD Display Driver manmanan KAB ANNA NMAN AN GA BNBRUN ANG RANA 5 3 32L Miming ParaMeters Za AA NAAN KANA GALA KUNG An ANA danas 5 3 32 COMMUNICA ON MOE a AA teen anne iter ania een 5 3 3 3 Resistive Touch OVEN ay BANA a 6 3 4 4 way Navigation Pad inserer 7 4 SONWADE PEATUPES ABRA KAANAK ARAL 7 4 1 Swell Software http swellsoftware com is 7 4 2 eGUI Software http freescale com eGUI inserer 8 4 3 Loading Example Pre Compiled Applications nn 9 4 31 Setup the Tower System enosn am T sea tesa O in RA ALADIN GARA 9 4 3 2 Create a New Project for Flashing the TWR K70F120M nee 9 5 Elevator Connections ooo 10 6 Jumper Table EEE nn rnmnnananrstanannarannnunantaranantatannannanttanantaten 13 6 1 Mechanical EN ECTO ooroo a nananana nnnaanasana nananana 13 TWR LCD RGB User s Guide Page 2 of 14 z2 freescale semiconductor 1 Overview The Tower LCD RGB Module TWR LCD RGB adds a side mounting TFT WQVGA Display to the Freescale Tower System It can be used with Tower Processor Modules featur
7. RQ Selection F 2 3 CRTouch IRQ is connected to IRQ_K ELEV D64 6 1 Mechanical Form Factor The TWR LCD RGB is designed for the Freescale Tower System as a side mounting peripheral and complies with the electrical and mechanical specification as described in Freescale Tower Electromechanical Specification The TWR LCD RGB is intended for use on the secondary side only and come pre assembled to the TWR SELE 7 Revision History Revision Number site si Substantive changes 1 10 2011 Initial release 2 11 2014 Updated to correct Tower Elevator connections TWR LCD RGB User s Guide Page 13 of 14 PAg oF 7 freescale semiconductor How to Reach Us Information in this document is provided solely to enable system and software implementers to use Freescale products There are no express or implied Home Page copyright licenses granted hereunder to design or fabricate any integrated freescale com circuits based on the information in this document Freescale reserves the right to make changes without further notice to any products herein Freescale makes no warranty representation or guarantee regarding the suitability of its products for any particular purpose nor does Freescale assume any liability arising out of the application or use of any product or circuit and specifically disclaims any and all liability including without limitation consequential or incidental damages Typical parameters that may be prov
8. al LCD D 23 16 5 R 7 0 LCD D 15 8 8 bit Green data signal LCD D 15 8 gt G 7 0 LCD D 7 0 LCD HSYNC 8 bit Blue data signal LCD D 7 0 gt B 7 0 Horizontal Sync Signal LCD VSYNC Vertical Sync Signal LCD CLK LCD DE Clock Data Enable GPI022 Backlight Enable Signal ON OFF signal requires jumper J9 shunted on pins 2 3 PWM15 Backlight Dimming Control signal requires jumper J9 shunted on pins 1 2 Either GPIO22 or PWM15 must be appropriately driven 3 3 3 Resistive Touch Overlay The TWR LCD RGB display features an integrated analog resistive touch panel The panel can be access by either the on board CRTouch Xtrinsic Touch Sensing Solution or a compatible Tower MCU module The CRTouch is the preferred interface allowing the most compatibility within the Freescale Tower System The CRTouch features gesture detection such as slide two point zoom and two point rotate The signal specification available to interface the 4 wire resistive touch overlay using the on board CRTouch Xtrinsic Touch Sensing Solution is as follows Table 3 TWR LCD RGB 4 Wire Resistive Overlay Digital Signals TWR SELE Description SDA2 12C SDA signal from the CRTouch SCL2 12C SCL signal from the CRTouch IRQ Optional Touch Pending Interrupt from CRTouch Requires jumper J10 shunted on pins 1 2 IRQ_M Optional Touch Pending Interrupt from CRTouch Requires jumper
9. eescale com peg e http swellsoftware com 3 Hardware Features This section provides more details about the hardware specific features and functionality of the TWR LCD RGB 3 1 Tower System connection The TWR LCD RGB is designed to interface with the secondary side of the Freescale Tower System The TWR LCD RGB comes pre attached to an additional TWR SELE Secondary Elevator The LCD module can be detached from the included TWR SELE but it is recommended that the modules remain attached to avoid any damage to the LCD glass when attempting to reconnect the modules For Tower System assemblies that require use of the TWR LCD RGB use the included pre assembled TWR LCD RGB TWR SELE TWR LCD RGB User s Guide Page 4 of 14 Pg oF 7 freescale semiconductor 3 2 Power Supply The TWR LCD RGB is designed to be powered via the Tower System and does not require a direct power source The Freescale Tower System is capable of being powered directly over USB using the TWR ELEV the Processor Module or specific peripheral modules Depending on the number of modules in the Tower System and the amount of power required for each module it may be required to use a power source that can supply more than 500mA Up to 2A may be required depending on the Tower System configuration This can be accomplished by either a USB wall adapter or a 5V power supply attached to the screw terminal of the TWR ELEV 3 3 LCD Display Driver The TWR
10. ided in Freescale data sheets and or specifications can and do vary in different applications and actual performance may vary over time All operating parameters including typicals must be validated for each customer application by customer s technical experts Freescale does not convey any license under its patent rights nor the rights of others Freescale sells products pursuant to standard terms and conditions of sale which can be found at the following address freescale com SalesTermsandConditions Web Support freescale com support Freescale the Freescale logo and Kinetis are trademarks of Freescale Semiconductor Inc Reg U S Pat 4 Tm Off Xtrinsic is the trademark of Freescale Semiconductor Inc All other product or service names are the property of their respective owners The ARM Powered Logo is a trademark of ARM Limited ARMnnn is the trademark of ARM limited 2014 Freescale Semiconductor Inc TWR LCD RGB User s Guide Page 14 of 14
11. ing an RGB interfacing LCD Controller The TWR LCD RGB features a 4 3 WQVGA TFT LCD Display with touch sensitive overlay The LCD interfaces to the Tower System through a 24 bit RGB interface The 4 wire resistive touch overlay can interface directly with a compatible Tower Processor Module using GPIO enabled ADC lines or can offload the resistive touch sensing to the on board Xtrinsic Touch Sensing Platform CRTouch 24 bit RGB HSYNC VSYNC CLK 4 3 WQVGA 480x272 24 bit TFT LCD aa w Resistive Touch Overlay 5 ai c e Ore DO sa Ka ul 9 Sh a o D ea E O E 8 0 yt y z Resistive Touch Analog 4x te Jumpers gt ale 3 i F co Va PC CRTOUCH ReadyPlay Solution Capacitive Touch Pads Figure 1 TWR LCD RGB Block Diagram TWR LCD RGB User s Guide Page 3 of 14 e a oF 7 freescale semiconductor Figure 2 Tower System with TWR LCD RGB 2 Reference Material The documents listed below should be referenced for more information on the Freescale Tower system and the TWR LCD RGB Refer to http www freescale com tower for the latest revision of all Tower documentation e TWR LCD RGB Schematics e TWR LCD RGB Quick Start Guide e Example Binary Application featuring Swell Software For additional software applications supporting the TWR LCD RGB refer to e http freescale com eGUI e http fr
12. library for embedded development that works tightly with real time operating systems The development tool allows developers to layout user interface screens and controls using the PEG library and external resources to generate C C code The PEG WindowBuilder automatically generates C source code that is ready to be compiled and linked into any application further accelerating the deployment of the final product The TWR LCD RGB is supported in PEG Pro and PEG versions of the Swell Software GUI development suite Official support is included PEG v2 3 13 and later Screen drivers featuring the TWR LCD RGB are included for the following Tower Controller Modules e TWR K70F120M e TWR PXD10 e TWR PXD20 e TWR VF65GS10 TWR LCD RGB User s Guide Page 7 of 14 cA lt 4 2 freescale semiconductor Selection of the TWR LCD RGB specific pre defined Screen Driver is done using the Screen Driver Configuration panel within the Swell Window Builder application The use of the CRTouch is specified using the appropriate pre defined Touch Screen driver from the Input Output Configuration panel within the Swell Window Builder application Desktop Screen Driver Input Devices Size Windows True Color Alpha x M Touch Screen Eee HRes 480 Pre defined Freescale TWAK7O with TWR LCD AGB x None 90Degees 270 Degrees VRes 272 Custom Freescale TWAK70 with TWRLCDAGE a Ol erie Free
13. p D14 ETH TXCLK C14 ETH MDIO D15 ETH TXEN C15 ETH RXCLK D16 GP1018 C16 ETH RXDV D17 GP1019 SDHC D4 C17 GP1027 SDHC DE D18 GP1020 SDHC D5 C18 GP1028 SDHC D7 D19 ETH TXD1 C19 ETH RXD1 D20 ETH TXDO C20 ETH RXDO ULPI DATAO D21 ULPI NEXT USB1 DM C21 UsSB3 DM ULPI DATA1 D22 ULPI DIR USB1 DP C22 USB3 DP ULPI DATA2 D23 UPLI DATAS USB2 DM C23 USB4 DM ULPI DATA3 D24 ULPI_DATA6 USB2 DP C24 USB4 DP D25 ULPI DATA7 C25 ULPI DATA4 D26 GND Ground X C26 GND Ground X D27 LCD_HSYNC LCD_P24 RGB_Hsync C27 AN11 Resistive Touch XR X X D28 LCD_VSYNC LCD_P25 RGB_Vsync X C28 AN10 Resistive Touch YD X X D29 AN13 C29 AN9 Resistive Touch XL X X D30 AN12 C30 AN8 Resistive Touch YU X X D31 GND Ground X C31 GND Ground X D32 LCD_CLK LCD P26 RGB_CLK X C32 GPIO29 D33 TMR11 C33 TMR9 D34 TMR10 C34 TMR8 D35 GPIO21 c35 GPIO30 D36 3 3V 3 3V Power X C36 3 3V 3 3V Power X D37 PWM15 LED PWM X X C37 PWM11 D38 PWM14 C38 PWM10 D39 PWM13 C39 PWM9 D40 PWM12 C40 PWM8 D41 CANRX1 C41 RXD2 TSIO D42 CANTX1 C42 TXD2 TSI1 D43 GP1022 Backlight LCD ENABLE X X c43 RTS2 TSI2 D44 LCD_OE LCD_P27 RGB_DE X C44 CTS2 TSI3 D45 LCD DO LCD PO BLUE Data Signal BO LSB X C45 RXD3 TSI4 D46 LCD D1 LCD P1 BLUE Data Signal B1 X C46 TXD3 TSI5 D47 LCD D2 LCD P2 BLUE Data Signal B2 X C47 RTS3 TSI6 D48 LCD D3 LCD P3 BLUE Data Signal B3 X C48 CTS3 TSI7 D49 GND Ground X C49 GND Ground X D50 GPI023 C50 LCD D4 LCD P4 BLUE Data Signal B4 X D51 GPIO2
14. reescale semiconductor 4 3 Loading Example Pre Compiled Applications Several example applications are posted on the TWR LCD RGB webpage The section below provides details regarding loading these applications on to the Tower System These specific instructions detail flashing an example application on the TWR K70F120M with the TWR LCD RGB 4 3 1 Setup the Tower System Install the Tower System with the following Tower System modules e TWR ELEV Primary Elevator e Preassembled TWR LCD RGB TWR SELE Secondary Elevator e TWR K70F120M e TWR SER Attach the miniUSB connector between the TWR K70F120M and the host PC This will enable programming the TWR K70F120M over the Open Source JTAG interface Be aware that the example projects include a large amount of graphical assets that are compiled directly into the application This results in a fairly large flash file Using the Open Source JTAG interface can result in approximately a 5 minute flash process 4 3 2 Create a New Project for Flashing the TWR K70F120M Using CodeWarrior for MCU version 10 x 1 Open CodeWarrior for MCU v10 x 2 If required specify the desired workspace 3 Create a new project File gt New gt Bareboard Project 4 Project a Project name select Next 5 Select the following device Kinetis gt K70 Family gt K70 120 MHz Family gt MK70FN1MO select Finish 6 Right click the newly created project and select Run gt Run Configuration 7 From
15. scale TWRMCF5225x with TWR LCD C r Target Environment Freescale MPC5645 Customer EYB Pre defined Freescale TWRK70 with TWR LCD RGB 7 E Mouse Pointing Freescale MPC5606 Customer EYB x Freescale TWRK70 with TWR LCD RGB Bo een Arrow Key Support Tab Key Support Custom Figure 3 Window Builder Configuration Example projects are included with the installation of PEG Pro and PEG Additionally example pre compiled applications are available for download at from the TWR LCD RGB webpage located on http freescale com tower 4 2 eGUI Software http freescale com eGUI The complimentary Freescale embedded graphical user interface eGUI allows single chip microcontroller MCU systems to implement a graphical user interface and drive the latest generation of color graphics LCD panels with integrated display RAM and simple serial peripheral interface SPI or parallel bus interface The TWR LCD RGB is officially supported in eGUI 3 0 and later releases Selection of a low level driver that utilizes the TWR LCD RGB is done through the d4d_user_cfg h header file included with the installation of eGUI As an reference example below are the defines required to support the TWR K70F120M with the TWR LCD RGB taei ne DAD Tibi ED d4ddicd frame buffer define DAD IID LCD HW dddicdhw k70 1lcde define D4D LLD TCH Here euch TWR LCD RGB User s Guide Page 8 of 14 a oF 7 f
16. terface to the Side Expansion Ports on the Secondary Elevator board in a Tower System The Secondary Elevator Side Expansion Port connectors comprised of sides C and D are utilized by the TWR LCD RGB The table below provides the pinout for the Secondary Elevator Connector An X in the Used column indicated that there is a connection from the TWR LCD RGB to that pin on the Elevator connector An X in the Jmp column indicates that a jumper is available that can configure or isolate the connection from the Elevator connector Table 5 TWR LCD RGB Secondary Elevator Expansion Pinout TWR LCD RGB Secondary Connector Used Jmp Pin Name Used Jmp D1 5V 5 0V Power X C1 5V 5 0V Power X D2 GND Ground X C2 GND Ground X D3 3 3V 3 3V Power X C3 3 3V 3 3V Power X D4 ELE PS SENSE Elevator Power Sense C4 3 3V 3 3V Power X D5 GND Ground X C5 GND Ground X D6 GND Ground X C6 GND Ground X D7 SPI2 CLK C7 SCL2 CRTOUCH SCL X D8 SPI2 CS1 b C8 SDA2 CRTOUCH SDA X D9 SPI2 CSO b C9 GPIO25 RESET_IN_B X X D10 SPI2 MOSI C10 ULPI STOP D11 SPI2 MISO C11 C11 E D12 ETH COL C12 GPI026 D13 ETH RXER C13 ETH MDC TWR LCD RGB User s Guide Page 10 of 14 e r 7 freescale semiconductor TWR LCD RGB Secondary Connector Used Jmp Pin Name Used Jm

Download Pdf Manuals

image

Related Search

Related Contents

HiPath 3000 HiPath 5000 RSM optiPoint 500 economy  Manual de Usuario  AP20500-3M - UK User Manual  owner`s MAnUAL  Panasonic DMC-LX2  “Queue Application”  FS-SD1000R  Kensington Contour Roller  CBC050 - Micross  iStarUSA DAGE409U20T5-PM disk array  

Copyright © All rights reserved.
Failed to retrieve file