background image

M68EZ328ADS v2.0

Application Development System

User’s Manual

Revision 1.0

JAN 19, 2000

Preliminary

Motorola

reserves

the

right

to

make

changes

without

further

notice

to

any

product

herein

to

improve

reliability, function, or design. Motorola does not assume any liability arising out of the application or
use of any product, circuit, or software described herein; neither does it convey any license under its
patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use
as components in systems intended for surgical implant into the body, or other applications intended to
support life, or for any other application in which the failure of the Motorola product could create a
situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any
such

intended

or

unauthorized

application,

Buyer

shall

indemnify

and

hold

Motorola

and

its

officers,

employees, subsidiaries, affiliates, and

distributors

harmless against all

claims,

costs, damages, and

expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury
or death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was
negligent regarding the design or manufacture of the part. Motorola and the

are registered trademarks

of Motorola Ltd.

Motorola, Inc.

 

   

  

Freescale Semiconductor, I

                                               

Freescale Semiconductor, Inc.

For More Information On This Product,

   Go to: www.freescale.com

nc.

..

ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005

ARCHIVED BY FREESCALE SEMICONDUCT

OR,

 INC.

 2005

Summary of Contents for FREESCALE SEMICONDUCTOR M68EZ328ADS

Page 1: ... Motorola product could create a situation where personal injury or death may occur Should Buyer purchase or use Motorola products for any such intended or unauthorized application Buyer shall indemnify and hold Motorola and its officers employees subsidiaries affiliates and distributors harmless against all claims costs damages and expenses and reasonable attorney fees arising out of directly or ...

Page 2: ...and Board Operation 3 1 Overview 3 16 3 2 Control Switches 3 17 3 3 DIP Switches 3 17 3 4 Operation Modes 3 18 3 5 LED Indicators 3 18 3 6 Memory 3 19 3 6 1 Memory Map 3 19 3 6 2 FLASH Memory 3 19 3 6 3 EMU ROM 3 20 3 6 4 EDO DRAM 3 21 3 7 UART and IRDA 3 22 3 8 Debug Port 3 23 3 9 LCD and Touch Panel Interface 3 23 3 9 1 LCD Interface 3 23 3 9 2 Touch Panel Interface 3 24 3 10 Single Tone Generat...

Page 3: ...gramming the flash C 32 C 3 Method C 33 C 4 Offset Address of ROM Image C 33 C 5 Executing ProgRam Command Sequence C 34 Appendix D Monitor Initialization Code D 1 Initialization Code of Metrowerks Monitor Reset S D 40 D 2 Initialization Code of SDS Monitor Monitor H D 44 Appendix E Schematics E 1 M68EZ328ADS v2 0 E 54 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On T...

Page 4: ...v2 0 USER S MANUAL MOTOROLA Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 5: ...M 3 20 3 4 Interface of EDO DRAMs 3 21 3 5 UART and IRDA Interface 3 22 3 6 Serial Port Pin Assignment 3 22 3 7 Debug Port Interface 3 23 3 8 LCD and Touch Panel Connector Pin Assignment 3 23 3 9 Touch Panel Controller Interface 3 24 3 10 Single Tone Generator 3 25 3 11 Logic Analyzer Connectors 3 25 3 12 Power Connectors 3 27 2 1 Resistive Touch Panel B 30 2 2 Determination of X Y Position B 31 C...

Page 6: ... Default Memory Map 3 19 3 6 Signal Assignment for Touch Panel Controller 3 24 3 7 Pin Assignments of P4 3 26 A 1 Comparison of M68EZ328ADS v1 x and v2 0 A 28 A 2 Software Change for using M68EZ328ADS v2 0 A 28 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMI...

Page 7: ...more details on the changes Please refer to Appendix A This document will discuss the usage and system details of the M68EZ328ADS v2 0 1 2 FEATURES MC68EZ328 CPU Memory Subsystem 2 MB FLASH Expandable to 4MB 8 MB EDO DRAM Debug ports One RS232 serial port interface to MC68EZ328 internal UART One External RS232 serial port connecting to on board UART chip Direct logic analyzer interface to system b...

Page 8: ...EZ328ADS v2 0 For getting the latest information please visit our web page http www mot com SPS WIRELESS products DragonBall html http www apspg com products dragonballez mc68ez328 html 1 4 2 Debugger There are three source level debuggers for DragonBallTM EZ The contact information is listed below 1 Metrowerks http www metrowerks com 2 Single Step Development http www sdsi com 3 Microtek SLD http...

Page 9: ...le of 9600 115200 bit per second operation 2 3 INSTALLATION PROCEDURE Please follow the procedure below to set up M68EZ328ADS 1 Prepare the M68EZ328ADS v2 0 board 2 Connect the M68EZ328ADS v2 0 board to PC and power supply 3 Install software debugger 2 3 1 Prepare the M68EZ328ADS v2 0 board Locate the DIP switches on the M68EZ328ADS v2 0 board and select appropriate monitor and debug port for your...

Page 10: ...TOROLA Figure 2 1 M68EZ328ADS v2 0 Key Component Layout Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 11: ...e 2 2 Default DIP Switch Options for Metrowerks monitor Figure 2 3 DIP Switch Options for SDS monitor ON 1 2 3 4 5 6 7 8 S1 ON 1 2 3 4 5 6 7 8 S2 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 12: ...EZ328ADS v2 0 2 Connect the power supply 3V or power adaptor to the P1 of M68EZ328ADS v2 0 3 Turn on the power supply The RED LED will flash and the GREEN LED will illuminate when power is correctly applied 2 3 3 Installing software debugger The following software debugger supports M68EZ328ADS v2 0 Metrowerks Codewarrior Single Step Development System SLD Metrowerks Codewarrior A simple procedure ...

Page 13: ...ior IDE program 3 Open a new project file with Embedded 68k Stationery 4 Select ADS_68EZ328 Stationery for new project Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 14: ...m the Project pull down menu 6 Change the connection settings in the Debug Settings Windows Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 15: ... file to download or debug without file as shown in Figure 2 5 select the serial port COM1 or COM2 according to the serial port of the PC connecting to the ADS disable hardware flow control and the baud rate should be 115200bps as shown in Figure 2 6 5 The file should be downloaded and then you can start your development For details please refer to the SingleStep User s Manual Figure 2 5 Debug Pop...

Page 16: ...gure 2 6 Connection Setting inside Debug Pop up Window of SDS v7 4 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 17: ...t LCD LCD Connectors UART Debug IRDA Single Tone Generator Logic Analyzer EDO DRAM Control Bus Extension Connectors Power Connector PWMO RESET UART SIGNALS 4M x 16 bit MC68EZ328 Extension Connector FLASH 1M x 16 bit FLASH 1M x 16 bit Reset Circuit GND GND RESET ABORT Port UART CHIP Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...

Page 18: ...h panel controller Table 3 1 and Table 3 2 show the description of each switch Table 3 1 DIP Switch pack S1 Setting Switch FUNCTION ON OFF S1 1 UART Transceiver Enable Disable S1 2 IrDA Module Enable Disable S1 3 Buzzer Enable Disable S1 4 Pen IRQ Enable Disable S1 5 Chip Select of Touch Panel Controller Enable Disable S1 6 Unused S1 7 Unused S1 8 Unused Table 3 2 DIP Switch pack S2 Setting Switch...

Page 19: ...efer MC68EZ328 user s manual EMU Mode When this mode is selected the reset vectors are generated internally by the ICE module of MC68EZ328 The first instruction fetch is at FFFC0020 Therefore in EMU mode the debug monitor of MC68EZ328ADS v2 0 is located beginning at FFFC0020 EMUCS is always running in 8 bit data bus mode covering the address space from FFFC0000 to FFFD0000 3 5 LED INDICATORS There...

Page 20: ...er face of them They are chip selected by CSA0 and CSA1 signals The connection of these CSAx signals to the Flash memories is controlled by DIP switches S2 1 and S2 2 Table 3 5 M68VZ328ADS v2 0 Default Memory Map System Address Memory Assigned Chip Select 00000000 007FFFFF 8MB EDO DRAM CSD0 00800000 009FFFFF 2MB FLASH BANK0 CSA0 00A00000 00BFFFFF 2MB FLASH BANK1 CSA1 00C00000 00FBFFFF Unused FFFC0...

Page 21: ... M68EZ328ADS v2 0 is equipped with one 64K byte EMU ROM Figure 3 3 shows the interface of the EMU ROM This EMU ROM has already been programmed with the SDS monitor and the Metrowerks monitor when the board is shipped out from the factory EMUCS WE A 0 15 D 8 15 CS WE A 0 15 D 8 15 8x8 Bit EMU ROM MC68EZ328 OE OE OR Gate A16 Figure 3 3 Interface of EMU ROM Freescale Semiconductor I Freescale Semicon...

Page 22: ... The EDO DRAM is enabled by turning DIP switch S2 3 on CSD0 DWE A 1 13 D 0 15 CSD1 RAS UCAS WE A 0 12 D 0 15 4MX16 Bit EDO DRAM LCAS CSC0 S2 3 VCC MC68EZ328 OE OE Figure 3 4 Interface of EDO DRAMs Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC ...

Page 23: ...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 MC68VZ328 TXD RXD CTS RTS Buffer EN EN PD4 RS232 Transceiver EN VCC GND P9 S1 2 S1 1 IRDA VCC UART Figure 3 5 UART and IRDA Interface 1 2 3 4 5 6 7 8 9 TXD RXD CTS RTS GND...

Page 24: ...10 P10 is designed for 4 bit LCD panel The pin assignments of the LCD connector is shown in Figure 3 8 EMUCS WE A 0 2 D 8 15 CS WE A 0 2 D 8 15 ST16C2552A MC68EZ328 OE OE OR Gate A16 RS232 Transceiver EN P8 UART TXD RXD CTS RTS Figure 3 7 Debug Port Interface Figure 3 8 LCD and Touch Panel Connector Pin Assignment 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20 LACD LLP VO GND LD0 LD2 GND PB1 T...

Page 25: ...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 Table 3 6 Signal Assignment for Touch Panel Controller Signals Function SPMRXD ...

Page 26: ... to use any of these signals for their daughter card the corresponding on board module may have to be disabled to avoid contention The pin assignments for extension connectors are shown in Table 3 7 Figure 3 10 Single Tone Generator VCC GND S1 5 MC68VZ328 PWMO CitiSound CHB 03E BC847 A14 A12 A10 A8 A6 A4 A2 A0 A15 A13 A11 A9 A7 A5 A3 A1 GND CSA1 CSB1 RAS1 CAS1 A22 A20 A18 A16 CSA0 CSB0 RAS0 CAS0 A...

Page 27: ...B7 PWMO1 PC0 LD0 11 PC1 LD1 PC2 LD2 PC3 LD3 12 PC4 LFRM PC5 LLP PC6 LCLK 13 PC7 LACD PD0 INT0 PD1 INT1 14 PD2 INT2 PD3 INT3 PD4 IRQ1 15 PD5 IRQ2 PD6 IRQ3 PD7 IRQ6 16 PE0 SPMTXD PE1 SPMRXD PE2 SPMCLK 17 PE3 DWE UCLK PE4 RXD PE5 TXD 18 PE6 RTS PE7 CTS PF0 LCONTRAST 19 PF1 IRQ5 PF2 CLKO PG1 A0 20 MA0 A1 MA1 A2 MA2 A3 21 MA3 A4 MA4 A5 MA5 A6 22 MA6 A7 MA7 A8 MA8 A9 23 MA9 A10 MA10 A11 MA11 A12 24 MA12...

Page 28: ...t Figure 3 12 locates the power connectors and their polarity Figure 3 12 Power Connectors EZ UART Debug Port M68EZ328ADS VEE GND _ P1 P2 GND 3 0 3 3V Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 29: ...rface MAXIM MAX1249 and four transistors Burr Brown ADS7843E Expansion Socket Same pin assignment Same pin assignment LCD Connector Same pin assignment Same pin assignment IrDA No HSDL 3201 Debug Port ADI Port and MC68681 Serial Port with max baud rate 57600bps ST16C2552A Serial Port with max baud rate 115200bps Buzzer No Citizen CHB 03E Bus Width 8 bit 16 bit 16 bit only Table A 2 Software Change...

Page 30: ...29 M68EZ328ADS v2 0 USER S MANUAL MOTOROLA Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 31: ...y resistive panel consists of two transparent resistive layers separated by insulating spacers as shown in Figure 2 1 Transparent Resistive Layer resistive material such as an indium tin oxide ITO film is coated on dielectric insulating substrate usually glass on bottom and plastic on top for actuation Bars highly conductive material such as silver ink about 1000 times more conductive than ITO Spa...

Page 32: ...wo opposing conductive layers come into electrical contact The x position of actuation can be determined by measuring the output voltage of the y layer At the same time the y position can be find out by measuring the x layer The exact position can be determined by referencing the output voltage to the distance relation ship Figure 2 2 Determination of X Y Position Freescale Semiconductor I Freesca...

Page 33: ... mode operation of MC68EZ328 before reading the material below For more details on Bootstrap mode please refer to the MC68EZ328 user s manual C 2 ELEMENTS FOR PROGRAMMING THE FLASH The following files are necessary for programming the Flash memory 1 EZTOOLS including BBUG EXE and STOB EXE 2 INIT B b record for initializing the ADS 3 ERASE B b record for erasing the flash memory 4 FLASHNML B b reco...

Page 34: ...hen needed 5 Load FLASHNML B the Flash Program and ROM B the ROM image to system RAM EDO DRAM on M68EZ328ADS 6 Execute the Flash Program by using the execution B record For example if the start ing address of Flash Program is 0x4000 the execution B record is then 0000400000 C 4 OFFSET ADDRESS OF ROM IMAGE Figure C 1 shows that the ROM image is first put to the system RAM before it is copied to Fla...

Page 35: ... of Flash memory may have dif ferent program command sequences please refer to their datasheets for more details XREF STKTOP OFFSET1 equ AAA OFFSET2 equ 554 TIME equ FFF ECHO MACRO CHAR bsr TXD_RDY nop nop nop move b CHAR FFFFF907 ENDM ENABLE MACRO move w 00AA A5 Unlock Flash move w 0055 A6 move w 00A0 A5 ENDM SECTION parameter pSOURCE DC L 00010000 pTARGET DC L 01000000 pSIZE DC L 00010000 pFLASH...

Page 36: ...source move l a1 a3 a3 as target clr l d1 clear d1 as counter clr b d5 clear d5 as ECHO counter PROGRAM ENABLE move w a2 a3 Copy source to target clr l d4 clear d4 as polling counter POLLING cmp l TIME d4 bgt ERROR if d4 TIME bra ERROR add l 1 d4 d4 move w a2 d2 Compare a0 a1 move w a3 d3 cmp w d2 d3 bne POLLING End of POLLING add l 2 a2 add l 2 a3 add l 2 d1 cmp b 0 d5 bne NO_W ECHO W ECHO 0 NO_W...

Page 37: ...r clr l d1 clear d1 as counter VERIFIY cmp b 0 d5 bne NO_V ECHO V ECHO 0 NO_V add b 1 d5 move w a2 d2 move w a3 d3 cmp w d2 d3 bne ERROR add l 2 d1 cmp l d0 d1 if d1 d0 bra CHECK ble VERIFIY bra FINISH TXD_RDY move l d7 a7 Push d7 POLLTXD btst b 5 FFFFF906 beq s POLLTXD bra if TXAVAIL not SET move w 0FFF d7 LP_RDY sub w 1 d7 bne b LP_RDY move l a7 d7 Restore d7 rts FINISH ECHO n ECHO P ECHO A Free...

Page 38: ...n ECHO E ECHO R ECHO R ECHO O ECHO R ECHO n ECHO 0 ECHO 0 ECHO 0 ECHO 0 ECHO 0 ECHO 0 sub l 1 a3 move l a3 pERROR_ADDRESS move l 1 pERROR bra BOOTSTRAP BOOTSTRAP jmp FFFFFF44 END Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 39: ... S MANUAL MOTOROLA Figure C 2 Flash Program Algorithm Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 40: ...EZ328ADS v2 0 USER S MANUAL MOTOROLA Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 41: ...eg Power Control Registers PCTLR equ M328BASE 206 Control Reg Interrupt Registers IVR equ M328BASE 300 Interrupt Vector Reg ICR equ M328BASE 302 Interrupt Control Reg IMR equ M328BASE 304 Interrupt Mask Reg ISR equ M328BASE 30C Interrupt Status Reg IPR equ M328BASE 310 Interrupt Pending Reg PIO Registers Port A Registers PADIR equ M328BASE 400 Direction Reg PADATA equ M328BASE 401 Data Reg PAPUEN ...

Page 42: ...BASE 432 Pullup Enable Reg PGSEL equ M328BASE 433 Select Reg PWM Registers PWMC equ M328BASE 500 Control Reg PWMS equ M328BASE 502 Sample Reg PWMCNT equ M328BASE 504 Count Reg Timer Registers Timer 1 Registers TCTL equ M328BASE 600 Control Reg TPRER equ M328BASE 602 Prescalar Reg TCMP equ M328BASE 604 Compare Reg TCR equ M328BASE 606 Capture Reg TCN equ M328BASE 608 Counter TSTAT equ M328BASE 60A ...

Page 43: ...R equ M328BASE B00 Hrs Mins Secs Reg RTCALM0R equ M328BASE B04 Alarm Register RTCDAY equ M328BASE B08 RTC date reg RTCWD equ M328BASE B0A RTC watch dog timer reg RTCCTL equ M328BASE B0C Control Reg RTCISR equ M328BASE B0E Interrupt Status Reg RTCIENR equ M328BASE B10 Interrupt Enable Reg RSTPWCH equ M328BASE B12 Stopwatch Minutes ICEM registers ICEMACR equ M328BASE D00 ICEMAMR equ M328BASE D04 ICE...

Page 44: ... Code for 512Kx16 Flash move w 0400 GRPBASEA GROUPA BASE FLASH Start address 0x800000 move w 0189 CSA 2MB each 0ws FLASH Init Code 4Mx16 12 10 EDO DRAM move w 8F00 DRAMCFG DRAM Memory Config Register Col Address PA1 PA10 Row Address PA11 PA22 move w 9667 DRAMCTL DRAM Control Register 0ws move w 0000 GRPBASED GROUPA BASE DRAM Start address 0x000000 0x7FFFFF move w 069F CSD enable DRAM cs Init Code ...

Page 45: ...W startup code D 2 INITIALIZATION CODE OF SDS MONITOR MONITOR H option list off EZ328EMU H Configuration file for Motorola s M68EZ328ADS CPU OPTIONS opt p 68000 M328BASE equ FFFFF000 SIM28 System Configuration Registers SCR equ M328BASE 000 Chip Select Registers GRPBASEA equ M328BASE 100 GRPBASEB equ M328BASE 102 GRPBASEC equ M328BASE 104 GRPBASED equ M328BASE 106 CSA equ M328BASE 110 CSB equ M328...

Page 46: ...t C Registers PCDIR equ M328BASE 410 Direction Reg PCDATA equ M328BASE 411 Data Reg PCPDEN equ M328BASE 412 Pull down Enable Reg PCSEL equ M328BASE 413 Select Reg Port D Registers PDDIR equ M328BASE 418 Direction Reg PDDATA equ M328BASE 419 Data Reg PDPUEN equ M328BASE 41A Pullup Enable Reg PDSEL equ M328BASE 41B port D select PDPOL equ M328BASE 41C Polarity Reg PDIRQEN equ M328BASE 41D IRQ Enable...

Page 47: ... Reg LXMAX equ M328BASE A08 Screen Width Reg LYMAX equ M328BASE A0A Screen Height Reg LCXP equ M328BASE A18 Cursor X Position LCYP equ M328BASE A1A Cursor Y Position LCWCH equ M328BASE A1C Cursor Width Height Reg LBLKC equ M328BASE A1F Blink Control Reg LPICF equ M328BASE A20 Panel Interface Config Reg LPOLCF equ M328BASE A21 Polarity Config Reg LACDRC equ M328BASE A23 ACD M Rate Control Reg LPXCD...

Page 48: ...FFD0000 base address BAUD_IN equ 576 baud rates BAUD_IN 100 bps BAUD_OUT equ 576 baud rates BAUD_OUT 100 bps Setting for EZ UART define DEV_IN EZUART define DEV_OUT EZUART BASE_IN equ fffd8000 base address not applicable BASE_OUT equ fffd8000 base address not applicable BAUD_IN equ 1152 baud rates 115200 bps BAUD_OUT equ 1152 baud rates 115200 bps Seting for ADI PORT on EZ ADS define DEV_IN ADIPOR...

Page 49: ...ess of output device BAUD_IN equ 0 BAUD_OUT equ 0 ACR_VAL equ 60 IRQ_MASK equ 00 INTERRUPT BEHAVIOR OPTIONS define STOP_LEVEL 7 define VECT_STOP 47 ABORT interrupt If your board hardware requires you to clear the read interrupt then you must include the necessary code inside the INT_RCLEAR macro below INT_RCLEAR macro endm stop interrupt We will only stop the target if the ABORT switch is pressed ...

Page 50: ...dc l MON_STACKTOP stack pointer default dc l reset program counter default dcb l 6 0 endm Hard reset macro contains very high priority instructions which must be executed immediately upon a hardware reset RESET_HARD macro move b 9 PGSEL config PG0 DTACK to GPI O input move w 2410 PLLCR sysclk VCO 1 enable clko move l MON_STACKTOP A7 Install stack pointer move w 2700 sr mask off all interrupts move...

Page 51: ...0000 0x7FFFFF move w 069F CSD enable DRAM cs Init Code for EMUCS move w 30 EMUCS 3ws clr l d0 clr l d1 clr l d2 clr l d3 clr l d4 clr l d5 clr l d6 clr l d7 LCD Temp init for screen protection move b 0 PCSEL move b 0 PCPDEN move l 4000 LSSA move w 160 LXMAX move w 239 LYMAX move b 10 LVPW move b 08 LPICF move b 01 LPOLCF move b 00 LACDRC move b 02 LPXCD move b 14 LRRA move b 00 LPOSR move b 00 LCK...

Page 52: ...8681ctur equ BASE_IN OFF6 MC68681ctlr equ BASE_IN OFF7 move b IRQ_MASK MC68681imr set value of IMR move b ACR_VAL MC68681acr set value of ACR Setting for baudrates 57600bps move b 00 MC68681ctur move b 02 MC68681ctlr divider 2 endif endm OTHER DEFINITIONS USER_DEFS macro Setting for MC68681 if DEV_IN MC68681 xdef MC68681acr xdef MC68681imr SECTION usr_ram MC68681acr ds b 1 ACR register Freescale S...

Page 53: ...UAL MOTOROLA MC68681imr ds b 1 IMR register endif endm Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 54: ...28ADS v2 0 USER S MANUAL MOTOROLA Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 55: ...PENDIX E SCHEMATICS E 1 M68EZ328ADS V2 0 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 56: ...Tai Po Ind Est Tai Po NT Hong Kong Version Schematic File Name M68EZ328ADS 2 0 Last Updated Teddy Wong on 5 Nov 1999 EZADS20 DSN Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ...

Page 57: ...A20 4 PF4 A21 5 PF5 A22 6 PF6 A23 7 PA0 D0 75 PA1 D1 74 PA2 D2 73 PA3 D3 72 PA4 D4 71 PA5 D5 70 PA6 D6 69 PA7 D7 68 D8 66 D9 65 D10 64 D11 63 D12 62 D13 61 D14 60 D15 59 CSA0 57 CSA1 56 CSB0 PB0 55 CSB1 PB1 54 CSC0 RAS0 PB2 53 CSC1 RAS1 PB3 52 CSD0 CAS0 PB4 51 CSD1 CAS1 PB5 50 LD0 PC0 46 LD1 PC1 45 LD2 PC2 44 LD3 PC3 43 LFRM PC4 42 LLP PC5 41 LCLK PC6 39 LACD PC7 38 INT0 PD0 36 INT1 PD1 35 INT2 PD...

Page 58: ...K7 R17 4K7 C10 0 1u R19 000 R14 4K7 TSOP I U8 MBM29LV160T 90PFTN DQ1 31 DQ2 33 DQ3 35 DQ4 38 DQ5 40 DQ6 42 DQ7 44 DQ8 30 DQ9 32 DQ0 29 DQ10 34 DQ11 36 DQ12 39 DQ13 41 DQ14 43 DQ15 A 1 45 A0 25 A1 24 A2 23 A3 22 A4 21 A5 20 A6 19 A7 18 A8 8 A9 7 A10 6 A11 5 A12 4 A13 3 A14 2 A15 1 A16 48 WE 11 OE 28 CE 26 RY BY 15 BYTE 47 VCC 37 VSS 27 VSS 46 A17 17 A18 16 RESET 12 A19 9 A20 10 WP ACC 14 NC 13 R15 ...

Page 59: ...CLK LD3 LD0 CONTRAST TOP LEFT RIGHT BOTTOM VCC VCC VCC VEE VCC VCC VEE P10 HEADER 10X2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 C44 0 1u C42 22u U17 ADS7843E X 2 Y 3 X 4 Y 5 IN3 7 IN4 8 DCLK 16 CS 15 DIN 14 DOUT 12 BUSY 13 PENIRQ 11 Vref 9 VCC 10 VCC 1 GND 6 C43 0 1u R57 2R2 R58 10 VR1 VR_10K R61 000 LACD LCLK LFRM LD0 LD3 SPMCLK LD2 PEN_CS LD1 PEN_IRQ LLP SPMRXD SPMTXD CONTRAST CSB1 Fre...

Page 60: ...TB 17 TXRDYA 1 TXRDYB 32 A0 10 A1 14 A2 15 D0 2 D1 3 D2 4 D3 5 D4 6 D5 7 D6 8 D7 9 XTAL1 11 XTAL2 13 TXA 38 TXB 26 RXA 39 RXB 25 DTRA 37 DTRB 27 RTSA 36 RTSB 23 MFA 35 MFB 19 CTSA 40 CTSB 28 RIA 43 RIB 31 CDA 42 CDB 30 DSRA 41 DSRB 29 VCC 44 GND 12 GND 22 VCC 32 Y2 3 6864MHz R56 1M C33 22p C34 33p C29 0805_1u C30 0805_1u C28 0805_1u C27 0805_1u C31 0805_1u P8 DB9 FEMALE 5 9 4 8 3 7 2 6 1 U14 MC145...

Page 61: ...uary 05 2000 Title Size Document Number Rev Date Sheet of VCC VCC VCC VCC VCC R39 000 R40 10K C1 0 1u U3A MC74HC125AD 2 3 1 U3B MC74HC125AD 5 6 4 C2 1u C3 0 1u U2 HSDL 3201 VLED 8 TXD 7 RXD 6 SD 5 AGND 4 VCC 3 GND 1 IRDA_EN TXD RXD Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 ARCHI...

Page 62: ...RQ RST_UARTX VCC VCC VCC VCC U11A MC74HC14AD 1 2 C13 4 7u SW1 PUSHBUTTON R46 300K C14 0 1u C15 0 1u C16 4 7u SW2 PUSHBUTTON R48 100K U10C MC74AC05D 5 6 U10A MC74AC05D 1 2 U10B MC74AC05D 3 4 U11B MC74HC14AD 3 4 U11D MC74HC14AD 9 8 U11C MC74HC14AD 5 6 RSTIN EMUIRQ EMU BOOTSTRAP RST_UARTX Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale co...

Page 63: ... 5 S1 SW DIP 8 1 2 3 4 5 6 7 8 16 15 14 13 12 11 10 9 RP2 4K7 X 4 1 8 2 7 3 6 4 5 S2 SW DIP 8 1 2 3 4 5 6 7 8 16 15 14 13 12 11 10 9 R41 330 R42 330 LED1 RED LED U5A MC74HC14D 1 2 C5 220u D2 C6 0 1u P2 1 2 C7 0 1u P1 D1 TP1 Test Point VCC 1 U4 MC14521BD IN1 9 IN2 6 RST 2 Q18 10 Q19 11 Q20 12 Q21 13 Q22 14 Q23 15 Q24 1 OT1 7 OT2 4 VDD 5 VSS 3 RP3 4K7 X 4 1 8 2 7 3 6 4 5 R60 4K7 R59 4K7 TONE_OUT PWM...

Page 64: ...1 A23 A22 A21 A20 A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 CLKO POD3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 POD2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 POD1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 POD4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 A 0 26 D 0 15 RSTIN OE DTACK CLKO LACD LLP LD3 LD1 LCLK LFRM LD2 LD0 EMUIRQ EMUCS C...

Page 65: ... C21 C22 C23 C24 C25 C26 C27 C28 C29 C30 C31 C32 P4B VME 32x3 FEMALE B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 B12 B13 B14 B15 B16 B17 B18 B19 B20 B21 B22 B23 B24 B25 B26 B27 B28 B29 B30 B31 B32 P3 HEADER 14X2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 P5 HEADER 14X2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 P6 HEADER 14X2 1 2 3 4 5 6 7 8 9...

Reviews: