Motorola DSP56012 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Akustika Motorola DSP56012. Motorola DSP56012 User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 270
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - DSP56012

DSP56012UM/DRev. 0Published 11/98 DSP56012 24-Bit Digital Signal ProcessorUser’s Manual Motorola, IncorporatedSemiconductor Products SectorDSP Divisi

Strany 2

x Motorola 8.3 DAX FUNCTIONAL OVERVIEW . . . . . . . . . . . . . . . . . . . . . 8-58.4 DAX PROGRAMMING MODEL . . . . . . . . . . . . . . . . . .

Strany 3 - Table of Contents

4-20 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)4.4.4.6 DSP InterruptsThe HI interface can request interrupt service f

Strany 4

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-214.4.4.7 HI Usage Considerations—DSP SideSynchronization is a common pr

Strany 5 - Motorola v

4-22 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)transfers. The 32-bit MC68020 host processor can use its dynamic bus s

Strany 6

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-23Figure 4-10 Host Processor Programming Model–Host SideInterrupt Vecto

Strany 7 - Motorola vii

4-24 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)4.4.5.3 Interrupt Control Register (ICR)The Interrupt Control Register

Strany 8

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-25In DMA modes, TREQ must be set or cleared by software to select the di

Strany 9 - Motorola ix

4-26 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)Figure 4-12 HSR and HCR Operation4.4.5.3.5 ICR HI Flag 1 (HF1)—Bit 4T

Strany 10

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-27When both HM1 and HM0 are cleared, the DMA mode is disabled, and the T

Strany 11 - Motorola xi

4-28 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)Using the INIT bit to initialize the HI hardware may or may not be nec

Strany 12

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-29counter is not automatically updated, and, as a result, the DMA counte

Strany 13 - List of Figures

Motorola xi B.1 INTRODUCTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3B.2 PERIPHERAL ADDRESSES . . . . . . . . . . . .

Strany 14

4-30 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)4.4.5.5.2 CVR Reserved—Bit 6This reserved bit is unused and read by th

Strany 15

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-314.4.5.6.2 ISR Transmit Data Register Empty (TXDE)—Bit 1The Transmit Da

Strany 16

4-32 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)4.4.5.6.7 ISR DMA Status (DMA)—Bit 6The DMA status (DMA) bit indicates

Strany 17 - List of Tables

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-33Receive Low (RXL). These three registers receive data from the high by

Strany 18

4-34 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)Table 4-5 HI Registers after Reset (Host Side) RegisterNameRegister

Strany 19 - Motorola xix

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-354.4.6 HI SignalsThe fifteen HI signals are described here for convenie

Strany 20

4-36 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)transfer request pin of a DMA controller, or a control input of extern

Strany 21 - OVERVIEW

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-374.4.7 Servicing the HIThe HI can be serviced by using one of the follo

Strany 22 - Overview

4-38 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)3. strobes the data transfer using HEN. When data is being written to

Strany 23 - 1.1 INTRODUCTION

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-395. DMA = 1, signifying the HI is currently being used for DMA transfer

Strany 25 - 1.1.2 Manual Conventions

4-40 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)Figure 4-15 Interrupt Vector Register Read TimingFigure 4-16 HI Inte

Strany 26 - 1.2 DSP56012 FEATURES

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-414.4.7.5 Servicing DMA InterruptsWhen HM0 ≠ 0 and/or HM1 ≠ 0, HOREQ wil

Strany 27 - DSP56012 Features

4-42 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)4.4.8 Host Interface Application ExamplesThe following paragraphs desc

Strany 28

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-43Figure 4-19 HI Initialization—DSP SideX:$FFE8Host Control Register (H

Strany 29

4-44 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)Figure 4-20 HI Initialization—Host Side, Interrupt ModeReserved; writ

Strany 30 - 1.3.2 DSP Core Processor

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-454.4.8.2 Polling/Interrupt Controlled Data TransferHandshake flags are

Strany 31

4-46 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)10The basic data transfer process from the host processor’s view (see

Strany 32

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-475. Assert HEN to enable the HI.6. When HEN is deasserted, the data can

Strany 33 - 1.3.3 Memories

4-48 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)Figure 4-25 Bits Used for Host-to-DSP Transfer0 0 Interrupt Mode (DMA

Strany 34

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-494.4.8.2.1 Host to DSP—Data TransferFigure 4-26 on page 4-50 shows the

Strany 35

Motorola xiii List of Figures Figure 1-1 DSP56012 Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9Figure 2-1 DSP56012 Si

Strany 36 - 1.3.4 Input/Output

4-50 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)Figure 4-26 Data Transfer from Host to DSPTRANSFER$2INTERRUPT STATUSR

Strany 37

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-51The MAIN PROGRAM initializes the Host and then hangs in a wait loop wh

Strany 38

4-52 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)Figure 4-27 Host Command$17—DEFAULTVIEW FROM HOST VIEW FROM DSP560121

Strany 39

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-53The process to execute an HC (see Figure 4-28) is as follows:1. The ho

Strany 40

4-54 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)4.4.8.2.3 Host to DSP—Bootstrap Loading Using the HIThe circuit shown

Strany 41 - SIGNAL DESCRIPTIONS

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-55The actual code used in the bootstrap program is provided in Appendix

Strany 42 - Signal Descriptions

4-56 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)4.4.8.2.4 DSP to Host—Data TransferData transfers from the DSP to the

Strany 43 - 2.1 SIGNAL GROUPINGS

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-57Figure 4-32 Bits Used for DSP to Host TransferHOST DSP56012RXDF—RECEI

Strany 44 - Figure 2-1 DSP56012 Signals

4-58 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)Figure 4-33 Data Transfer from DSP to HostVIEW FROM HOSTX:$FFE8HOST C

Strany 45 - 2.2 POWER

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-59The code shown in Figure 4-34 is essentially the same as the MAIN PROG

Strany 46 - 2.3 GROUND

xiv Motorola Figure 4-13 Command Vector Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-29Figure 4-14 Host Processor Transfer Ti

Strany 47 - 2.4 PHASE LOCK LOOP (PLL)

4-60 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)Figure 4-35 HI Hardware–DMA Mode+5 VDMACONTROLLERTRANSFER REQUESTTRAN

Strany 48 - Interrupt and Mode Control

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-614.4.8.3.1 Host to DSP—Internal ProcessingThe following procedure outli

Strany 49

4-62 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)When the transfer to HORX occurs within the HI, HRDF is set. Assuming

Strany 50 - 2.6 HOST INTERFACE (HI)

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-63Figure 4-37 Host to DSP DMA ProcedureWRITE ICRHOST PROCESSORX:$FFE8HO

Strany 51

4-64 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)The HOREQ will be active immediately after initialization is completed

Strany 52

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-654.4.8.3.4 DSP to Host—DMA ProcedureThe following procedure outlines th

Strany 53

4-66 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)4.4.8.4.2 Overwriting Transmit Byte RegistersThe host programmer shoul

Strany 54 - Serial Host Interface (SHI)

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-67uncertainties of pipelined interrupt processing. For this reason, the

Strany 55

4-68 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)

Strany 56 - 2.8.1 SAI Receive Section

MOTOROLA DSP56012 User’s Manual 5-1 SECTION 5SERIAL HOST INTERFACE

Strany 57 - 2.8.2 SAI Transmit Section

Motorola xv Figure 4-36 DMA Transfer and HI Interrupts . . . . . . . . . . . . . . . . . . . . . . . . .4-61Figure 4-37 Host to DSP DMA Procedure . .

Strany 58

5-2 DSP56012 User’s Manual MOTOROLASerial Host Interface5.1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-35.2

Strany 59 - 2.11 OnCE PORT

Serial Host InterfaceIntroduction MOTOROLA DSP56012 User’s Manual 5-35.1 INTRODUCTIONThe Serial Host Interface (SHI) is a serial I/O interface that p

Strany 60 - OnCE Port

5-4 DSP56012 User’s Manual MOTOROLASerial Host InterfaceSerial Host Interface Internal Architecture5.2 SERIAL HOST INTERFACE INTERNAL ARCHITECTURETh

Strany 61 - AND INTERRUPTS

Serial Host InterfaceSHI Clock Generator MOTOROLA DSP56012 User’s Manual 5-55.3 SHI CLOCK GENERATORThe SHI clock generator generates the serial clock

Strany 62

5-6 DSP56012 User’s Manual MOTOROLASerial Host InterfaceSerial Host Interface Programming ModelFigure 5-4 SHI Programming Model—DSP Side815 14 13 1

Strany 63 - 3.1 INTRODUCTION

Serial Host InterfaceSerial Host Interface Programming Model MOTOROLA DSP56012 User’s Manual 5-7The interrupt vector table for the Serial Host Interf

Strany 64 - 3.2.2 Bootstrap ROM

5-8 DSP56012 User’s Manual MOTOROLASerial Host InterfaceSerial Host Interface Programming Model5.4.1 SHI Input/Output Shift Register (IOSR)—Host Sid

Strany 65 - 3.3.1 Reserved Memory Spaces

Serial Host InterfaceSerial Host Interface Programming Model MOTOROLA DSP56012 User’s Manual 5-95.4.3 SHI Host Receive Data FIFO (HRX)—DSP SideThe 24

Strany 66

5-10 DSP56012 User’s Manual MOTOROLASerial Host InterfaceSerial Host Interface Programming ModelNote: The maximum-allowed internally generated bit c

Strany 67

Serial Host InterfaceSerial Host Interface Programming Model MOTOROLA DSP56012 User’s Manual 5-11used in conjunction with the CPOL bit to select the

Strany 68

xvi Motorola Figure 6-11 Transmitter Left/Right Selection (TLRS) Programming . . . . . . .6-19Figure 6-12 Transmitter Clock Polarity (TCKP) Program

Strany 69

5-12 DSP56012 User’s Manual MOTOROLASerial Host InterfaceSerial Host Interface Programming Modelprescaler is operational. HRS is ignored when the SH

Strany 70 - 3.3.3 Internal I/O Memory Map

Serial Host InterfaceSerial Host Interface Programming Model MOTOROLA DSP56012 User’s Manual 5-13in noisy environments; the bit-rate transfer is stri

Strany 71

5-14 DSP56012 User’s Manual MOTOROLASerial Host InterfaceSerial Host Interface Programming Modelreset be generated (HEN cleared) before changing HI2

Strany 72 - 3.4.3 Stop Delay (SD)—Bit 6

Serial Host InterfaceSerial Host Interface Programming Model MOTOROLA DSP56012 User’s Manual 5-15recommended that an SHI individual reset be generate

Strany 73 - 3.5 OPERATING MODES

5-16 DSP56012 User’s Manual MOTOROLASerial Host InterfaceSerial Host Interface Programming Modelsuspended before transmitting an ACK. While HIDLE is

Strany 74 - Operating Modes

Serial Host InterfaceSerial Host Interface Programming Model MOTOROLA DSP56012 User’s Manual 5-17Note: HRIE[1:0] are cleared by hardware and software

Strany 75 - Interrupt Priority Register

5-18 DSP56012 User’s Manual MOTOROLASerial Host InterfaceSerial Host Interface Programming ModelCPHA = 0, HTDE is set after the end of the data word

Strany 76 - AA0292.11

Serial Host InterfaceCharacteristics Of The SPI Bus MOTOROLA DSP56012 User’s Manual 5-195.4.6.18 HCSR Host Busy (HBUSY)—Bit 22The read-only status bi

Strany 77

5-20 DSP56012 User’s Manual MOTOROLASerial Host InterfaceCharacteristics Of The I2C Bus5.6 CHARACTERISTICS OF THE I2C BUSThe I2C serial bus consists

Strany 78

Serial Host InterfaceCharacteristics Of The I2C Bus MOTOROLA DSP56012 User’s Manual 5-21• Data valid—The state of the data line represents valid data

Strany 79

Motorola xvii List of Tables Table 1-1 High True / Low True Signal Conventions. . . . . . . . . . . . . . . . . . 1-6Table 1-2 DSP56012 Internal Mem

Strany 80 - Operation on Hardware Reset

5-22 DSP56012 User’s Manual MOTOROLASerial Host InterfaceCharacteristics Of The I2C Busgeneration of the stop event. Handshaking may also be accompl

Strany 81 - PARALLEL HOST INTERFACE

Serial Host InterfaceSHI Programming Considerations MOTOROLA DSP56012 User’s Manual 5-23Note: The first data byte in a write-bus cycle can be used as

Strany 82

5-24 DSP56012 User’s Manual MOTOROLASerial Host InterfaceSHI Programming Considerationsoccurred, the contents of HTX are not transferred to IOSR, so

Strany 83 - 4.2 PORT B CONFIGURATION

Serial Host InterfaceSHI Programming Considerations MOTOROLA DSP56012 User’s Manual 5-25HBIE bit is also set, the SHI issues a request to the DSP int

Strany 84 - Port B Configuration

5-26 DSP56012 User’s Manual MOTOROLASerial Host InterfaceSHI Programming ConsiderationsWhen the SHI is enabled and configured in the I2C Slave mode,

Strany 85

Serial Host InterfaceSHI Programming Considerations MOTOROLA DSP56012 User’s Manual 5-275.7.3.2 Transmit Data In I2C Slave ModeA transmit session is

Strany 86

5-28 DSP56012 User’s Manual MOTOROLASerial Host InterfaceSHI Programming Considerations• SCK/SCL is the SCL serial clock output.• MISO/SDA is the SD

Strany 87

Serial Host InterfaceSHI Programming Considerations MOTOROLA DSP56012 User’s Manual 5-29DSPs, one operating as an I2C master device and the other as

Strany 88 - 4.3 PROGRAMMING THE GPIO

5-30 DSP56012 User’s Manual MOTOROLASerial Host InterfaceSHI Programming Considerationscomplete number of words. Remember that for this purpose, the

Strany 89 - 4.4 HOST INTERFACE (HI)

MOTOROLA DSP56012 User’s Manual 6-1SECTION 6SERIAL AUDIO INTERFACE

Strany 90 - 4.4.1 HI Features

xviii Motorola Table 3-5 Interrupt Vectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-17Table 4-1 HI Registers after

Strany 91 - 4.4.2 HI Block Diagram

6-2 DSP56012 User’s Manual MOTOROLASerial Audio Interface6.1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-36.2

Strany 92 - 4.4.3 HI—DSP Viewpoint

Serial Audio InterfaceIntroduction MOTOROLA DSP56012 User’s Manual 6-36.1 INTRODUCTIONThe DSP communicates with data sources and sinks through its Se

Strany 93

6-4 DSP56012 User’s Manual MOTOROLASerial Audio InterfaceSerial Audio Interface Internal Architecture• User programmable to support a wide variety o

Strany 94

Serial Audio InterfaceSerial Audio Interface Internal Architecture MOTOROLA DSP56012 User’s Manual 6-56.2.2 Receive Section OverviewThe receive secti

Strany 95

6-6 DSP56012 User’s Manual MOTOROLASerial Audio InterfaceSerial Audio Interface Internal Architecture6.2.3 SAI Transmit Section OverviewThe transmit

Strany 96

Serial Audio InterfaceSerial Audio Interface Internal Architecture MOTOROLA DSP56012 User’s Manual 6-7.The transmitter section data path consists of

Strany 97

6-8 DSP56012 User’s Manual MOTOROLASerial Audio InterfaceSerial Audio Interface Programming Model6.3 SERIAL AUDIO INTERFACE PROGRAMMING MODELThe Ser

Strany 98

Serial Audio InterfaceSerial Audio Interface Programming Model MOTOROLA DSP56012 User’s Manual 6-96.3.1 Baud Rate Control Register (BRC)The serial cl

Strany 99

6-10 DSP56012 User’s Manual MOTOROLASerial Audio InterfaceSerial Audio Interface Programming Model6.3.1.1 Prescale Modulus select (PM[7:0])—Bits 7–0

Strany 100

Serial Audio InterfaceSerial Audio Interface Programming Model MOTOROLA DSP56012 User’s Manual 6-11which is equivalent to the individual reset state.

Strany 101 - Host Interface (HI)

Motorola xix Table B-2 Interrupt Priorities Within an IPL . . . . . . . . . . . . . . . . . . . . . . . . B-6Table B-3 Instruction Set Summary (S

Strany 102

6-12 DSP56012 User’s Manual MOTOROLASerial Audio InterfaceSerial Audio Interface Programming Modeldiscarded according to the Receiver Data Word Trun

Strany 103

Serial Audio InterfaceSerial Audio Interface Programming Model MOTOROLA DSP56012 User’s Manual 6-136.3.2.8 RCS Receiver Clock Polarity (RCKP)—Bit 8Th

Strany 104

6-14 DSP56012 User’s Manual MOTOROLASerial Audio InterfaceSerial Audio Interface Programming Model6.3.2.10 RCS Receiver Data Word Truncation (RDWT)—

Strany 105

Serial Audio InterfaceSerial Audio Interface Programming Model MOTOROLA DSP56012 User’s Manual 6-156.3.2.11 RCS Receiver Interrupt Enable (RXIE)—Bit

Strany 106

6-16 DSP56012 User’s Manual MOTOROLASerial Audio InterfaceSerial Audio Interface Programming Model6.3.2.13 RCS Receiver Left Data Full (RLDF)—Bit 14

Strany 107

Serial Audio InterfaceSerial Audio Interface Programming Model MOTOROLA DSP56012 User’s Manual 6-176.3.3 SAI Receive Data Registers (RX0 and RX1)The

Strany 108

6-18 DSP56012 User’s Manual MOTOROLASerial Audio InterfaceSerial Audio Interface Programming Model6.3.4.3 TCS Transmitter 2 Enable (T2EN)—Bit 2The r

Strany 109 - Command Vector Register (CVR)

Serial Audio InterfaceSerial Audio Interface Programming Model MOTOROLA DSP56012 User’s Manual 6-196.3.4.7 TCS Transmitter Left Right Selection (TLRS

Strany 110

6-20 DSP56012 User’s Manual MOTOROLASerial Audio InterfaceSerial Audio Interface Programming Model6.3.4.9 TCS Transmitter Relative Timing (TREL)—Bit

Strany 111

Serial Audio InterfaceSerial Audio Interface Programming Model MOTOROLA DSP56012 User’s Manual 6-21register, the last bit is transmitted eight times.

Strany 112

DSP56012UM/DRev. 0Published 11/98 This document (and other documents) can be viewed on the World WideWeb at http://www.motorola-dsp.com.This manual i

Strany 113

xx Motorola

Strany 114

6-22 DSP56012 User’s Manual MOTOROLASerial Audio InterfaceSerial Audio Interface Programming ModelTo clear TLDE or TRDE during left or right channel

Strany 115 - 4.4.6 HI Signals

Serial Audio InterfaceSerial Audio Interface Programming Model MOTOROLA DSP56012 User’s Manual 6-23condition. TLDE is cleared by hardware reset and s

Strany 116

6-24 DSP56012 User’s Manual MOTOROLASerial Audio InterfaceProgramming Considerations6.4 PROGRAMMING CONSIDERATIONSThis section discusses some import

Strany 117 - 4.4.7 Servicing the HI

Serial Audio InterfaceProgramming Considerations MOTOROLA DSP56012 User’s Manual 6-25When operating in the Master mode, the following initialization

Strany 118 - DSP56012 Technical Data

6-26 DSP56012 User’s Manual MOTOROLASerial Audio InterfaceProgramming ConsiderationsAs a result, when the WSR/WST transition appears earlier than ex

Strany 119

MOTOROLA DSP56012 User’s Manual 7-1SECTION 7GPIO

Strany 120 - AA0323.11

7-2 DSP56012 User’s Manual MOTOROLAGPIO7.1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-37.2 GPIO PROGRAMMING

Strany 121

GPIOIntroduction MOTOROLA DSP56012 User’s Manual 7-37.1 INTRODUCTIONThe General Purpose Input/Output (GPIO) pins are used for control and handshake f

Strany 122

7-4 DSP56012 User’s Manual MOTOROLAGPIOGPIO Register (GPIOR)7.3.1 GPIOR Data Bits (GD[7:0])—Bits 7–0The read/write GPIO Data bits (GD[7:0]) are used

Strany 123

GPIOGPIO Register (GPIOR) MOTOROLA DSP56012 User’s Manual 7-5• When the GCx bit is cleared and the GDDx bit is cleared (the pin is defined as an inpu

Strany 124

MOTOROLA DSP56012 User’s Manual 1-1 SECTION 1OVERVIEW

Strany 125

7-6 DSP56012 User’s Manual MOTOROLAGPIOGPIO Register (GPIOR)

Strany 126

MOTOROLA DSP56012 User’s Manual 8-1SECTION 8DIGITAL AUDIO TRANSMITTER

Strany 127

8-2 DSP56012 User’s Manual MOTOROLADigital Audio Transmitter8.1 OVERVIEW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Strany 128

Digital Audio TransmitterOverview MOTOROLA DSP56012 User’s Manual 8-38.1 OVERVIEWThe Digital Audio Transmitter (DAX) is a serial audio interface modu

Strany 129

8-4 DSP56012 User’s Manual MOTOROLADigital Audio TransmitterDAX Signals8.2 DAX SIGNALSThe DAX has two signal lines:• DAX Digital Audio Output (ADO)—

Strany 130

Digital Audio TransmitterDAX Functional Overview MOTOROLA DSP56012 User’s Manual 8-58.3 DAX FUNCTIONAL OVERVIEWThe DAX consists of:• Audio Data Regis

Strany 131

8-6 DSP56012 User’s Manual MOTOROLADigital Audio TransmitterDAX Programming ModelThe second sub-frame transmission (Channel B) starts with the pream

Strany 132 - Figure 4-27 Host Command

Digital Audio TransmitterDAX Internal Architecture MOTOROLA DSP56012 User’s Manual 8-78.5.1 DAX Audio Data Registers A and B (XADRA/XADRB)XADRA and X

Strany 133 - * ;Now wait for interrupt

8-8 DSP56012 User’s Manual MOTOROLADigital Audio TransmitterDAX Internal Architecture8.5.3 DAX Audio Data Shift Register (XADSR)The XADSR is a 27-bi

Strany 134

Digital Audio TransmitterDAX Internal Architecture MOTOROLA DSP56012 User’s Manual 8-98.5.4.4 DAX Clock Input Select (XCS[1:0])—Bits 3–4The XCS[1:0]

Strany 135

1-2 DSP56012 User’s Manual MOTOROLA Overview 1.1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-31.1.1 Manual O

Strany 136

8-10 DSP56012 User’s Manual MOTOROLADigital Audio TransmitterDAX Internal Architecture8.5.4.10 DAX Channel B User Data (XUB)—Bit 14The value of the

Strany 137

Digital Audio TransmitterDAX Internal Architecture MOTOROLA DSP56012 User’s Manual 8-11Note: The XAUR bit is cleared by reading the XSTR register wit

Strany 138

8-12 DSP56012 User’s Manual MOTOROLADigital Audio TransmitterDAX Internal Architecture8.5.6 DAX Non-Audio Data Buffer (XNADBUF)The XNADBUF is a 3-bi

Strany 139

Digital Audio TransmitterDAX Internal Architecture MOTOROLA DSP56012 User’s Manual 8-13There is no programmable control for the preamble selection. T

Strany 140

8-14 DSP56012 User’s Manual MOTOROLADigital Audio TransmitterDAX Programming ConsiderationsNote: For proper operation of the DAX, the DSP core clock

Strany 141

Digital Audio TransmitterDAX Programming Considerations MOTOROLA DSP56012 User’s Manual 8-158.6.4 DAX Operation During StopThe DAX operation cannot c

Strany 142

8-16 DSP56012 User’s Manual MOTOROLADigital Audio TransmitterDAX Programming Considerations

Strany 143

MOTOROLA DSP56012 User’s Manual A-1APPENDIX ABOOTSTRAP ROM CONTENTS10 00011011010 00011011010 000110110010010100101101010101010101101101010101010010

Strany 144

A-2 DSP56012 User’s Manual MOTOROLABootstrap ROM ContentsA.1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3A.2

Strany 145

Bootstrap ROM Contents MOTOROLA DSP56012 User’s Manual A-3A.1 INTRODUCTIONThis section presents the bootstrap programs (ROM code) contained in the DS

Strany 146

OverviewIntroduction MOTOROLA DSP56012 User’s Manual 1-3 1.1 INTRODUCTION This manual describes in detail the DSP56012 24-bit Digital Signal Proces

Strany 147

A-4 DSP56012 User’s Manual MOTOROLABootstrap ROM ContentsA.3 BOOTSTRAP PROGRAM LISTING; BOOTSTRAP CODE FOR DSP56012—(C) Copyright 1997 Motorola Inc.

Strany 148

Bootstrap ROM Contents MOTOROLA DSP56012 User’s Manual A-5bcr equ $fffe ; BCR Registerpbc equ $ffec

Strany 149 - SERIAL HOST INTERFACE

A-6 DSP56012 User’s Manual MOTOROLABootstrap ROM Contents; “shild” is the routine that loads from the Serial Host Interface.; MC:MB:MA = 101—bootstr

Strany 150 - Serial Host Interface

MOTOROLA DSP56012 User’s Manual B-1APPENDIX BPROGRAMMING REFERENCE

Strany 151 - 5.1 INTRODUCTION

B-2 DSP56012 User’s Manual MOTOROLAProgramming ReferenceB.1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3B.2

Strany 152

Programming Reference MOTOROLA DSP56012 User’s Manual B-3B.1 INTRODUCTIONThis section has been compiled as a reference for programmers. It contains a

Strany 153 - 5.3 SHI CLOCK GENERATOR

B-4 DSP56012 User’s Manual MOTOROLAProgramming ReferenceFigure B-1 On-chip Peripheral Memory Map23 16 15 8 7 0X:$FFFF Interrupt Priority Register (

Strany 154

Programming Reference MOTOROLA DSP56012 User’s Manual B-5Table B-1 Interrupt Starting Addresses and Sources InterruptStarting AddressIPL Interrupt

Strany 155

B-6 DSP56012 User’s Manual MOTOROLAProgramming ReferenceP: $004A 0–2 SAI Receiver Exception if RXIL = 1P: $004C Available for Host Command::P: $004E

Strany 156

Programming Reference MOTOROLA DSP56012 User’s Manual B-7Levels 0, 1, 2 (Maskable)HighestLowestIRQAIRQBSAI Receiver ExceptionSAI Transmitter Exceptio

Strany 157

1-4 DSP56012 User’s Manual MOTOROLA OverviewIntroduction 1.1.1 Manual Organization This manual includes the following sections:• Section 1—Overview

Strany 158

B-8 DSP56012 User’s Manual MOTOROLAProgramming ReferenceTable B-3 Instruction Set Summary (Sheet 1 of 7)Mnemonic Syntax Parallel Moves Instructio

Strany 159

Programming Reference MOTOROLA DSP56012 User’s Manual B-9BTST #n,X:<aa> 1+ea 4+mvb - * - - - - - ?#n,X:<pp>#n,X:<ea>#n,Y:<aa>

Strany 160

B-10 DSP56012 User’s Manual MOTOROLAProgramming Reference#n,S,xxxxJMP xxxx 1+ea 4+jx --------eaJScc xxxx 1+ea 4+jx --------eaJSCLR #n,X:<ea>,x

Strany 161

Programming Reference MOTOROLA DSP56012 User’s Manual B-11MAC (+)S2,S1,D (parallel move) 1+mv 2+mv *******-(+)S1,S2,D (parallel move)(+)S,#n,D (no pa

Strany 162

B-12 DSP56012 User’s Manual MOTOROLAProgramming ReferenceRegister and Y memorydata move(...)S1,D1 Y:<ea>,D2 mv mv * * - - - - - -(...)S1,D

Strany 163

Programming Reference MOTOROLA DSP56012 User’s Manual B-13X:<pp>,Y:<ea>X:<pp>,P:<ea>S,X:<pp>#xxxxxx,X:<pp>X:<e

Strany 164

B-14 DSP56012 User’s Manual MOTOROLAProgramming ReferenceY:<aa>S#xxxRESET 1 4 --------RND D (parallel move) 1+mv 2+mv *******-ROL D (parallel

Strany 165

Programming Reference MOTOROLA DSP56012 User’s Manual B-15CENTRAL PROCESSORApplication:Date:Programmer:Sheet 1 of 4CarryOverflowZeroNegativeUnnormali

Strany 166

B-16 DSP56012 User’s Manual MOTOROLAProgramming ReferenceApplication:Date:Programmer:Sheet 2 of 4 CENTRAL PROCESSOR* = Reserved, write as 0SAL1 SAL0

Strany 167

Programming Reference MOTOROLA DSP56012 User’s Manual B-17Application:Date:Programmer:Sheet 3 of 4 CENTRAL PROCESSOROperating ModeRead/WriteReset = $

Strany 168 - 5.6.1 Overview

OverviewIntroduction MOTOROLA DSP56012 User’s Manual 1-5 1.1.2 Manual Conventions The following conventions are used in this manual:• The word “res

Strany 169 - Characteristics Of The I

B-18 DSP56012 User’s Manual MOTOROLAProgramming ReferenceApplication:Date:Programmer:Sheet 4 of 4 CENTRAL PROCESSOR1514131211109876543210DF3 DF2 MF1

Strany 170 - C Data Transfer Formats

Programming Reference MOTOROLA DSP56012 User’s Manual B-19HISheet 1 of 5Application:Date:Programmer:Port B15PBC1 PBC065432101098714 13 12 1123* = Res

Strany 171 - 5.7.1 SPI Slave Mode

B-20 DSP56012 User’s Manual MOTOROLAProgramming ReferenceSheet 2 of 5Application:Date:Programmer:Host Status Register (HSR)HTDEHCP HRDFHF1 HF0654321

Strany 172 - 5.7.2 SPI Master Mode

Programming Reference MOTOROLA DSP56012 User’s Manual B-21Sheet 3 of 5Application:Date:Programmer:TREQHMO RREQHF1 HF065432107* = Reserved, write as 0

Strany 173 - C Slave Mode

B-22 DSP56012 User’s Manual MOTOROLAProgramming ReferenceSheet 4 of 5Application:Date:Programmer:TXDETRDY RXDFHF3 HF265432107* = Reserved, write as

Strany 174

Programming Reference MOTOROLA DSP56012 User’s Manual B-23Sheet 5 of 5Application:Date:Programmer:700707Receive High Byte Not UsedReceive Middle Byte

Strany 175 - C Master Mode

B-24 DSP56012 User’s Manual MOTOROLAProgramming ReferenceApplication:Date:Programmer:Sheet 1 of 3 S.H.I.* = Reserved, write as 015141312111098765432

Strany 176

Programming Reference MOTOROLA DSP56012 User’s Manual B-25Application:Date:Programmer:Sheet 2 of 3 S.H.I.1514131211109876543210SHI Host TransmitX:$FF

Strany 177

B-26 DSP56012 User’s Manual MOTOROLAProgramming Reference S.H.I.* = Reserved, write as 01514131211109876543210HRQE0 HFIF0 HM1 HM0 HI2C HENSHI Contro

Strany 178

Programming Reference MOTOROLA DSP56012 User’s Manual B-27Application:Date:Programmer:Sheet 1 of 4S.A.I.1514131211109876543210Receiver Control/Status

Strany 179 - SERIAL AUDIO INTERFACE

1-6 DSP56012 User’s Manual MOTOROLA OverviewDSP56012 Features 1.2 DSP56012 FEATURES • Digital Signal Processing Core– Efficient, object-code compa

Strany 180 - Serial Audio Interface

B-28 DSP56012 User’s Manual MOTOROLAProgramming ReferenceApplication:Date:Programmer:Sheet 2 of 4S.A.I.1514131211109876543210Transmitter Control/X:$

Strany 181 - 6.1 INTRODUCTION

Programming Reference MOTOROLA DSP56012 User’s Manual B-29Application:Date:Programmer:Sheet 3 of 4S.A.I.1514131211109876543210SAI Receive DataX:$FFE2

Strany 182 - 6.2.1 Baud-Rate Generator

B-30 DSP56012 User’s Manual MOTOROLAProgramming ReferenceApplication:Date:Programmer:Sheet 4 of 4S.A.I.1514131211109876543210SAI Transmit DataX:$FFE

Strany 183

Programming Reference MOTOROLA DSP56012 User’s Manual B-31Application:Date:Programmer:Sheet 1 of 1GPIO1514131211109876543210GD3 GD2 GD1 GD0GPIO Contr

Strany 184

B-32 DSP56012 User’s Manual MOTOROLAProgramming ReferenceApplication:Date:Programmer:Sheet 1 of 1DAX15 14 13 1211109876543210DAX ControlX:$FFDEReset

Strany 185

IndexMotorola I-1AAddress Buses 1-12Address Generation Unit 1-11AES/EBU 8-3Bbootstrap loading using the HI 4-54Bootstrap Program Listing A-4bootstrap

Strany 186

I-2 MotorolaCircuit Diagram 7-5Control/Data Register 7-3GPIORControl Bits 7-4Data Bits 7-4Data Direction Bits 7-4Pin Definition 7-4Programming Model 7

Strany 187

Motorola I-3Host Mode Control bits (HM1–HM0) 4-26host portusage considerations 2-10host registers after resetas seen by host processor 4-33Host Reques

Strany 188

I-4 MotorolaLLow Power Divider 1-12MManual Conventions 1-5MEC Format 1-19, 6-3Memories 1-13Memory — See Section 3Memory Maps 1-17MF0-MF11 (PLL Multipl

Strany 189

Motorola I-5Programming Model 6-8RCSReceiver 0 Enable 6-10Receiver 1 Enable 6-11Receiver Clock Polarity 6-13Receiver Data Shift Direction 6-12Receiver

Strany 190

OverviewDSP56012 Features MOTOROLA DSP56012 User’s Manual 1-7 – PLL-based clocking with a wide range of frequency multiplications (1 to 4096) and p

Strany 191

I-6 MotorolaHCSRBus Error 5-18Host Busy 5-19Host Receive FIFO Full 5-18Host Receive FIFO Not Empty 5-18Host Receive Overrun Error 5-18Host Transmit Da

Strany 192

1-8 DSP56012 User’s Manual MOTOROLAOverviewDSP56012 Architectural Overview• Two sets of SAI interrupt vectors– SHI features:• Single master capabili

Strany 193

OverviewDSP56012 Architectural Overview MOTOROLA DSP56012 User’s Manual 1-9The DSP56000 core is dual-natured in that there are two independent data m

Strany 194

Motorola iii Table of Contents 1.1 INTRODUCTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-31.1.1 Manual Organization. . .

Strany 195

1-10 DSP56012 User’s Manual MOTOROLAOverviewDSP56012 Architectural Overview1.3.1 Peripheral ModulesThe following peripheral modules are included on

Strany 196

OverviewDSP56012 Architectural Overview MOTOROLA DSP56012 User’s Manual 1-111.3.2.1 Data Arithmetic and Logic Unit (Data ALU)The Data Arithmetic and

Strany 197

1-12 DSP56012 User’s Manual MOTOROLAOverviewDSP56012 Architectural OverviewAGU registers may be read from or written to via the Global Data Bus as 1

Strany 198

OverviewDSP56012 Architectural Overview MOTOROLA DSP56012 User’s Manual 1-131.3.2.7 On-Chip Emulation (OnCE) PortThe On-Chip Emulation (OnCE) port pr

Strany 199

1-14 DSP56012 User’s Manual MOTOROLAOverviewDSP56012 Architectural OverviewP:$000E ReservedP:$0010 0–2 SAI Left Channel Transmitter if TXIL = 0P:$00

Strany 200

OverviewDSP56012 Architectural Overview MOTOROLA DSP56012 User’s Manual 1-151.3.3.2 X Data MemoryThe on-chip X data memory shown in Table 1-4 is 24 b

Strany 201

1-16 DSP56012 User’s Manual MOTOROLAOverviewDSP56012 Architectural Overview1.3.3.5 Memory Configuration BitsThrough the use of bits PEA and PEB in t

Strany 202 - Transmitter Sections

OverviewDSP56012 Architectural Overview MOTOROLA DSP56012 User’s Manual 1-17Table 1-5 On-chip Peripheral Memory Map Address RegisterX:$FFFF Interru

Strany 203 - 6.4.4 SAI State Machine

1-18 DSP56012 User’s Manual MOTOROLAOverviewDSP56012 Architectural Overview1.3.4.1 Parallel Host Interface (HI)The parallel Host Interface (HI) is a

Strany 204 - Programming Considerations

OverviewDSP56012 Architectural Overview MOTOROLA DSP56012 User’s Manual 1-191.3.4.3 Serial Audio Interface (SAI)The DSP can communicate with other de

Strany 205 - SECTION 7

iv Motorola 2.6 HOST INTERFACE (HI) . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-102.7 SERIAL HOST INTERFACE (SHI) . . . . . . . . . . .

Strany 206

1-20 DSP56012 User’s Manual MOTOROLAOverviewDSP56012 Architectural Overview

Strany 207 - 7.3 GPIO REGISTER (GPIOR)

MOTOROLA DSP56012 User’s Manual 2-1SECTION 2SIGNAL DESCRIPTIONS

Strany 208

2-2 DSP56012 User’s Manual MOTOROLASignal Descriptions2.1 SIGNAL GROUPINGS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-32.2 POWER .

Strany 209 - GPIO Register (GPIOR)

Signal DescriptionsSignal Groupings MOTOROLA DSP56012 User’s Manual 2-32.1 SIGNAL GROUPINGSThe DSP56012 input and output signals are organized into t

Strany 210

2-4 DSP56012 User’s Manual MOTOROLASignal DescriptionsSignal GroupingsFigure 2-1 DSP56012 SignalsDSP56012Digital AudioTransmitter (DAX)PLL OnCE™Por

Strany 211 - DIGITAL AUDIO TRANSMITTER

Signal DescriptionsPower MOTOROLA DSP56012 User’s Manual 2-52.2 POWERTable 2-2 Power InputsPower Name DescriptionVCCPPLL Power—VCCP is VCC dedicate

Strany 212 - Digital Audio Transmitter

2-6 DSP56012 User’s Manual MOTOROLASignal DescriptionsGround2.3 GROUNDTable 2-3 GroundsGround Name DescriptionGNDPPLL Ground—GNDP is ground dedica

Strany 213 - 8.1 OVERVIEW

Signal DescriptionsPhase Lock Loop (PLL) MOTOROLA DSP56012 User’s Manual 2-72.4 PHASE LOCK LOOP (PLL) Table 2-4 Phase Lock Loop Signals Signal Name

Strany 214 - 8.2 DAX SIGNALS

2-8 DSP56012 User’s Manual MOTOROLASignal DescriptionsInterrupt and Mode Control2.5 INTERRUPT AND MODE CONTROLTable 2-5 Interrupt and Mode Control

Strany 215 - 8.3 DAX FUNCTIONAL OVERVIEW

Signal DescriptionsInterrupt and Mode Control MOTOROLA DSP56012 User’s Manual 2-9MODC/NMI Input Input Mode Select C/Non-maskable Interrupt Request— T

Strany 216 - 8.5 DAX INTERNAL ARCHITECTURE

Motorola v 4.4.4.1.2 HCR HI Transmit Interrupt Enable (HTIE)—Bit 1 . 4-154.4.4.1.3 HCR HI Command Interrupt Enable (HCIE)—Bit 2 4-154.4.4.1.4 HCR HI

Strany 217 - DAX Internal Architecture

2-10 DSP56012 User’s Manual MOTOROLASignal DescriptionsHost Interface (HI)2.6 HOST INTERFACE (HI) The HI provides a fast parallel data to 8-bit port

Strany 218

Signal DescriptionsHost Interface (HI) MOTOROLA DSP56012 User’s Manual 2-11HR/WPB11InputInput/ OutputInput Host Read/Write—This input selects the dir

Strany 219

2-12 DSP56012 User’s Manual MOTOROLASignal DescriptionsHost Interface (HI)HACKPB14Input Input/ OutputInput Host Acknowledge— This input has two func

Strany 220

Signal DescriptionsSerial Host Interface (SHI) MOTOROLA DSP56012 User’s Manual 2-132.7 SERIAL HOST INTERFACE (SHI) The SHI has five I/O signals that

Strany 221

2-14 DSP56012 User’s Manual MOTOROLASignal DescriptionsSerial Host Interface (SHI)MISO/ SDAInput or OutputTri-stated SPI Master-In-Slave-Out/I2C Dat

Strany 222 - 8.5.9 DAX Preamble Generator

Signal DescriptionsSerial Host Interface (SHI) MOTOROLA DSP56012 User’s Manual 2-15SS/HA2 Input Tri-stated SPI Slave Select/I2C Slave Address 2—This

Strany 223 - 8.5.10 DAX Clock Multiplexer

2-16 DSP56012 User’s Manual MOTOROLASignal DescriptionsSerial Audio Interface (SAI)2.8 SERIAL AUDIO INTERFACE (SAI)The SAI is composed of separate r

Strany 224 - 8.5.11 DAX State Machine

Signal DescriptionsSerial Audio Interface (SAI) MOTOROLA DSP56012 User’s Manual 2-172.8.2 SAI Transmit SectionThe transmit section of the SAI has fiv

Strany 225

2-18 DSP56012 User’s Manual MOTOROLASignal DescriptionsGeneral Purpose Input/Output (GPIO)2.9 GENERAL PURPOSE INPUT/OUTPUT (GPIO) 2.10 DIGITAL AUDIO

Strany 226

Signal DescriptionsOnCE Port MOTOROLA DSP56012 User’s Manual 2-192.11 OnCE PORTTable 2-12 On-Chip Emulation Port (OnCE) Signals Signal NameSignalT

Strany 227 - BOOTSTRAP ROM CONTENTS

vi Motorola 4.4.5.6.4 ISR HI Flag 2 (HF2)—Bit 3 (read only) . . . . . . . . . 4-314.4.5.6.5 ISR HI Flag 3 (HF3)—Bit 4 (read only) . . . . . . . . .

Strany 228 - Bootstrap ROM Contents

2-20 DSP56012 User’s Manual MOTOROLASignal DescriptionsOnCE PortDSO Output Pulled highDebug Serial Output—Data contained in one of the OnCE controll

Strany 229 - A.2 BOOTSTRAPPING THE DSP

SECTION 3MEMORY, OPERATING MODES, AND INTERRUPTS

Strany 230 - A.3 BOOTSTRAP PROGRAM LISTING

3-2 DSP56012 User’s Manual MOTOROLAMemory, Operating Modes, and InterruptsSECTION 3 MEMORY, OPERATING MODES, AND INTERRUPTS. . . . . . . . . . . . .

Strany 231

Memory, Operating Modes, and InterruptsIntroduction MOTOROLA DSP56012 User’s Manual 3-33.1 INTRODUCTIONThe DSP56012 program and data memories are ind

Strany 232

3-4 DSP56012 User’s Manual MOTOROLAMemory, Operating Modes, and InterruptsDSP56012 Data and Program Memory Maps3.2.1 X and Y Data ROMThe X data ROM

Strany 233 - PROGRAMMING REFERENCE

Memory, Operating Modes, and InterruptsDSP56012 Data and Program Memory Maps MOTOROLA DSP56012 User’s Manual 3-53.3.1 Reserved Memory SpacesCertain a

Strany 234 - Programming Reference

3-6 DSP56012 User’s Manual MOTOROLAMemory, Operating Modes, and InterruptsDSP56012 Data and Program Memory MapsFigure 3-2 Memory Maps for PEA = 1,

Strany 235 - DSP56000 Family Manual

Memory, Operating Modes, and InterruptsDSP56012 Data and Program Memory Maps MOTOROLA DSP56012 User’s Manual 3-7Figure 3-3 Memory Maps for PEA = 0,

Strany 236

3-8 DSP56012 User’s Manual MOTOROLAMemory, Operating Modes, and InterruptsDSP56012 Data and Program Memory MapsFigure 3-4 Memory Maps for PEA = 1,

Strany 237

Memory, Operating Modes, and InterruptsDSP56012 Data and Program Memory Maps MOTOROLA DSP56012 User’s Manual 3-9• No accesses (including instruction

Strany 238 - Priority Interrupt

Motorola vii 4.4.8.4.4 Overwriting the Host Vector . . . . . . . . . . . . . . . . . 4-664.4.8.4.5 Cancelling a Pending Host Command interrupt . .

Strany 239

3-10 DSP56012 User’s Manual MOTOROLAMemory, Operating Modes, and InterruptsDSP56012 Data and Program Memory MapsANDI #$F3,OMR ; Clear PEA/PEB bit i

Strany 240 - (DSP56KFAMUM/AD)

Memory, Operating Modes, and InterruptsDSP56012 Data and Program Memory Maps MOTOROLA DSP56012 User’s Manual 3-11X: $FFF5 ReservedX: $FFF4 ReservedX:

Strany 241

3-12 DSP56012 User’s Manual MOTOROLAMemory, Operating Modes, and InterruptsOperating Mode Register (OMR)3.4 OPERATING MODE REGISTER (OMR)The Operati

Strany 242

Memory, Operating Modes, and InterruptsOperating Modes MOTOROLA DSP56012 User’s Manual 3-13T states). When the DSP is driven by a stable external clo

Strany 243

3-14 DSP56012 User’s Manual MOTOROLAMemory, Operating Modes, and InterruptsOperating Modesends up in the first location of the Program ROM (program

Strany 244

Memory, Operating Modes, and InterruptsInterrupt Priority Register MOTOROLA DSP56012 User’s Manual 3-153.6 INTERRUPT PRIORITY REGISTERInterrupt prior

Strany 245

3-16 DSP56012 User’s Manual MOTOROLAMemory, Operating Modes, and InterruptsInterrupt Priority RegisterFigure 3-6 Interrupt Priority Register (Addr

Strany 246

Memory, Operating Modes, and InterruptsInterrupt Priority Register MOTOROLA DSP56012 User’s Manual 3-17SAI Right Channel ReceiverSAI Right Channel Tr

Strany 247 - CENTRAL PROCESSOR

3-18 DSP56012 User’s Manual MOTOROLAMemory, Operating Modes, and InterruptsInterrupt Priority RegisterP: $0018 SAI Right Channel Receiver if RXIL =

Strany 248

Memory, Operating Modes, and InterruptsPhase Lock Loop (PLL) Configuration MOTOROLA DSP56012 User’s Manual 3-193.7 PHASE LOCK LOOP (PLL) CONFIGURATIO

Strany 249

viii Motorola 5.4.6.16 Host Receive Overrun Error (HROE)—Bit 20 . . . . . . 5-185.4.6.17 Host Bus Error (HBER)—Bit 21 . . . . . . . . . . . . . . .

Strany 250

3-20 DSP56012 User’s Manual MOTOROLAMemory, Operating Modes, and InterruptsOperation on Hardware Reset3.8 OPERATION ON HARDWARE RESETThe processor e

Strany 251 - DSP Side

MOTOROLA DSP56012 User’s Manual 4-1SECTION 4PARALLEL HOST INTERFACE

Strany 252 - HTDEHCP HRDFHF1 HF0

4-2 DSP56012 User’s Manual MOTOROLAParallel Host Interface4.1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-34.

Strany 253 - Processor Side

Parallel Host InterfaceIntroduction MOTOROLA DSP56012 User’s Manual 4-34.1 INTRODUCTIONThe parallel Host Interface (HI) can serve as an 8-bit, bidire

Strany 254 - Processor SideHI

4-4 DSP56012 User’s Manual MOTOROLAParallel Host InterfacePort B ConfigurationFigure 4-2 Parallel Port B RegistersBC1 BC0 Function00Parallel I/O (R

Strany 255

Parallel Host InterfacePort B Configuration MOTOROLA DSP56012 User’s Manual 4-5Figure 4-3 Port B GPIO Signals and RegistersPort BPB0PB1PB2PB3PB4PB5P

Strany 256

4-6 DSP56012 User’s Manual MOTOROLAParallel Host InterfacePort B Configuration4.2.1 Port B Control (PBC) RegisterThe Port B Control (PBC) register d

Strany 257

Parallel Host InterfacePort B Configuration MOTOROLA DSP56012 User’s Manual 4-74.2.2 Port B Data Direction Register (PBDDR)For pins configured as GPI

Strany 258

4-8 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceProgramming the GPIO4.3 PROGRAMMING THE GPIOThe DSP56012 on-chip peripheral memory map is

Strany 259

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-9Note: The Port B GPIO timing differs from the timing of the GPIO periph

Strany 260

Motorola ix 6.3.2.10 RCS Receiver Data Word Truncation (RDWT)—Bit 106-146.3.2.11 RCS Receiver Interrupt Enable (RXIE)—Bit 11. . . . . 6-156.3.2.12 R

Strany 261

4-10 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)4.4.1 HI Features• Speed—6.6 million words/sec (19.8 MBytes/sec) Inter

Strany 262

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-11– I/O short addressing provides faster execution with fewer instructio

Strany 263

4-12 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)•4.4.3 HI—DSP ViewpointThe DSP views the HI as a memory-mapped periphe

Strany 264

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-13standard instructions and addressing modes. The MOVEP instruction allo

Strany 265

4-14 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)The following paragraphs describe the purpose and operation of each bi

Strany 266

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-15portion is 0-filled. Any reserved bits are read as 0s and should be wr

Strany 267

4-16 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)Note: Hardware reset and software reset clear HF3.Note: There are four

Strany 268

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-174.4.4.2.3 HSR HI Command Pending (HCP)—Bit 2The HI Command Pending (HC

Strany 269

4-18 DSP56012 User’s Manual MOTOROLAParallel Host InterfaceHost Interface (HI)4.4.4.2.6 HSR Reserved—Bits 5 and 6These status bits are reserved for

Strany 270

Parallel Host InterfaceHost Interface (HI) MOTOROLA DSP56012 User’s Manual 4-19(TXDE) and DSP HI Receive Data Full (HRDF) bits are cleared. This tran

Komentáře k této Příručce

Žádné komentáře