Motorola M68EZ328ADS user manual Uart and Irda, MC68VZ328

Page 23

Freescale Semiconductor, Inc.

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

Freescale Semiconductor, Inc.

Hardware Description and Board Operation

3.7 UART AND IRDA

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

MC68VZ328

 

 

 

RS232 Transceiver

VCC

 

 

P9

TXD

 

 

RXD

 

UART

RTS

 

CTS

EN

 

 

 

 

VCC

S1-1

 

Buffer

IRDA

 

 

GND

 

EN

 

 

S1-2

 

PD4

EN

 

 

 

Figure 3-5. UART and IRDA Interface.

Figure 3-5shows the UART and IRDA module. The M68EZ328ADS v2.0 has one RS232 serial ports P9. P9 is using the UART of MC68EZ328. It is 9-pin female D-Type connectors containing the signals as shown in Figure 3-6.The transceivers for UART can be enabled by turning the DIP switch S1-1 on.

NC

1

6

 

NC

 

TXD

2

 

7

 

 

 

RXD

3

 

CTS

 

8

 

 

 

NC

4

 

RTS

9

 

NC

GND

5

 

 

 

 

 

 

 

 

 

 

 

Figure 3-6. Serial Port Pin Assignment

The IrDA transceiver is provided and connected to DragonBall’s UART Port only with a buffer in between for controlling its ON/OFF. If IrDA is being used, S1-1 should be switched OFF and S1-2 should be switched ON. Then, the enable/disable of IRDA is totally controlled by software through PD4 (Port D4).

MOTOROLAM68EZ328ADS v2.0 USER’S MANUAL3-22

For More Information On This Product,

Go to: www.freescale.com

Image 23
Contents Preliminary Freescale Semiconductor, IncTable of Contents Programming On-board Flash Memory Appendix aComparison of M68EZ328ADS Version 1.x Resistive Touch Panel OperationIii M68EZ328ADS v2.0 USER’S Manual List of Illustrations List of Tables Introduction FeaturesSection General Information Debugger Related DocumentationTechnical Support 1.4.1 M68EZ328ADS Equipments Required Section Quick Installation GuideInstallation Procedure OverviewM68EZ328ADS v2.0 Key Component Layout DIP Switch Options for SDS monitor Default DIP Switch Options for Metrowerks monitorMetrowerks Codewarrior Connecting M68EZ328ADS v2.0 to PCInstalling software debugger 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 Switch pack S2 Setting Control SwitchesDIP Switches DIP Switch pack S1 SettingOperation Modes LED IndicatorsOperation Mode Setting Function of LED IndicatorsFlash Memory M68VZ328ADS v2.0 Default Memory MapMemory Memory MapInterface of EMU ROM EMU ROMMC68EZ328 CSD1 EDO DramMC68VZ328 Uart and IrdaLCD Interface LCD and Touch Panel InterfaceTouch Panel Interface Signal Assignment for Touch Panel ControllerLogic Analyzer Interface Expansion ConnectorsSingle Tone Generator Pin Assignments of P4 Power SupplyGND VEE Software Table A-2. Software Change for using M68EZ328ADSAppendix a Comparison of M68EZ328ADS Version 1.X HardwareFreescale 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 NOW Echo Program EnableError PollingFinish Txdrdy ProgramVerifiy NOV EchoEND BootstrapError Echo 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 Lcxp Reset OptionsLxmax Lymax#$08,ICEMCR #$9,PGSEL#MONSTACKTOP,A7 #0,RTCWDInitialization Code of SDS Monitor MONITOR.H Equ M328BASE+$150 PWM RegistersARCHIVED by Freescale SEMICONDUCTOR, INC Baseout Addressing OptionsDevice Options BaseinStoplevel AcrvalIrqmask Interrupt Behavior OptionsMonstacktop UsrresetResethard #$7,ICEMSR#0,PCPDEN #$0000,GRPBASED#0,PCSEL Other Definitions BASEIN+OFF6BASEIN+OFF7 ACREndmARCHIVED 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