Table of Contents

Advertisement

Quick Links

Freescale Semiconductor, Inc.
Motorola, Inc.
M68VZ328ADS
Application Development System
User's Manual
Revision 1.4
Sep 4, 2000
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.
For More Information On This Product,
Go to: www.freescale.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the M68VZ328ADS and is the answer not in the manual?

Questions and answers

Summary of Contents for NXP Semiconductors M68VZ328ADS

  • Page 1 Freescale Semiconductor, Inc. Motorola, Inc. M68VZ328ADS Application Development System User’s Manual Revision 1.4 Sep 4, 2000 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;...
  • Page 2: Table Of Contents

    Section 2 Quick Installation Guide Overview ....................... 2-9 Equipments Required ................... 2-9 Installation Procedure ................... 2-9 2.3.1 Prepare the M68VZ328ADS board ............. 2-9 2.3.2 Connecting M68VZ328ADS to PC............2-12 2.3.3 Installing software debugger ..............2-12 Section 3 Hardware Description and Board Operation Overview .....................
  • Page 3 Appendix C Monitor Initialization Code Initialization Code of Metrowerks Monitor (Reset.S) ........C-39 Initialization Code of SDS Monitor (Monitor.H) .......... C-43 Appendix D Schematics M68VZ328ADS ..................D-57 MOTOROLA M68VZ328ADS USER’S MANUAL For More Information On This Product, Go to: www.freescale.com...
  • Page 4 Freescale Semiconductor, Inc. Table of Contents M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 5 DIP Switch Options for SDS monitor using UART1 ......... 2-11 DIP Switch Options for SDS monitor using UART2 ......... 2-11 Connecting PC to UART1 of M68VZ328ADS ..........2-12 Debug Pop-Up Window of SDS v7.4..............2-15 Connection Setting inside Debug Pop-up Window of SDS v7.4 ...... 2-16 M68VZ328ADS Functional Block Diagram ............
  • Page 6 DIP Switch pack S2 Setting................3-18 Operation Mode Setting ................... 3-19 Function of LED Indicators ................3-19 M68VZ328ADS Default Memory Map .............. 3-19 Possible Configuration of FLASH Memories ............ 3-20 Signal Assignment for Touch Panel Controller..........3-24 Pin Assignments of P7 ..................3-26 Pin Assignment of P9 ..................
  • Page 7: General Information

    MC68VZ328 based application software. Moreover, this board can be used as a reference for real-life product design. M68VZ328ADS provides several interface ports for application software and target board debug purpose. This document will discuss the usage and system details of the M68VZ328ADS.
  • Page 8: Related Documentation

    Freescale Semiconductor, Inc. General Information 1.3 RELATED DOCUMENTATION The following documents can be used as references when using M68VZ328ADS. • MC68VZ328 User’s Manual • MC68VZ328 Product Information 1.4 TECHNICAL SUPPORT 1.4.1 M68VZ328ADS For getting the latest information, please visit our web page: http://www.mot.com/SPS/WIRELESS/products/DragonBall.html...
  • Page 9: Quick Installation Guide

    Figure 2-3, Figure 2-4 and Figure 2-5. For detail description of each switch. Pls. refer to Table 3-1 and Table 3-2. For additional information on the M68VZ328ADS and its components. Pls refer to Section 3 . MOTOROLA M68VZ328ADS USER’S MANUAL For More Information On This Product, Go to: www.freescale.com...
  • Page 10: M68Vz328Ads Key Component Layout

    Freescale Semiconductor, Inc. Quick Installation Guide Figure 2-1. M68VZ328ADS Key Component Layout 2-10 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 11: Default Dip Switch Options For Metrowerks Monitor Using Uart1

    1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 Figure 2-5. DIP Switch Options for SDS monitor using UART2 2-11 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 12: Connecting M68Vz328Ads To Pc

    1. Connect a RS232 cable from COM port (COM1 or COM2) to connector P2 of M68VZ328ADS. 2. Connect the power supply +3V or power adaptor to the P1 of M68VZ328ADS 3. Turn on the power supply. The RED LED will flash and the GREEN LED will illuminate when power is correctly applied.
  • Page 13 Freescale Semiconductor, Inc. Quick Installation Guide 2. Run Codewarrior IDE program. 3. Open a new project file with Embedded 68k Stationery. 4. Select ADS_68VZ328 Stationery for new project. 2-13 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 14 Freescale Semiconductor, Inc. Quick Installation Guide 5. Choose "Enable Debugger" from the "Project" pull-down menu. 6. Change the connection settings in the Debug Settings Windows. 2-14 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 15: Debug Pop-Up Window Of Sds V7.4

    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-7. Debug Pop-Up Window of SDS v7.4 2-15 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 16: Connection Setting Inside Debug Pop-Up Window Of Sds V7.4

    Freescale Semiconductor, Inc. Quick Installation Guide Figure 2-8. Connection Setting inside Debug Pop-up Window of SDS v7.4 2-16 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 17: Hardware Description And Board Operation

    Freescale Semiconductor, Inc. SECTION 3 HARDWARE DESCRIPTION AND BOARD OPERATION 3.1 OVERVIEW Figure 3-1shows the block diagram of M68VZ328ADS. Logic Analyzer Address Bus Extension Data Bus MC68VZ328 Control Bus UART SIGNALS PWMO Connector RESET Extension Connectors FLASH FLASH 1M x 16-bit...
  • Page 18: Control Switches

    * Used as monitor and debug port selection in provided monitor program 3.4 OPERATION MODES M68VZ328ADS supports two operation modes of MC68VZ328: Normal Mode and Boot- strap Mode. Selection of those operation modes is controlled by setting DIP switch S2-8.
  • Page 19: Led Indicators

    They can be enabled or disabled individually by setting the corresponding DIP switches. 3.6.1 Memory Map The default memory map of M68VZ328ADS in normal mode is shown in Table 3-5. The chip select range to all of the memory are software programmable. Users can reconfigure the memory map for their applications.
  • Page 20: Flash Memory

    FLASH0 Figure 3-2. Interface of Flash Memories M68VZ328ADS is equipped with two 2M-byte Flash memory chips. Figure 3-2. shows the interface 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, S2-2 and S2-3.
  • Page 21: Sdram

    SDRAM0 Figure 3-3. Interface of SDRAMs Figure 3-3. shows the interface of SDRAMs. M68VZ328ADS supports two banks of 4Mx16- bit SDRAMs. However, only one bank is installed when the board is shipped out from the factory. This allows user to install and test their own SDRAM when needed. These two banks of SDRAM are selected by *CSD0 and *CSD1, and enabled by closing DIP switches S2-4 and S2-5.
  • Page 22: Uart And Irda

    The IRDA transceiver is connected to UART2 only with a buffer in between for controlling its ON/OFF. If IRDA is being used, S1-2 should be switched OFF and S1-3 should be 3-22 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product,...
  • Page 23: Lcd And Touch Panel Interface

    3.8 LCD AND TOUCH PANEL INTERFACE 3.8.1 LCD Interface M68VZ328ADS consists of two LCD panel connectors, P1 and P12. P12 is designed for 8- bit LCD panel while P1 is for 4-bit LCD panel. P1 is fully compatible with the one used on M68EZ328ADS.
  • Page 24: Touch Panel Interface

    The datasheet is available on the web: http://www.burr-brown.com For more details on the operation of resistive touch panel, please refer to Appendix A . 3-24 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 25: Single Tone Generator

    MC68VZ328 CitiSound CHB-03E Figure 3-8. Single Tone Generator The M68VZ328ADS is equipped with Citizen single tone generator CHB-03E. As shown in Figure 3-8, a simple transistor circuit is used to interface the CHB-03E with the PWMO pin of MC68VZ328. 3.10 LOGIC ANALYZER INTERFACE To provide an convenient way of connecting on-board signals to a logic analyzer, ADS board provides five 10x2-pin headers for direct plug-in.
  • Page 26: Expansion Connectors

    The M68VZ328ADS provides basic features for software development and evaluation. If user wants to add application subsystem to M68VZ328ADS, it can utililize the signals pro- vided on 32x3 local bus connector (P7) and 16x3 local bus connector (P9). Some of these MC68VZ328 signals are used by the on-board modules.
  • Page 27: Power Supply

    ADS, the LCD driver can be powered by this VEE input. Figure 3-10 locates the power connectors and their polarity. UART2 UART1 3.0-3.3V M68VZ328ADS Figure 3-10. Power Connectors MOTOROLA M68VZ328ADS USER’S MANUAL 3-27 For More Information On This Product, Go to: www.freescale.com...
  • Page 28 Freescale Semiconductor, Inc. Hardware Description and Board Operation 3-28 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 29: Resistive Touch Panel Operation

    Bars - highly conductive material such as silver ink, about 1000 times more conductive than ITO. Spacers - Non-conducting ink, adhesive, or other material such as Mylar is used to separate the two opposite conductive layers. MOTOROLA M68VZ328ADS USER’S MANUAL A-29 For More Information On This Product, Go to: www.freescale.com...
  • Page 30: Determination Of X,Y Position

    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. A-30 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 31: Appendix B Programming On-Board Flash Memory

    4. FLASH.B - b-record for programming flash. ROM image is copied from RAM area to the Flash memory area 5. ROM.B - ROM image of user program in b-record/s-record format. MOTOROLA M68VZ328ADS USER’S MANUAL B-31 For More Information On This Product, Go to: www.freescale.com...
  • Page 32: Method

    1. Force the MC68VZ328 into bootstrap mode by turning S2-8 on and pressing RESET switch once. 2. Use BBUGV.EXE or TERMINAL program to communicate with the M68VZ328ADS through RS232 port of a PC. 3. Initialize the internal registers of DragonBall-VZ by loading the INIT.B.
  • Page 33: Executing Program Command Sequence

    DC.L pFINISH DC.L pERROR_ADDRESS DC.L DC.L STKTOP ***************************************************************** SECTION code START MOVEA.L #STKTOP,a7 ;re-istall stack pointer in case bootstrap mode MOVE.L #0,pERROR MOVE.L #0,pFINISH move.l #0,pERROR_ADDRESS B-33 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 34 ; Compare (a0),(a1) move.w (a3),d3 cmp.w d2,d3 POLLING ; End of POLLING add.l #2,a2 add.l #2,a3 add.l #2,d1 cmp.b #0,d5 NO_W ECHO ECHO NO_W add.b #1,d5 B-34 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 35 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 **************************************************************************** FINISH ECHO '\n' ECHO ECHO B-35 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 36 ECHO '\n' ECHO ECHO ECHO ECHO ECHO ECHO '\n' ECHO ECHO ECHO ECHO ECHO ECHO sub.l #1,a3 move.l a3,pERROR_ADDRESS move.l #1,pERROR BOOTSTRAP ************************************************************ BOOTSTRAP $FFFFFF5A ************************************************************ B-36 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 37: Flash Program Algorithm

    Freescale Semiconductor, Inc. Programming On-board Flash Memory Figure B-2. Flash Program Algorithm B-37 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 38 Freescale Semiconductor, Inc. Programming On-board Flash Memory B-38 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 39: Appendix C Monitor Initialization Code

    .equ (M328BASE+$410); Direction Reg PCDATA .equ (M328BASE+$411); Data Reg PCPUEN .equ (M328BASE+$412); Pullup Enable Reg PCPDEN .equ (M328BASE+$412); Pull-down Enable Reg PCSEL .equ (M328BASE+$413); Select Reg MOTOROLA M68VZ328ADS USER’S MANUAL C-39 For More Information On This Product, Go to: www.freescale.com...
  • Page 40 (M328BASE+$A2D); Panning Offset Reg LFRCM .equ (M328BASE+$A31); Frame Rate Control Mod Reg LGPMR .equ (M328BASE+$A32); Gray Palette Mapping Reg LIRQR .equ (M328BASE+$A34); Interrupt Control Reg ; RTC Registers C-40 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 41 #$03,PFSEL ; select A23-A20, CLKO, CSA1 move.b #$00,PBSEL ; Config port B for chip select A,B,C and D move.b #$00,PESEL ; select *DWE move.b #$F1,PKSEL C-41 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 42 #$D43F,SDCTRL ; issue mode command ;************************************************ ;* End of System initialization ;************************************************ ;********************************************** ;* LCD Initization Code ;********************************************** move.b #0,PCSEL move.b #0,PCPDEN move.l #$100403E,LSSA move.w #160,LXMAX C-42 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 43: Initialization Code Of Sds Monitor (Monitor.h

    ; Runtime initialization ;********************************************************************** .extern__start JMP __start ; jump to MW startup code C.2 INITIALIZATION CODE OF SDS MONITOR (MONITOR.H) .option list="off" **************************************************************************** CPU OPTIONS **************************************************************************** p=68000 C-43 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 44 PGDATA (M328BASE+$431) ; Data Reg PGPUEN (M328BASE+$432) ; Pullup Enable Reg PGSEL (M328BASE+$433) ; Select Reg PKSEL (M328BASE+$443) ; Select Reg PMSEL (M328BASE+$44B) ; Select Reg C-44 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 45 WARNING: This file redefines _usr_gchar bypassing the BSP ***************************************************************** ;**************************************************** ;* Chosing suitable Debug Port ;* by deleting the comment that you want ;**************************************************** **************************************** * Setting for VZ-UART2 **************************************** C-45 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 46 **************************************************************************** INTERRUPT BEHAVIOR OPTIONS **************************************************************************** #define STOP_LEVEL #define VECT_STOP ; ABORT interrupt vector number ; ************************************************** ; If your board hardware requires you to clear the C-46 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 47 ; select A23-A20, CLKO, CSA1 move.b #$00,PBSEL ; Config port B for chip select A,B,C and D move.b #$00,PESEL ; select *DWE move.b #$F1,PKSEL move.b #$00,PMSEL C-47 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 48 #$D43F,SDCTRL ; issue mode command ;************************************************ ;* End of System initialization ;************************************************ clr.l clr.l clr.l clr.l clr.l clr.l clr.l clr.l ;********************************************** ;* LCD Initization Code ;********************************************** C-48 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 49 ; * Setting for MC68681 ; *************************************** .if "\{DEV_IN}"=="MC68681" xdef MC68681acr xdef MC68681imr SECTION usr_ram MC68681acr: ds.b 1 ;ACR register MC68681imr: ds.b 1 ;IMR register .endif endm C-49 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 50 Freescale Semiconductor, Inc. Monitor Initialization Code C-50 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 51 Freescale Semiconductor, Inc. Monitor Initialization Code C-51 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 52 Freescale Semiconductor, Inc. Monitor Initialization Code C-52 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 53 Freescale Semiconductor, Inc. Monitor Initialization Code C-53 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 54 Freescale Semiconductor, Inc. Monitor Initialization Code C-54 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 55 Freescale Semiconductor, Inc. Monitor Initialization Code C-55 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 56 Freescale Semiconductor, Inc. Monitor Initialization Code C-56 M68VZ328ADS USER’S MANUAL MOTOROLA For More Information On This Product, Go to: www.freescale.com...
  • Page 57: Appendix Dschematics

    Freescale Semiconductor, Inc. APPENDIX D SCHEMATICS D.1 M68VZ328ADS MOTOROLA M68VZ328ADS USER’S MANUAL D-57 For More Information On This Product, Go to: www.freescale.com...
  • Page 58 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 59 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 60 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 61 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 62 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 63 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 64 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 65 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 66 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 67 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...
  • Page 68 Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com...

Table of Contents