Motorola M68EZ328ADS user manual LCD and Touch Panel Interface, LCD Interface

Page 24

Freescale Semiconductor, Inc.

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

Freescale Semiconductor, Inc.

Hardware Description and Board Operation

3.8 DEBUG PORT

 

 

 

 

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

 

 

 

ST16C2552A

 

 

EMUCS

OR

 

 

 

A16

Gate

CS

 

 

 

 

 

 

MC68EZ328

 

 

RS232 Transceiver

P8

 

 

TXD

 

 

 

 

 

 

 

 

 

RXD

 

UART

OE

 

CTS

 

 

OE

 

 

WE

 

RTS

EN

 

 

WE

 

A[0..2]

 

A[0..2]

 

 

 

 

 

 

D[8..15]

 

D[8..15]

 

 

Figure 3-7. Debug Port Interface

As shown in Figure 3-7,an external UART chip ST16C2552A is used to provide one more debug port on the ADS board. This UART chip is connected with the DB9 connector P8. Its pin assignment is shown in Figure 3-6.The baud rate of this UART chip is defaulted to 115200bps.

3.9 LCD AND TOUCH PANEL INTERFACE

3.9.1 LCD Interface

M68EZ328ADS consists of one LCD panel connector, P10. P10 is designed for 4-bit LCD panel. The pin assignments of the LCD connector is shown in Figure 3-8.

 

P10

 

LACD

1

2

LFRM

LLP

3

4

LCLK

VO

5

6

VCC

GND

7

8

VEE

LD0

9

10

LD1

LD2

11

12

LD3

GND

13

14

LCONTRAST

PB1

15

16

NC

TOP

17

18

BOTTOM

LEFT

19

20

RIGHT

Figure 3-8. LCD and Touch Panel Connector Pin Assignment

3-23M68EZ328ADS v2.0 USER’S MANUALMOTOROLA

For More Information On This Product,

Go to: www.freescale.com

Image 24
Contents Freescale Semiconductor, Inc PreliminaryTable of Contents Appendix a Comparison of M68EZ328ADS Version 1.xResistive Touch Panel Operation Programming On-board Flash MemoryIii M68EZ328ADS v2.0 USER’S Manual List of Illustrations List of Tables Features Section General InformationIntroduction Related Documentation Technical Support 1.4.1 M68EZ328ADSDebugger Section Quick Installation Guide Installation ProcedureOverview Equipments RequiredM68EZ328ADS v2.0 Key Component Layout Default DIP Switch Options for Metrowerks monitor DIP Switch Options for SDS monitorConnecting M68EZ328ADS v2.0 to PC Installing software debuggerMetrowerks Codewarrior Select ADS68EZ328 Stationery for new project Change the connection settings in the Debug Settings Windows Debug Pop-Up Window of SDS Connection Setting inside Debug Pop-up Window of SDS M68EZ328ADS v2.0 Functional Block Diagram Section Hardware Description and Board OperationControl Switches DIP SwitchesDIP Switch pack S1 Setting DIP Switch pack S2 SettingLED Indicators Operation Mode SettingFunction of LED Indicators Operation ModesM68VZ328ADS v2.0 Default Memory Map MemoryMemory Map Flash MemoryEMU ROM Interface of EMU ROMEDO Dram MC68EZ328 CSD1Uart and Irda MC68VZ328LCD and Touch Panel Interface LCD InterfaceSignal Assignment for Touch Panel Controller Touch Panel InterfaceExpansion Connectors Single Tone GeneratorLogic Analyzer Interface Power Supply Pin Assignments of P4GND VEE Table A-2. Software Change for using M68EZ328ADS Appendix a Comparison of M68EZ328ADS Version 1.XHardware SoftwareFreescale Semiconductor, Inc Appendix B Resistive Touch Panel Operation General Concepts of Resistive PanelsDetermination of X,Y Position Appendix C Programming ON-BOARD Flash Memory Elements for Programming the FlashMethod Offset Address of ROM ImageExecuting Program Command Sequence Program Enable ErrorPolling NOW EchoProgram VerifiyNOV Echo Finish TxdrdyBootstrap Error EchoEND Figure C-2. Flash Program Algorithm Freescale Semiconductor, Inc Initialization Code of Metrowerks Monitor RESET.S Appendix D Monitor Initialization CodeMonitor Initialization Code Freescale Semiconductor, Inc Reset Options LxmaxLymax Lcxp#$9,PGSEL #MONSTACKTOP,A7#0,RTCWD #$08,ICEMCRInitialization Code of SDS Monitor MONITOR.H Equ M328BASE+$150 PWM RegistersARCHIVED by Freescale SEMICONDUCTOR, INC Addressing Options Device OptionsBasein BaseoutAcrval IrqmaskInterrupt Behavior Options StoplevelUsrreset Resethard#$7,ICEMSR Monstacktop#$0000,GRPBASED #0,PCSEL#0,PCPDEN BASEIN+OFF6 BASEIN+OFF7ACR Other DefinitionsEndmARCHIVED by Freescale SEMICONDUCTOR, INC Freescale Semiconductor, Inc Appendix E Schematics M68EZ328ADSM68EZ328ADS By Freescale SEMICONDUCTOR, INC Memory Inc LCD ScreenFreescale Uart PortsIrDA Reset Circuit Misc Logic Analyzer Connectors Test pin & VME connector