MOTOROLA MC68328 USER’S MANUAL 11/6/97 1-1 INTRODUCTION 1 PRELIMINARY SECTION 1INTRODUCTION The MC68328 DragonBall microprocessor is designed to save
Signals 2-7 MC68328 USER’S MANUAL 11/6/97 MOTOROLA SIGNAL DESCRIPTIONS 2 PRELIMINARY PK7-PK6/CE1-CE2 These pins can be programmed as either parallel
LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-19LCD CONTROLLER8PRELIMINARYBD—Blink Divisor 0–6These bits indicate when the cursor will toggle
LCD Controller8-20 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARY8.6.2 LCD Polarity Configuration RegisterThe LCD polarity configur
LCD Controller8-21 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARYprogrammed plus one. The default value will toggle the LACD signal
LCD Controller8-22 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARY8.7.2 LCD Clocking Control RegisterThe LCD clocking control (LCKCO
LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-23LCD CONTROLLER8PRELIMINARYDWIDTH—Data WidthThis bit displays memory data width that indicates
LCD Controller8-24 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARY8.7.4 LCD Octet Terminal Count RegisterThe LCD octet terminal coun
LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-25LCD CONTROLLER8PRELIMINARYPOS—Pixel Offset Code 0–2These bits specify which of the eight pixe
LCD Controller8-26 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARYFor example:8.9 CALCULATING BANDWIDTHThe LCD’s DMA controller cons
LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-27LCD CONTROLLER8PRELIMINARYThus, the percentage of host bus time taken up by the LCDC DMA is P
LCD Controller8-28 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARY Freescale Semiconductor, I
Signals 2-8 MC68328 USER’S MANUAL 11/6/97 MOTOROLA SIGNAL DESCRIPTIONS 2 PRELIMINARY PG1/RXD—UART RECEIVE DATA, PORT G 1 This pin is the receiver ser
MOTOROLA MC68328 USER’S MANUAL 12/9/97 9-1 REAL-TIME CLOCK 9 PRELIMINARY SECTION 9REAL-TIME CLOCK The real-time clock (RTC) provides a current time s
Real-Time Clock 9-2 MC68328 USER’S MANUAL 12/9/97 MOTOROLA REAL-TIME CLOCK 9 PRELIMINARY 9.2 OPERATION9.2.1 Prescaler and Counter The prescaler div
Real-Time Clock MOTOROLA MC68328 USER’S MANUAL 12/9/97 9-3 REAL-TIME CLOCK 9 PRELIMINARY The real-time clock may be in the process of updating the ho
Real-Time Clock 9-4 MC68328 USER’S MANUAL 12/9/97 MOTOROLA REAL-TIME CLOCK 9 PRELIMINARY 9.3.2 RTC Alarm Register The real-time clock alarm (ALARM)
Real-Time Clock MOTOROLA MC68328 USER’S MANUAL 12/9/97 9-5 REAL-TIME CLOCK 9 PRELIMINARY 9.3.3 RTC Control Register The real-time clock control (CTL
Real-Time Clock 9-6 MC68328 USER’S MANUAL 12/9/97 MOTOROLA REAL-TIME CLOCK 9 PRELIMINARY 1Hz FLAG—1Hz FlagWhen the 1Hz interrupt is enabled, this bit
Real-Time Clock MOTOROLA MC68328 USER’S MANUAL 12/9/97 9-7 REAL-TIME CLOCK 9 PRELIMINARY 9.3.5 RTC Interrupt Enable Register The real-time clock int
Real-Time Clock 9-8 MC68328 USER’S MANUAL 12/9/97 MOTOROLA REAL-TIME CLOCK 9 PRELIMINARY SWEN—Stopwatch Interrupt EnableThis bit enables the stopwatc
MOTOROLA MC68328 USER’S MANUAL 12/9/97 10-1 TIMERS 10 PRELIMINARY SECTION 10TIMERS The DragonBall microprocessor contains two identical general-purp
Timers 10-2 MC68328 USER’S MANUAL 12/9/97 MOTOROLA TIMERS 10 PRELIMINARY 10.2 GENERAL-PURPOSE TIMER OPERATION The clock input to the prescaler can b
Signals2-9 MC68328 USER’S MANUAL 11/6/97 MOTOROLASIGNAL DESCRIPTIONS2PRELIMINARYPG3/TOUT2 —TIMER 2 OUTPUT, PORT G 3This bidirectional signal can be p
Timers MOTOROLA MC68328 USER’S MANUAL 12/9/97 10-3 TIMERS 10 PRELIMINARY 10.3 SOFTWARE WATCHDOG TIMER OPERATION The software watchdog timer protects
Timers 10-4 MC68328 USER’S MANUAL 12/9/97 MOTOROLA TIMERS 10 PRELIMINARY 10.5 PROGRAMMING THE GENERAL-PURPOSE TIMERS10.5.1 Timer Unit 1 and 2 Contr
Timers MOTOROLA MC68328 USER’S MANUAL 12/9/97 10-5 TIMERS 10 PRELIMINARY CLKSOURCE—Clock SourceThis field controls the clock source to the timer. The
Timers 10-6 MC68328 USER’S MANUAL 12/9/97 MOTOROLA TIMERS 10 PRELIMINARY 10.5.3 Timer Unit 1 and 2 Compare Registers The timer unit 1 and 2 compare
Timers MOTOROLA MC68328 USER’S MANUAL 12/9/97 10-7 TIMERS 10 PRELIMINARY 10.5.5 Timer Unit 1 and 2 Counter Registers The timer unit 1 and 2 counter
Timers 10-8 MC68328 USER’S MANUAL 12/9/97 MOTOROLA TIMERS 10 PRELIMINARY 10.6 PROGRAMMING THE SOFTWARE WATCHDOG TIMER The software watchdog timer ha
Timers MOTOROLA MC68328 USER’S MANUAL 12/9/97 10-9 TIMERS 10 PRELIMINARY 10.6.3 Watchdog Control and Status Register The watchdog control and status
Timers 10-10 MC68328 USER’S MANUAL 12/9/97 MOTOROLA TIMERS 10 PRELIMINARY Freescale Semiconductor, I
MOTOROLA MC68328 USER’S MANUAL 12/9/97 11-1 UART 11 PRELIMINARY SECTION 11UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER The universal asynchronous rece
Universal Asynchronous Receiver/Transmitter 11-2 MC68328 USER’S MANUAL 12/9/97 MOTOROLA UART 11 PRELIMINARY 11.2 SERIAL INTERFACE SIGNALS There are
Signals2-10 MC68328 USER’S MANUAL 11/6/97 MOTOROLASIGNAL DESCRIPTIONS2PRELIMINARYLCLK—SHIFT CLOCKThis is the clock output to which the output data to
Universal Asynchronous Receiver/Transmitter MOTOROLA MC68328 USER’S MANUAL 12/9/97 11-3 UART 11 PRELIMINARY • RTS—The request-to-send pin is an outpu
Universal Asynchronous Receiver/Transmitter 11-4 MC68328 USER’S MANUAL 12/9/97 MOTOROLA UART 11 PRELIMINARY The UART module is easy to use from both
Universal Asynchronous Receiver/Transmitter MOTOROLA MC68328 USER’S MANUAL 12/9/97 11-5 UART 11 PRELIMINARY 11.3.2 Receiver The receiver accepts a s
Universal Asynchronous Receiver/Transmitter 11-6 MC68328 USER’S MANUAL 12/9/97 MOTOROLA UART 11 PRELIMINARY 11.3.3 Baud Rate Generator The baud gene
Universal Asynchronous Receiver/Transmitter MOTOROLA MC68328 USER’S MANUAL 12/9/97 11-7 UART 11 PRELIMINARY 11.3.4 MPU Interface The MPU interface i
Universal Asynchronous Receiver/Transmitter 11-8 MC68328 USER’S MANUAL 12/9/97 MOTOROLA UART 11 PRELIMINARY TX EN—Transmitter EnableThis bit enables
Universal Asynchronous Receiver/Transmitter MOTOROLA MC68328 USER’S MANUAL 12/9/97 11-9 UART 11 PRELIMINARY GPIO DELTA EN—General-Purpose I/O Delta E
Universal Asynchronous Receiver/Transmitter 11-10 MC68328 USER’S MANUAL 12/9/97 MOTOROLA UART 11 PRELIMINARY TX HALF EN—Transmitter Half EnableWhen t
Universal Asynchronous Receiver/Transmitter MOTOROLA MC68328 USER’S MANUAL 12/9/97 11-11 UART 11 PRELIMINARY 11.4.2 UART Baud Control Register The U
Universal Asynchronous Receiver/Transmitter 11-12 MC68328 USER’S MANUAL 12/9/97 MOTOROLAUART11PRELIMINARYGPIO—GPIO Status/ControlIf GPIO is configure
Signals2-11 MC68328 USER’S MANUAL 11/6/97 MOTOROLASIGNAL DESCRIPTIONS2PRELIMINARY2.2 PIN ASSIGNMENTThe MC68328 pin assignment is shown in Figure 2-1.
Universal Asynchronous Receiver/TransmitterMOTOROLA MC68328 USER’S MANUAL 12/9/97 11-13UART11PRELIMINARY11.4.3 UART Receiver RegisterThe UART receive
Universal Asynchronous Receiver/Transmitter11-14 MC68328 USER’S MANUAL 12/9/97 MOTOROLAUART11PRELIMINARYFRAME ERROR—Frame ErrorWhen high, this read-on
Universal Asynchronous Receiver/TransmitterMOTOROLA MC68328 USER’S MANUAL 12/9/97 11-15UART11PRELIMINARYFIFO HALF—FIFO HalfThis read-only bit indicate
Universal Asynchronous Receiver/Transmitter11-16 MC68328 USER’S MANUAL 12/9/97 MOTOROLAUART11PRELIMINARYTX DATA—Transmit DataThis field is the paralle
Universal Asynchronous Receiver/TransmitterMOTOROLA MC68328 USER’S MANUAL 12/9/97 11-17UART11PRELIMINARYRTS CONT—RTS ControlThis bit selects the funct
Universal Asynchronous Receiver/Transmitter11-18 MC68328 USER’S MANUAL 12/9/97 MOTOROLAUART11PRELIMINARY Freescale Semiconductor, I
MOTOROLA MC68328 USER’S MANUAL 11/10/97 12-1 SERIAL PERIPHERAL 10 INTERFACE–MASTER PRELIMINARY SECTION 12SERIAL PERIPHERAL INTERFACE—MASTER The seria
Serial Peripheral Interface—Master 12-2 MC68328 USER’S MANUAL 11/10/97 MOTOROLA SERIAL PERIPHERAL 10 INTERFACE–MASTER PRELIMINARY 12.1 OPERATION12.
Serial Peripheral Interface—Master MOTOROLA MC68328 USER’S MANUAL 11/10/97 12-3 SERIAL PERIPHERAL 10 INTERFACE–MASTER PRELIMINARY 12.1.2 Phase/Polar
Serial Peripheral Interface—Master 12-4 MC68328 USER’S MANUAL 11/10/97 MOTOROLA SERIAL PERIPHERAL 10 INTERFACE–MASTER PRELIMINARY DATA RATEThese bit
Signals2-12 MC68328 USER’S MANUAL 11/6/97 MOTOROLASIGNAL DESCRIPTIONS2PRELIMINARYFigure 2-2. 144-Lead Plastic Thin-Quad Flat Package0.20 (0.008)L– M N
Serial Peripheral Interface—Master MOTOROLA MC68328 USER’S MANUAL 11/10/97 12-5 SERIAL PERIPHERAL 10 INTERFACE–MASTER PRELIMINARY IRQEN—Interrupt Req
MOTOROLA MC68328 USER’S MANUAL 11/10/97 13-1 SERIAL PERIPHERAL 9 INTERFACE–SLAVE PRELIMINARY SECTION 13SERIAL PERIPHERAL INTERFACE—SLAVE The slave se
Serial Peripheral Interface—Slave 13-2 MC68328 USER’S MANUAL 11/10/97 MOTOROLA SERIAL PERIPHERAL 9 INTERFACE–SLAVE PRELIMINARY 13.1 OPERATION Users
Serial Peripheral Interface—Slave MOTOROLA MC68328 USER’S MANUAL 11/10/97 13-3 SERIAL PERIPHERAL 9 INTERFACE–SLAVE PRELIMINARY 13.3.1 SPI Slave Regi
Serial Peripheral Interface—Slave 13-4 MC68328 USER’S MANUAL 11/10/97 MOTOROLA SERIAL PERIPHERAL 9 INTERFACE–SLAVE PRELIMINARY PHA—PhaseThis bit set
MOTOROLA MC68328 USER’S MANUAL 11/10/97 14-1 PULSE-WIDTH 11 MODULATOR PRELIMINARY SECTION 14PULSE-WIDTH MODULATOR The pulse-width modulator (PWM) pro
Pulse-Width Modulator 14-2 MC68328 USER’S MANUAL 11/10/97 MOTOROLA PULSE-WIDTH 11 MODULATOR PRELIMINARY The width and period registers are double-buf
Pulse-Width Modulator MOTOROLA MC68328 USER’S MANUAL 11/10/97 14-3 PULSE-WIDTH 11 MODULATOR PRELIMINARY IRQEN—Interrupt Request EnableThis bit contro
Pulse-Width Modulator 14-4 MC68328 USER’S MANUAL 11/10/97 MOTOROLA PULSE-WIDTH 11 MODULATOR PRELIMINARY When this bit is set high, the PWM is enabled
Pulse-Width Modulator MOTOROLA MC68328 USER’S MANUAL 11/10/97 14-5 PULSE-WIDTH 11 MODULATOR PRELIMINARY 14.1.4 Counter This read-only register is th
MOTOROLA MC68328 USER’S MANUAL 12/9/97 3-1 ARCHITECTURE 3 PRELIMINARY SECTION 3ARCHITECTURE To improve total system throughput and reduce component c
MOTOROLA MC68328 USER’S MANUAL 11/10/97 15-1 PHASE-LOCKED LOOP 3 AND POWER CONTROL PRELIMINARY SECTION 15PHASE-LOCKED LOOP AND POWER CONTROL The phas
Phase-Locked Loop and Power Control 15-2 MC68328 USER’S MANUAL 11/10/97 MOTOROLA PHASE-LOCKED LOOP 3 AND POWER CONTROL PRELIMINARY 15.1.1 PLL Contro
Phase-Locked Loop and Power Control MOTOROLA MC68328 USER’S MANUAL 11/10/97 15-3 PHASE-LOCKED LOOP 3 AND POWER CONTROL PRELIMINARY 15.1.2 Frequency
Phase-Locked Loop and Power Control 15-4 MC68328 USER’S MANUAL 11/10/97 MOTOROLA PHASE-LOCKED LOOP 3 AND POWER CONTROL PRELIMINARY 15.2.2 Divider Th
Phase-Locked Loop and Power Control MOTOROLA MC68328 USER’S MANUAL 11/10/97 15-5 PHASE-LOCKED LOOP 3 AND POWER CONTROL PRELIMINARY ;interrupt service
Phase-Locked Loop and Power Control 15-6 MC68328 USER’S MANUAL 11/10/97 MOTOROLA PHASE-LOCKED LOOP 3 AND POWER CONTROL PRELIMINARY the screen refresh
Phase-Locked Loop and Power Control MOTOROLA MC68328 USER’S MANUAL 11/10/97 15-7 PHASE-LOCKED LOOP 3 AND POWER CONTROL PRELIMINARY controller always
Phase-Locked Loop and Power Control 15-8 MC68328 USER’S MANUAL 11/10/97 MOTOROLA PHASE-LOCKED LOOP 3 AND POWER CONTROL PRELIMINARY STOPThis bit immed
Phase-Locked Loop and Power Control MOTOROLA MC68328 USER’S MANUAL 11/10/97 15-9 PHASE-LOCKED LOOP 3 AND POWER CONTROL PRELIMINARY The CLKO pin is an
MOTOROLA MC68328 USER’S MANUAL 11/10/97 16-1 APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY SECTION 16APPLICATIONS AND DESIGN EXAMPLES This section
Architecture 3-2 MC68328 USER’S MANUAL 12/9/97 MOTOROLA ARCHITECTURE 3 PRELIMINARY 3.1 CORE The MC68EC000 core in the DragonBall is an updated imple
Applications and Design Examples 16-2 MC68328 USER’S MANUAL 11/10/97 MOTOROLA APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY 16.1.1 M68328 Processo
Applications and Design Examples MOTOROLA MC68328 USER’S MANUAL 11/10/97 16-3 APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY The PLLVCC and PLLGND p
Applications and Design Examples 16-4 MC68328 USER’S MANUAL 11/10/97 MOTOROLA APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY Figure 16-3. EPROM Inte
Applications and Design Examples MOTOROLA MC68328 USER’S MANUAL 11/10/97 16-5 APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY Figure 16-4. SRAM Inter
Applications and Design Examples 16-6 MC68328 USER’S MANUAL 11/10/97 MOTOROLA APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY 16.2 SYSTEM INITIALIZA
Applications and Design Examples MOTOROLA MC68328 USER’S MANUAL 11/10/97 16-7 APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY PADIR equ (M328BASE+$40
Applications and Design Examples 16-8 MC68328 USER’S MANUAL 11/10/97 MOTOROLA APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY TCMP2 equ (M328BASE+$61
Applications and Design Examples MOTOROLA MC68328 USER’S MANUAL 11/10/97 16-9 APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY ;**********************
Applications and Design Examples 16-10 MC68328 USER’S MANUAL 11/10/97 MOTOROLA APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY jmp _main ; jmp
Applications and Design Examples MOTOROLA MC68328 USER’S MANUAL 11/10/97 16-11 APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY where t 2 = DATA setu
Architecture MOTOROLA MC68328 USER’S MANUAL 12/9/97 3-3 ARCHITECTURE 3 PRELIMINARY 3.1.1 Core Programming Model The core has 32-bit registers and a
Applications and Design Examples 16-12 MC68328 USER’S MANUAL 11/10/97 MOTOROLA APPLICATIONS AND 14DESIGN EXAMPLESPRELIMINARYinterrupt status register
Applications and Design ExamplesMOTOROLA MC68328 USER’S MANUAL 11/10/97 16-13APPLICATIONS AND14DESIGN EXAMPLESPRELIMINARY PWM block PWM IRQ
Applications and Design Examples16-14 MC68328 USER’S MANUAL 11/10/97 MOTOROLAAPPLICATIONS AND14DESIGN EXAMPLESPRELIMINARYshould poll the IRQ bit for a
Applications and Design ExamplesMOTOROLA MC68328 USER’S MANUAL 11/10/97 16-15APPLICATIONS AND14DESIGN EXAMPLESPRELIMINARY16.3 POWER-SAVING TIPSYou ca
Applications and Design Examples16-16 MC68328 USER’S MANUAL 11/10/97 MOTOROLAAPPLICATIONS AND14DESIGN EXAMPLESPRELIMINARY16.3.1 LCD Refresh Frequency
MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-1 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY SECTION 17ELECTRICAL CHARACTERISTICS <add info about data
Electrical Characteristics 17-2 MC68328 USER’S MANUAL 11/10/97 MOTOROLA ELECTRICAL 13 CHARACTERIISTICS PRELIMINARY 17.4 AC ELECTRICAL SPECIFICATIONS
Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-3 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY Figure 17-1. Chip-Select Write C
Electrical Characteristics 17-4 MC68328 USER’S MANUAL 11/10/97 MOTOROLA ELECTRICAL 13 CHARACTERIISTICS PRELIMINARY Table 17-2. AC Electrical Specific
Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-5 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY
Architecture 3-4 MC68328 USER’S MANUAL 12/9/97 MOTOROLA ARCHITECTURE 3 PRELIMINARY 3.1.2 Data and Address Mode Types The core supports five types of
Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-6 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY Table 17-3. AC Electrical Specific
Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-7 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY Figure 17-3. LCD-DMA Read Cycle Ti
Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-8 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY Table 17-4. AC Electrical Specific
Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-9 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY Figure 17-5. PCMCIA Read Cycle Tim
Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-10 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY Freescale Semiconductor, I
MOTOROLA MC68328 USER’S MANUAL 1/29/98 18-1 MECHANICAL 18 CHARACTERISTICS SECTION 18MECHANICAL SPECIFICATIONS Figure 18-1. MC68328 144-Lead Plastic
Mechanical Specifications 18-2 MC68328 USER’S MANUAL 1/29/98 MOTOROLA MECHANICAL 18 CHARACTERIISTICS Figure 18-2. MC68328 144-Lead Plastic Thin-Quad
Mechanical Specifications MOTOROLA MC68328 USER’S MANUAL 1/29/98 18-3 MECHANICAL 18 CHARACTERISTICS Freescale Semiconductor, I
Mechanical Specifications 18-4 MC68328 USER’S MANUAL 1/29/98 MOTOROLA MECHANICAL 18 CHARACTERIISTICS Freescale Semiconductor, I
Introduction 1-2 MC68328 USER’S MANUAL 11/6/97 MOTOROLA INTRODUCTION 1 PRELIMINARY • System Integration Module Supports Glueless System Design ❏ Syst
Architecture MOTOROLA MC68328 USER’S MANUAL 12/9/97 3-5 ARCHITECTURE 3 PRELIMINARY 3.1.3 Instruction Set The EC000 core instruction set supports hig
Architecture 3-6 MC68328 USER’S MANUAL 12/9/97 MOTOROLA ARCHITECTURE 3 PRELIMINARY 3.2 CHIP-SELECT LOGIC AND BUS INTERFACE The system control regist
Architecture MOTOROLA MC68328 USER’S MANUAL 12/9/97 3-7 ARCHITECTURE 3 PRELIMINARY 3.3 PLL CLOCK SYNTHESIZER AND POWER CONTROL The clock synthesizer
Architecture 3-8 MC68328 USER’S MANUAL 12/9/97 MOTOROLA ARCHITECTURE 3 PRELIMINARY 3.7 LCD CONTROLLER The LCD controller is used to display data on
Architecture MOTOROLA MC68328 USER’S MANUAL 12/9/97 3-9 ARCHITECTURE 3 PRELIMINARY 3.10 PROGRAMMER’S MEMORY MAP The memory map is a guide to all on-
Architecture 3-10 MC68328 USER’S MANUAL 12/9/97 MOTOROLA ARCHITECTURE 3 PRELIMINARY Base+0x207 PCTLR 8 Power Control Register 0x1F PCTLBase+0x300 IVR
Architecture MOTOROLA MC68328 USER’S MANUAL 12/9/97 3-11 ARCHITECTURE 3 PRELIMINARY Base+0x439 PJDATA 8 Port J Data Register 0x00 7-16Base+0x43B PJSE
Architecture 3-12 MC68328 USER’S MANUAL 12/9/97 MOTOROLA ARCHITECTURE 3 PRELIMINARY Base+0x906 UTX 16 UART TX Register 0x0000 11-13Base+0x908 UMISC 1
MOTOROLA MC68328 USER’S MANUAL 12/9/97 4-1 SYSTEM CONTROL 4 PRELIMINARY SECTION 4SYSTEM CONTROL The DragonBall microprocessor contains a system contr
System Control 4-2 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULESYSTEM CONTROL 4 PRELIMINARY 4.1.1 System Control Register The 8-bit read/write syst
Introduction MOTOROLA MC68328 USER’S MANUAL 11/6/97 1-3 INTRODUCTION 1 PRELIMINARY ❏ External POCSAG Decoder (Slave) Support ❏ Digitizer For A/D Inpu
System Control MOTOROLA MC68328 USER’S MANUAL 12/9/97 4-3 SYSTEM CONTROL 4 PRELIMINARY SO—Supervisor OnlyThis control bit limits on-chip registers to
System Control 4-4 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULESYSTEM CONTROL 4 PRELIMINARY Freescale Semiconductor, I
MOTOROLA MC68328 USER’S MANUAL 12/9/97 5-1 CHIP-SELECT LOGIC 5 PRELIMINARY SECTION 5CHIP-SELECT LOGIC The DragonBall microprocessor contains 16 gener
Chip-Select Logic 5-2 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULECHIP-SELECT LOGIC 5 PRELIMINARY 5.1 CHIP-SELECT OPERATION A chip-select output si
Chip-Select Logic MOTOROLA MC68328 USER’S MANUAL 12/9/97 5-3 CHIP-SELECT LOGIC 5 PRELIMINARY 5.1.1 Programmable Data Bus Size Each chip-select can b
Chip-Select Logic 5-4 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULECHIP-SELECT LOGIC 5 PRELIMINARY 5.2 PROGRAMMING MODEL The chip-select module of t
Chip-Select Logic MOTOROLA MC68328 USER’S MANUAL 12/9/97 5-5 CHIP-SELECT LOGIC 5 PRELIMINARY 5.2.2 Group Base Address Mask Registers The group base
Chip-Select Logic 5-6 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULECHIP-SELECT LOGIC 5 PRELIMINARY 5.2.3 Chip-Select Option Registers There are four
Chip-Select Logic MOTOROLA MC68328 USER’S MANUAL 12/9/97 5-7 CHIP-SELECT LOGIC 5 PRELIMINARY Bits 7–4—ReservedThese bits are reserved and should be s
Chip-Select Logic 5-8 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULECHIP-SELECT LOGIC 5 PRELIMINARY BUSW—Bus WidthThis bit sets the bus width of the m
MOTOROLA MC68328 USER’S MANUAL 11/6/97 2-1 SIGNAL DESCRIPTIONS 2 PRELIMINARY SECTION 2SIGNALS This section contains a description of the MC68328 Drag
Chip-Select Logic MOTOROLA MC68328 USER’S MANUAL 12/9/97 5-9 CHIP-SELECT LOGIC 5 PRELIMINARY 5.3 PCMCIA 1.0 SUPPORT The Dragonball supports PCMCIA 1
Chip-Select Logic 5-10 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULECHIP-SELECT LOGIC 5 PRELIMINARY Freescale Semiconductor, I
MOTOROLA MC68328 USER’S MANUAL 12/9/97 6-1 INTERRUPT 6 CONTROLLER PRELIMINARY SECTION 6INTERRUPT CONTROLLER The interrupt controller supports a varie
Interrupt Controller 6-2 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULEINTERRUPT 6 CONTROLLER PRELIMINARY • Watchdog timer interrupt (level 4)• Real-t
Interrupt Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 6-3 INTERRUPT 6 CONTROLLER PRELIMINARY D 13 52 034 SD (Unassigned, Reserved)E 14 56 038 S
Interrupt Controller 6-4 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULEINTERRUPT 6 CONTROLLER PRELIMINARY 6.2 RESET The reset exception corresponds t
Interrupt Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 6-5 INTERRUPT 6 CONTROLLER PRELIMINARY handler. The interrupt service routine should end
Interrupt Controller 6-6 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULEINTERRUPT 6 CONTROLLER PRELIMINARY 6.5.1 Interrupt Vector Register The interru
Interrupt Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 6-7 INTERRUPT 6 CONTROLLER PRELIMINARY level low. Positive polarity means that an interru
Interrupt Controller 6-8 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULEINTERRUPT 6 CONTROLLER PRELIMINARY this bit is low, IRQ1 is a level-sensitive i
Signals 2-2 MC68328 USER’S MANUAL 11/6/97 MOTOROLA SIGNAL DESCRIPTIONS 2 PRELIMINARY 2.1 SIGNAL DESCRIPTIONS The DragonBall signals are grouped as s
Interrupt Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 6-9 INTERRUPT 6 CONTROLLER PRELIMINARY to the CPU, but its status can still be observed i
Interrupt Controller 6-10 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULEINTERRUPT 6 CONTROLLER PRELIMINARY MINT0—Mask External INT0 interrupt0 = Enab
Interrupt Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 6-11 INTERRUPT 6 CONTROLLER PRELIMINARY MIRQ6—Mask IRQ6 Interrupt0 = Enable IRQ6 interru
Interrupt Controller6-12 MC68328 USER’S MANUAL 12/9/97 MOTOROLAMODULEINTERRUPT6CONTROLLERPRELIMINARYSPIM—Wake-Up SPI Master Interrupt0 = Disallow SPI
Interrupt ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 6-13INTERRUPT6CONTROLLERPRELIMINARYINT0—Wake-up External INT00 = Disallow INT0 interrupt f
Interrupt Controller6-14 MC68328 USER’S MANUAL 12/9/97 MOTOROLAMODULEINTERRUPT6CONTROLLERPRELIMINARYIRQ6—Wake-up IRQ6 Interrupt0 = Disallow IRQ6 inte
Interrupt ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 6-15INTERRUPT6CONTROLLERPRELIMINARYTIMER2—Timer 2 Interrupt RequestThis bit indicates that
Interrupt Controller6-16 MC68328 USER’S MANUAL 12/9/97 MOTOROLAMODULEINTERRUPT6CONTROLLERPRELIMINARYINT2—External INT2 Interrupt0 = No INT2 interrupt
Interrupt ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 6-17INTERRUPT6CONTROLLERPRELIMINARYIf IRQ3 signal is set to be an edge-triggered interrupt,
Interrupt Controller6-18 MC68328 USER’S MANUAL 12/9/97 MOTOROLAMODULEINTERRUPT6CONTROLLERPRELIMINARYTIMER2—Timer 2 Interrupt RequestThis bit indicates
Signals 2-3 MC68328 USER’S MANUAL 11/6/97 MOTOROLA SIGNAL DESCRIPTIONS 2 PRELIMINARY 2.1.1 Power Pins The MC68328 processor has 20 power supply pins
Interrupt ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 6-19INTERRUPT6CONTROLLERPRELIMINARYINT2—External INT2 Interrupt0 = No INT2 interrupt.1 =
Interrupt Controller6-20 MC68328 USER’S MANUAL 12/9/97 MOTOROLAMODULEINTERRUPT6CONTROLLERPRELIMINARYIf IRQ3 signal is set to be an edge-triggered inte
MOTOROLA MC68328 USER’S MANUAL 12/9/97 7-1 PARALLEL PORTS 7 PRELIMINARY SECTION 7PARALLEL PORTS The DragonBall microprocessor supports up to 10 paral
Parallel Ports 7-2 MC68328 USER’S MANUAL 12/9/97 MOTOROLA PARALLEL PORTS 7 PRELIMINARY 7.1.1 Port K Programming Example Assume the slave SPI is to b
Parallel Ports MOTOROLA MC68328 USER’S MANUAL 12/9/97 7-3 PARALLEL PORTS 7 PRELIMINARY the corresponding bit in the data register can be read. This v
Parallel Ports 7-4 MC68328 USER’S MANUAL 12/9/97 MOTOROLA PARALLEL PORTS 7 PRELIMINARY 7.3 INTERRUPT PORT The interrupt port (port D) is a basic por
Parallel Ports MOTOROLA MC68328 USER’S MANUAL 12/9/97 7-5 PARALLEL PORTS 7 PRELIMINARY 7.4 DEFAULT PORT CONFIGURATIONS At reset, or when the RESET s
Parallel Ports 7-6 MC68328 USER’S MANUAL 12/9/97 MOTOROLA PARALLEL PORTS 7 PRELIMINARY PD5 (KB5) PD5 Interrupt I/O Input, Interrupt DisabledInternal
Parallel Ports MOTOROLA MC68328 USER’S MANUAL 12/9/97 7-7 PARALLEL PORTS 7 PRELIMINARY 7.5 PROGRAMMING MODEL7.5.1 Port A Registers Port A is multip
Parallel Ports 7-8 MC68328 USER’S MANUAL 12/9/97 MOTOROLA PARALLEL PORTS 7 PRELIMINARY DIR—Direction 0–7These bits control the direction of the corre
Signals 2-4 MC68328 USER’S MANUAL 11/6/97 MOTOROLA SIGNAL DESCRIPTIONS 2 PRELIMINARY 2.1.3 System Control Pins RESET This active-low input signal c
Parallel Ports MOTOROLA MC68328 USER’S MANUAL 12/9/97 7-9 PARALLEL PORTS 7 PRELIMINARY data bits may be read or written at any time. If a pin is conf
Parallel Ports 7-10 MC68328 USER’S MANUAL 12/9/97 MOTOROLA PARALLEL PORTS 7 PRELIMINARY DIR—Direction 0–7These bits control the direction of the corr
Parallel Ports MOTOROLA MC68328 USER’S MANUAL 12/9/97 7-11 PARALLEL PORTS 7PRELIMINARYDIR—Direction 0–7These bits control the direction of the corres
Parallel Ports7-12 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARYIQEN—Inerrupt Enable 0–7These bits allow the individual interrupts
Parallel PortsMOTOROLA MC68328 USER’S MANUAL 12/9/97 7-13PARALLEL PORTS7PRELIMINARYDIR—Direction 0–7These bits control the directions for the associat
Parallel Ports7-14 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARYD—Data 0–7These bits control or report the data on the pins. When t
Parallel Ports7-15 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARYDIR—Direction 0–7These bits control the direction of the correspond
Parallel Ports7-16 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARY7.5.8 Port J RegistersPort J is multiplexed with eight chip-select
Parallel Ports7-17 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARYthe pin. Notice that the actual value on the pin is reported when a
Parallel Ports7-18 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARYDIR—Direction 0–7These bits control the direction of the correspond
Signals 2-5 MC68328 USER’S MANUAL 11/6/97 MOTOROLA SIGNAL DESCRIPTIONS 2 PRELIMINARY PB7–PB0/D7–D0 This bus is the lower data byte or general-purpose
Parallel Ports7-19 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARYDIR—Direction 0–7These bits control the direction of the correspond
Parallel Ports7-20 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARY Freescale Semiconductor, I
MOTOROLA MC68328 USER’S MANUAL 12/9/97 8-1 LCD CONTROLLER 8 PRELIMINARY SECTION 8LCD CONTROLLER The DragonBall liquid crystal display controller prov
LCD Controller 8-2 MC68328 USER’S MANUAL 12/9/97 MOTOROLA LCD CONTROLLER 8 PRELIMINARY 8.1.1 MPU Interface The MPU interface consists of control reg
LCD Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 8-3 LCD CONTROLLER 8 PRELIMINARY 8.1.3 Line Buffer The line buffer collects display data from
LCD Controller 8-4 MC68328 USER’S MANUAL 12/9/97 MOTOROLA LCD CONTROLLER 8 PRELIMINARY 8.2 OPERATION The LCD’s DMA controller is a fly-by 16-bit wid
LCD Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 8-5 LCD CONTROLLER 8 PRELIMINARY To operate, the DMA begins with an internal bus request from t
LCD Controller 8-6 MC68328 USER’S MANUAL 12/9/97 MOTOROLA LCD CONTROLLER 8 PRELIMINARY 8.2.2 Interfacing the LCD Controller with an LCD Panel With t
LCD Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 8-7 LCD CONTROLLER 8 PRELIMINARY toggle on every frame. The LACD output signal is synchronized
LCD Controller 8-8 MC68328 USER’S MANUAL 12/9/97 MOTOROLA LCD CONTROLLER 8 PRELIMINARY Figure 8-4. LCD Interface Timing for 4-, 2-, and 1-Bit Data Wi
Signals 2-6 MC68328 USER’S MANUAL 11/6/97 MOTOROLA SIGNAL DESCRIPTIONS 2 PRELIMINARY 2.1.7 Interrupt Control Pins PD0-PD7/KB0-KB7/INT0-INT7—KEYBOAR
LCD Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 8-9 LCD CONTROLLER 8 PRELIMINARY 8.2.4 DISPLAY CONTROL The LCD controller drives non-split mon
LCD Controller 8-10 MC68328 USER’S MANUAL 12/9/97 MOTOROLA LCD CONTROLLER 8 PRELIMINARY 8.2.5 Cursor Control Logic To define the position of the ha
LCD Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 8-11 LCD CONTROLLER 8 PRELIMINARYFigure 8-6. Mapping Memory Data on the Screen76543210(0,0) (1,
LCD Controller8-12 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARYFigure 8-7. Grayscale GenerationBD / DATA /µCODEBD / DATA / µCODE0K
LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-13LCD CONTROLLER8PRELIMINARY8.2.7 Grayscale GenerationThe LCD controller is configured to only
LCD Controller8-14 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARY8.2.9 Low-Power ModeWhen the LCDON bit of the LCKCON register is s
LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-15LCD CONTROLLER8PRELIMINARY8.3 SYSTEM MEMORY CONTROL REGISTERS8.3.1 LCD Screen Starting Addr
LCD Controller8-16 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARY8.4 SCREEN FORMAT REGISTERS8.4.1 LCD Screen Width RegisterTh LCD
LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-17LCD CONTROLLER8PRELIMINARY8.5 CURSOR CONTROL REGISTERS8.5.1 LCD Cursor X Position RegisterT
LCD Controller8-18 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARY8.5.3 LCD Cursor Width and Height RegisterThe LCD cursor width and
Commentaires sur ces manuels