Motorola MC68328 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Processeurs Motorola MC68328. Motorola MC68328 User`s manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 198
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
MOTOROLA
MC68328 USER’S MANUAL 11/6/97
1-1
INTRODUCTION
1
PRELIMINARY
SECTION 1
INTRODUCTION
The MC68328 DragonBall microprocessor is designed to save you time, power, cost, board
space, pin count, and programming steps when designing your product. This functionality
on a different microprocessor could require 20 separate components, each with 16-64
separate pins. Most of these components require interconnects, which may be duplicates.
In fact, each of these connections could not only have a bad solder joint or misrouted trace,
but may require another part to qualify, purchase, inventory, and maintain. These
components take up valuable space on your PCB and they also consume more power. In
addition, the signals between the CPU and a peripheral could be incompatible and may not
run from the same clock, which could require time delays or other special design constraints.
All this combined makes the DragonBall the microprocessor of choice among many system
designers. Its functionality and glue logic are all optimally connected, timed with the same
clock, fully tested, and uniformly documented. Also, only the essential signals are brought
out to the pins. The DragonBall’s primary package consists of a surface-mount plastic TQFP
designed to leave the smallest possible footprint on your board.
This manual will discuss the details of how to initialize, configure, and operate the
DragonBall microprocessor. However, it assumes you have a basic knowledge of 68K
architecture. If you are not familiar with 68K, you should get copies of the
M68000 User’s
Manual
,
M68000 Programmer’s Reference Manual
, and
A Discussion of Interrupts for the
MC68000
to use in conjunction with this manual. You can go to the Motorola website at http:/
/www.motorola.com/pso to download these documents or you can contact your local sales
office for printed versions.
1.1 FEATURES
The following list contains the main features of the DragonBall microprocessor:
MC68EC000 Static Core Processor
100% Compatibility with MC68000 and MC68EC000 Processors
32-Bit Internal Address Bus
24-Bit External Address Bus with Optional 32-Bit Address Bus for a
4G Address Space
16-Bit On-Chip Data Bus for MC68EC000 Bus Operations
Static Design Allows Processor Clock to Be Stopped to Save Power
2.7MIPS Performance Using a 16.67MHz Processor Clock
Selectable Bus Sizing Support for Connecting to 8- and 16-Bit Devices
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Vue de la page 0
1 2 3 4 5 6 ... 197 198

Résumé du contenu

Page 1 - PRELIMINARY

MOTOROLA MC68328 USER’S MANUAL 11/6/97 1-1 INTRODUCTION 1 PRELIMINARY SECTION 1INTRODUCTION The MC68328 DragonBall microprocessor is designed to save

Page 2

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

Page 3

LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-19LCD CONTROLLER8PRELIMINARYBD—Blink Divisor 0–6These bits indicate when the cursor will toggle

Page 4

LCD Controller8-20 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARY8.6.2 LCD Polarity Configuration RegisterThe LCD polarity configur

Page 5

LCD Controller8-21 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARYprogrammed plus one. The default value will toggle the LACD signal

Page 6

LCD Controller8-22 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARY8.7.2 LCD Clocking Control RegisterThe LCD clocking control (LCKCO

Page 7

LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-23LCD CONTROLLER8PRELIMINARYDWIDTH—Data WidthThis bit displays memory data width that indicates

Page 8

LCD Controller8-24 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARY8.7.4 LCD Octet Terminal Count RegisterThe LCD octet terminal coun

Page 9

LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-25LCD CONTROLLER8PRELIMINARYPOS—Pixel Offset Code 0–2These bits specify which of the eight pixe

Page 10

LCD Controller8-26 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARYFor example:8.9 CALCULATING BANDWIDTHThe LCD’s DMA controller cons

Page 11

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

Page 12

LCD Controller8-28 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARY Freescale Semiconductor, I

Page 13

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

Page 14

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

Page 15

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

Page 16

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

Page 17

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)

Page 18

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

Page 19

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

Page 20

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

Page 21

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

Page 22

MOTOROLA MC68328 USER’S MANUAL 12/9/97 10-1 TIMERS 10 PRELIMINARY SECTION 10TIMERS The DragonBall microprocessor contains two identical general-purp

Page 23

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

Page 24

Signals2-9 MC68328 USER’S MANUAL 11/6/97 MOTOROLASIGNAL DESCRIPTIONS2PRELIMINARYPG3/TOUT2 —TIMER 2 OUTPUT, PORT G 3This bidirectional signal can be p

Page 25

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

Page 26

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

Page 27

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

Page 28

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

Page 29

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

Page 30

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

Page 31

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

Page 32

Timers 10-10 MC68328 USER’S MANUAL 12/9/97 MOTOROLA TIMERS 10 PRELIMINARY Freescale Semiconductor, I

Page 33

MOTOROLA MC68328 USER’S MANUAL 12/9/97 11-1 UART 11 PRELIMINARY SECTION 11UNIVERSAL ASYNCHRONOUS RECEIVER/TRANSMITTER The universal asynchronous rece

Page 34

Universal Asynchronous Receiver/Transmitter 11-2 MC68328 USER’S MANUAL 12/9/97 MOTOROLA UART 11 PRELIMINARY 11.2 SERIAL INTERFACE SIGNALS There are

Page 35

Signals2-10 MC68328 USER’S MANUAL 11/6/97 MOTOROLASIGNAL DESCRIPTIONS2PRELIMINARYLCLK—SHIFT CLOCKThis is the clock output to which the output data to

Page 36

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

Page 37

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

Page 38

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

Page 39

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

Page 40

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

Page 41

Universal Asynchronous Receiver/Transmitter 11-8 MC68328 USER’S MANUAL 12/9/97 MOTOROLA UART 11 PRELIMINARY TX EN—Transmitter EnableThis bit enables

Page 42

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

Page 43

Universal Asynchronous Receiver/Transmitter 11-10 MC68328 USER’S MANUAL 12/9/97 MOTOROLA UART 11 PRELIMINARY TX HALF EN—Transmitter Half EnableWhen t

Page 44

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

Page 45

Universal Asynchronous Receiver/Transmitter 11-12 MC68328 USER’S MANUAL 12/9/97 MOTOROLAUART11PRELIMINARYGPIO—GPIO Status/ControlIf GPIO is configure

Page 46

Signals2-11 MC68328 USER’S MANUAL 11/6/97 MOTOROLASIGNAL DESCRIPTIONS2PRELIMINARY2.2 PIN ASSIGNMENTThe MC68328 pin assignment is shown in Figure 2-1.

Page 47

Universal Asynchronous Receiver/TransmitterMOTOROLA MC68328 USER’S MANUAL 12/9/97 11-13UART11PRELIMINARY11.4.3 UART Receiver RegisterThe UART receive

Page 48

Universal Asynchronous Receiver/Transmitter11-14 MC68328 USER’S MANUAL 12/9/97 MOTOROLAUART11PRELIMINARYFRAME ERROR—Frame ErrorWhen high, this read-on

Page 49

Universal Asynchronous Receiver/TransmitterMOTOROLA MC68328 USER’S MANUAL 12/9/97 11-15UART11PRELIMINARYFIFO HALF—FIFO HalfThis read-only bit indicate

Page 50

Universal Asynchronous Receiver/Transmitter11-16 MC68328 USER’S MANUAL 12/9/97 MOTOROLAUART11PRELIMINARYTX DATA—Transmit DataThis field is the paralle

Page 51

Universal Asynchronous Receiver/TransmitterMOTOROLA MC68328 USER’S MANUAL 12/9/97 11-17UART11PRELIMINARYRTS CONT—RTS ControlThis bit selects the funct

Page 52

Universal Asynchronous Receiver/Transmitter11-18 MC68328 USER’S MANUAL 12/9/97 MOTOROLAUART11PRELIMINARY Freescale Semiconductor, I

Page 53

MOTOROLA MC68328 USER’S MANUAL 11/10/97 12-1 SERIAL PERIPHERAL 10 INTERFACE–MASTER PRELIMINARY SECTION 12SERIAL PERIPHERAL INTERFACE—MASTER The seria

Page 54

Serial Peripheral Interface—Master 12-2 MC68328 USER’S MANUAL 11/10/97 MOTOROLA SERIAL PERIPHERAL 10 INTERFACE–MASTER PRELIMINARY 12.1 OPERATION12.

Page 55

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

Page 56

Serial Peripheral Interface—Master 12-4 MC68328 USER’S MANUAL 11/10/97 MOTOROLA SERIAL PERIPHERAL 10 INTERFACE–MASTER PRELIMINARY DATA RATEThese bit

Page 57

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

Page 58

Serial Peripheral Interface—Master MOTOROLA MC68328 USER’S MANUAL 11/10/97 12-5 SERIAL PERIPHERAL 10 INTERFACE–MASTER PRELIMINARY IRQEN—Interrupt Req

Page 59

MOTOROLA MC68328 USER’S MANUAL 11/10/97 13-1 SERIAL PERIPHERAL 9 INTERFACE–SLAVE PRELIMINARY SECTION 13SERIAL PERIPHERAL INTERFACE—SLAVE The slave se

Page 60

Serial Peripheral Interface—Slave 13-2 MC68328 USER’S MANUAL 11/10/97 MOTOROLA SERIAL PERIPHERAL 9 INTERFACE–SLAVE PRELIMINARY 13.1 OPERATION Users

Page 61

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

Page 62

Serial Peripheral Interface—Slave 13-4 MC68328 USER’S MANUAL 11/10/97 MOTOROLA SERIAL PERIPHERAL 9 INTERFACE–SLAVE PRELIMINARY PHA—PhaseThis bit set

Page 63

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

Page 64

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

Page 65

Pulse-Width Modulator MOTOROLA MC68328 USER’S MANUAL 11/10/97 14-3 PULSE-WIDTH 11 MODULATOR PRELIMINARY IRQEN—Interrupt Request EnableThis bit contro

Page 66

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

Page 67

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

Page 68

MOTOROLA MC68328 USER’S MANUAL 12/9/97 3-1 ARCHITECTURE 3 PRELIMINARY SECTION 3ARCHITECTURE To improve total system throughput and reduce component c

Page 69

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

Page 70

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

Page 71

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

Page 72

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

Page 73

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

Page 74

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

Page 75

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

Page 76

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

Page 77

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

Page 78

MOTOROLA MC68328 USER’S MANUAL 11/10/97 16-1 APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY SECTION 16APPLICATIONS AND DESIGN EXAMPLES This section

Page 79

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

Page 80

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

Page 81

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

Page 82

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

Page 83

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

Page 84

Applications and Design Examples 16-6 MC68328 USER’S MANUAL 11/10/97 MOTOROLA APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY 16.2 SYSTEM INITIALIZA

Page 85

Applications and Design Examples MOTOROLA MC68328 USER’S MANUAL 11/10/97 16-7 APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY PADIR equ (M328BASE+$40

Page 86

Applications and Design Examples 16-8 MC68328 USER’S MANUAL 11/10/97 MOTOROLA APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY TCMP2 equ (M328BASE+$61

Page 87

Applications and Design Examples MOTOROLA MC68328 USER’S MANUAL 11/10/97 16-9 APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY ;**********************

Page 88

Applications and Design Examples 16-10 MC68328 USER’S MANUAL 11/10/97 MOTOROLA APPLICATIONS AND 14 DESIGN EXAMPLES PRELIMINARY jmp _main ; jmp

Page 89

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

Page 90

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

Page 91

Applications and Design Examples 16-12 MC68328 USER’S MANUAL 11/10/97 MOTOROLA APPLICATIONS AND 14DESIGN EXAMPLESPRELIMINARYinterrupt status register

Page 92

Applications and Design ExamplesMOTOROLA MC68328 USER’S MANUAL 11/10/97 16-13APPLICATIONS AND14DESIGN EXAMPLESPRELIMINARY PWM block PWM IRQ

Page 93

Applications and Design Examples16-14 MC68328 USER’S MANUAL 11/10/97 MOTOROLAAPPLICATIONS AND14DESIGN EXAMPLESPRELIMINARYshould poll the IRQ bit for a

Page 94

Applications and Design ExamplesMOTOROLA MC68328 USER’S MANUAL 11/10/97 16-15APPLICATIONS AND14DESIGN EXAMPLESPRELIMINARY16.3 POWER-SAVING TIPSYou ca

Page 95

Applications and Design Examples16-16 MC68328 USER’S MANUAL 11/10/97 MOTOROLAAPPLICATIONS AND14DESIGN EXAMPLESPRELIMINARY16.3.1 LCD Refresh Frequency

Page 96

MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-1 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY SECTION 17ELECTRICAL CHARACTERISTICS <add info about data

Page 97

Electrical Characteristics 17-2 MC68328 USER’S MANUAL 11/10/97 MOTOROLA ELECTRICAL 13 CHARACTERIISTICS PRELIMINARY 17.4 AC ELECTRICAL SPECIFICATIONS

Page 98

Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-3 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY Figure 17-1. Chip-Select Write C

Page 99

Electrical Characteristics 17-4 MC68328 USER’S MANUAL 11/10/97 MOTOROLA ELECTRICAL 13 CHARACTERIISTICS PRELIMINARY Table 17-2. AC Electrical Specific

Page 100

Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-5 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY

Page 101

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

Page 102

Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-6 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY Table 17-3. AC Electrical Specific

Page 103

Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-7 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY Figure 17-3. LCD-DMA Read Cycle Ti

Page 104

Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-8 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY Table 17-4. AC Electrical Specific

Page 105

Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-9 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY Figure 17-5. PCMCIA Read Cycle Tim

Page 106

Electrical Characteristics MOTOROLA MC68328 USER’S MANUAL 11/10/97 17-10 ELECTRICAL 13 CHARACTERISTICS PRELIMINARY Freescale Semiconductor, I

Page 107

MOTOROLA MC68328 USER’S MANUAL 1/29/98 18-1 MECHANICAL 18 CHARACTERISTICS SECTION 18MECHANICAL SPECIFICATIONS Figure 18-1. MC68328 144-Lead Plastic

Page 108

Mechanical Specifications 18-2 MC68328 USER’S MANUAL 1/29/98 MOTOROLA MECHANICAL 18 CHARACTERIISTICS Figure 18-2. MC68328 144-Lead Plastic Thin-Quad

Page 109

Mechanical Specifications MOTOROLA MC68328 USER’S MANUAL 1/29/98 18-3 MECHANICAL 18 CHARACTERISTICS Freescale Semiconductor, I

Page 110

Mechanical Specifications 18-4 MC68328 USER’S MANUAL 1/29/98 MOTOROLA MECHANICAL 18 CHARACTERIISTICS Freescale Semiconductor, I

Page 111

Introduction 1-2 MC68328 USER’S MANUAL 11/6/97 MOTOROLA INTRODUCTION 1 PRELIMINARY • System Integration Module Supports Glueless System Design ❏ Syst

Page 112

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

Page 113

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

Page 114

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

Page 115

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

Page 116

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-

Page 117

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

Page 118

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

Page 119

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

Page 120

MOTOROLA MC68328 USER’S MANUAL 12/9/97 4-1 SYSTEM CONTROL 4 PRELIMINARY SECTION 4SYSTEM CONTROL The DragonBall microprocessor contains a system contr

Page 121

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

Page 122

Introduction MOTOROLA MC68328 USER’S MANUAL 11/6/97 1-3 INTRODUCTION 1 PRELIMINARY ❏ External POCSAG Decoder (Slave) Support ❏ Digitizer For A/D Inpu

Page 123

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

Page 124

System Control 4-4 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULESYSTEM CONTROL 4 PRELIMINARY Freescale Semiconductor, I

Page 125

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

Page 126

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

Page 127

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

Page 128

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

Page 129

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

Page 130

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

Page 131

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

Page 132

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

Page 133

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

Page 134

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

Page 135

Chip-Select Logic 5-10 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULECHIP-SELECT LOGIC 5 PRELIMINARY Freescale Semiconductor, I

Page 136

MOTOROLA MC68328 USER’S MANUAL 12/9/97 6-1 INTERRUPT 6 CONTROLLER PRELIMINARY SECTION 6INTERRUPT CONTROLLER The interrupt controller supports a varie

Page 137

Interrupt Controller 6-2 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULEINTERRUPT 6 CONTROLLER PRELIMINARY • Watchdog timer interrupt (level 4)• Real-t

Page 138

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

Page 139

Interrupt Controller 6-4 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULEINTERRUPT 6 CONTROLLER PRELIMINARY 6.2 RESET The reset exception corresponds t

Page 140

Interrupt Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 6-5 INTERRUPT 6 CONTROLLER PRELIMINARY handler. The interrupt service routine should end

Page 141

Interrupt Controller 6-6 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULEINTERRUPT 6 CONTROLLER PRELIMINARY 6.5.1 Interrupt Vector Register The interru

Page 142

Interrupt Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 6-7 INTERRUPT 6 CONTROLLER PRELIMINARY level low. Positive polarity means that an interru

Page 143

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

Page 144

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

Page 145

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

Page 146

Interrupt Controller 6-10 MC68328 USER’S MANUAL 12/9/97 MOTOROLA MODULEINTERRUPT 6 CONTROLLER PRELIMINARY MINT0—Mask External INT0 interrupt0 = Enab

Page 147

Interrupt Controller MOTOROLA MC68328 USER’S MANUAL 12/9/97 6-11 INTERRUPT 6 CONTROLLER PRELIMINARY MIRQ6—Mask IRQ6 Interrupt0 = Enable IRQ6 interru

Page 148

Interrupt Controller6-12 MC68328 USER’S MANUAL 12/9/97 MOTOROLAMODULEINTERRUPT6CONTROLLERPRELIMINARYSPIM—Wake-Up SPI Master Interrupt0 = Disallow SPI

Page 149

Interrupt ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 6-13INTERRUPT6CONTROLLERPRELIMINARYINT0—Wake-up External INT00 = Disallow INT0 interrupt f

Page 150

Interrupt Controller6-14 MC68328 USER’S MANUAL 12/9/97 MOTOROLAMODULEINTERRUPT6CONTROLLERPRELIMINARYIRQ6—Wake-up IRQ6 Interrupt0 = Disallow IRQ6 inte

Page 151

Interrupt ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 6-15INTERRUPT6CONTROLLERPRELIMINARYTIMER2—Timer 2 Interrupt RequestThis bit indicates that

Page 152

Interrupt Controller6-16 MC68328 USER’S MANUAL 12/9/97 MOTOROLAMODULEINTERRUPT6CONTROLLERPRELIMINARYINT2—External INT2 Interrupt0 = No INT2 interrupt

Page 153

Interrupt ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 6-17INTERRUPT6CONTROLLERPRELIMINARYIf IRQ3 signal is set to be an edge-triggered interrupt,

Page 154

Interrupt Controller6-18 MC68328 USER’S MANUAL 12/9/97 MOTOROLAMODULEINTERRUPT6CONTROLLERPRELIMINARYTIMER2—Timer 2 Interrupt RequestThis bit indicates

Page 155

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

Page 156

Interrupt ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 6-19INTERRUPT6CONTROLLERPRELIMINARYINT2—External INT2 Interrupt0 = No INT2 interrupt.1 =

Page 157

Interrupt Controller6-20 MC68328 USER’S MANUAL 12/9/97 MOTOROLAMODULEINTERRUPT6CONTROLLERPRELIMINARYIf IRQ3 signal is set to be an edge-triggered inte

Page 158

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

Page 159

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

Page 160

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

Page 161

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

Page 162

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

Page 163

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

Page 164

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

Page 165

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

Page 166

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

Page 167

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

Page 168

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

Page 169

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

Page 170

Parallel Ports7-12 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARYIQEN—Inerrupt Enable 0–7These bits allow the individual interrupts

Page 171

Parallel PortsMOTOROLA MC68328 USER’S MANUAL 12/9/97 7-13PARALLEL PORTS7PRELIMINARYDIR—Direction 0–7These bits control the directions for the associat

Page 172

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

Page 173

Parallel Ports7-15 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARYDIR—Direction 0–7These bits control the direction of the correspond

Page 174

Parallel Ports7-16 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARY7.5.8 Port J RegistersPort J is multiplexed with eight chip-select

Page 175

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

Page 176

Parallel Ports7-18 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARYDIR—Direction 0–7These bits control the direction of the correspond

Page 177

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

Page 178

Parallel Ports7-19 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARYDIR—Direction 0–7These bits control the direction of the correspond

Page 179

Parallel Ports7-20 MC68328 USER’S MANUAL 12/9/97 MOTOROLAPARALLEL PORTS7PRELIMINARY Freescale Semiconductor, I

Page 180

MOTOROLA MC68328 USER’S MANUAL 12/9/97 8-1 LCD CONTROLLER 8 PRELIMINARY SECTION 8LCD CONTROLLER The DragonBall liquid crystal display controller prov

Page 181

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

Page 182

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

Page 183

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

Page 184

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

Page 185

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

Page 186

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

Page 187

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

Page 188

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

Page 189

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

Page 190

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

Page 191

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,

Page 192

LCD Controller8-12 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARYFigure 8-7. Grayscale GenerationBD / DATA /µCODEBD / DATA / µCODE0K

Page 193

LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-13LCD CONTROLLER8PRELIMINARY8.2.7 Grayscale GenerationThe LCD controller is configured to only

Page 194

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

Page 195 - MECHANICAL SPECIFICATIONS

LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-15LCD CONTROLLER8PRELIMINARY8.3 SYSTEM MEMORY CONTROL REGISTERS8.3.1 LCD Screen Starting Addr

Page 196 - Freescale Semiconductor, Inc

LCD Controller8-16 MC68328 USER’S MANUAL 12/9/97 MOTOROLALCD CONTROLLER8PRELIMINARY8.4 SCREEN FORMAT REGISTERS8.4.1 LCD Screen Width RegisterTh LCD

Page 197

LCD ControllerMOTOROLA MC68328 USER’S MANUAL 12/9/97 8-17LCD CONTROLLER8PRELIMINARY8.5 CURSOR CONTROL REGISTERS8.5.1 LCD Cursor X Position RegisterT

Page 198

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

Pas de commentaire