Motorola M68EZ328ADS Touch Panel Interface, Signal Assignment for Touch Panel Controller

Page 25

Freescale Semiconductor, Inc.

Hardware Description and Board Operation

For full description of the LCD signals, please refer to the MC68EZ328 User’s Manual.

3.9.2 Touch Panel Interface

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

Inc.

INC. 2005

MC68EZ328

PB6

IRQ5

SPMCLK

SPMTXD

SPMRXD

Touch Panel

VCC

ADS7843

S1-5

CS

S1-4

PENIRQ

DCLK

DIN

DOUT

TOP

RIGHT LEFT

BOTTOM

Freescale Semiconductor,

ARCHIVED BY FREESCALE SEMICONDUCTOR,

Figure 3-9. Touch Panel Controller Interface

The M68EZ328ADS board is equipped with Burr-Brown Touch Panel Controller ADS7843. Figure 3-9shows the interface of Touch Panel Controller. Totally one I/O signal, one inter- rupt capable I/O signal and one set of SPIM signals from MC68EZ328 are used to imple- ment the touch panel circuitry. All of these signals can be shared for other devices when touch panel interface controller is being disabled. The on-board touch panel controller can be disabled by turning both DIP switches S1-4, S1-5 off.

Table 3-6. Signal Assignment for Touch Panel Controller

Signals

Function

 

This set of serial port interface signals performs data transfer with

SPMRXD, SPMTXD, SPMCLK

ADS7843. For detailed operation on the SPI port, please refer to the

 

MC68EZ328 User’s Manual.

 

 

~IRQ5

This signal is a MC68EZ328 interrupt capable I/O pin.

 

 

PB6

This MC68EZ328 general I/O signal is used to select the ADS7843 on data

transfer.

 

 

 

The ADS7843 is a 12-bit sampling analog-to-digital converter (ADC) with a synchronous serial interface and low on-resistance switches for touch screens. The ADS7843 communi- cates with MC68EZ328 through SPI (Serial Peripheral Interface). In this case, ADS7843 is a slave, and MC68EZ328 is a master. For the detailed operation of ADS7843, please refer to its datasheet. The datasheet is available at the following web site.

http://www.burr-brown.com

For more details on the operation of resistive touch panel, please refer to Appendix B .

MOTOROLAM68EZ328ADS v2.0 USER’S MANUAL3-24

For More Information On This Product,

Go to: www.freescale.com

Image 25
Contents Preliminary Freescale Semiconductor, IncTable of Contents Comparison of M68EZ328ADS Version 1.x Appendix aResistive Touch Panel Operation Programming On-board Flash MemoryIii M68EZ328ADS v2.0 USER’S Manual List of Illustrations List of Tables Section General Information FeaturesIntroduction Technical Support 1.4.1 M68EZ328ADS Related DocumentationDebugger Installation Procedure Section Quick Installation GuideOverview Equipments RequiredM68EZ328ADS v2.0 Key Component Layout DIP Switch Options for SDS monitor Default DIP Switch Options for Metrowerks monitorInstalling software debugger Connecting M68EZ328ADS v2.0 to PCMetrowerks 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 Section Hardware Description and Board Operation M68EZ328ADS v2.0 Functional Block DiagramDIP Switches Control SwitchesDIP Switch pack S1 Setting DIP Switch pack S2 SettingOperation Mode Setting LED IndicatorsFunction of LED Indicators Operation ModesMemory M68VZ328ADS v2.0 Default Memory MapMemory Map Flash MemoryInterface of EMU ROM EMU ROM MC68EZ328 CSD1 EDO DramMC68VZ328 Uart and IrdaLCD Interface LCD and Touch Panel InterfaceTouch Panel Interface Signal Assignment for Touch Panel ControllerSingle Tone Generator Expansion ConnectorsLogic Analyzer Interface Pin Assignments of P4 Power SupplyGND VEE Appendix a Comparison of M68EZ328ADS Version 1.X Table A-2. Software Change for using M68EZ328ADSHardware SoftwareFreescale Semiconductor, Inc General Concepts of Resistive Panels Appendix B Resistive Touch Panel OperationDetermination of X,Y Position Elements for Programming the Flash Appendix C Programming ON-BOARD Flash MemoryOffset Address of ROM Image MethodExecuting Program Command Sequence Error Program EnablePolling NOW EchoVerifiy ProgramNOV Echo Finish TxdrdyError Echo BootstrapEND Figure C-2. Flash Program Algorithm Freescale Semiconductor, Inc Appendix D Monitor Initialization Code Initialization Code of Metrowerks Monitor RESET.SMonitor Initialization Code Freescale Semiconductor, Inc Lxmax Reset OptionsLymax Lcxp#MONSTACKTOP,A7 #$9,PGSEL#0,RTCWD #$08,ICEMCRInitialization Code of SDS Monitor MONITOR.H Equ M328BASE+$150 PWM RegistersARCHIVED by Freescale SEMICONDUCTOR, INC Device Options Addressing OptionsBasein BaseoutIrqmask AcrvalInterrupt Behavior Options StoplevelResethard Usrreset#$7,ICEMSR Monstacktop#0,PCSEL #$0000,GRPBASED#0,PCPDEN BASEIN+OFF7 BASEIN+OFF6ACR Other DefinitionsEndmARCHIVED by Freescale SEMICONDUCTOR, INC Freescale Semiconductor, Inc M68EZ328ADS Appendix E SchematicsM68EZ328ADS By Freescale SEMICONDUCTOR, INC Memory LCD Screen IncUart Ports FreescaleIrDA Reset Circuit Misc Logic Analyzer Connectors Test pin & VME connector