
- •Table of Contents
- •Index
- •List of Figures
- •List of Tables
- •Overview
- •1.1 Introduction
- •1.1.1 Manual Organization
- •1.1.2 Manual Conventions
- •True
- •Asserted
- •False
- •Deasserted
- •Ground2
- •True
- •Asserted
- •Ground2
- •False
- •Deasserted
- •1.2 DSP56011 Features
- •1.3 DSP56011 Architectural Overview
- •Y Data
- •Memory
- •1.3.1 Peripheral Modules
- •1.3.2 DSP Core Processor
- •1.3.2.1 Data Arithmetic and Logic Unit (Data ALU)
- •1.3.2.2 Address Generation Unit (AGU)
- •1.3.2.3 Program Control Unit
- •1.3.2.4 Data Buses
- •1.3.2.5 Address Buses
- •1.3.2.6 Phase Lock Loop (PLL)
- •1.3.3 Memories
- •1.3.3.1 Program Memory
- •1.3.3.2 X Data Memory
- •1.3.3.3 Y Data Memory
- •Program RAM
- •Program ROM
- •1.3.3.5 Memory Configuration Bits
- •1.3.3.6 External Memory
- •1.3.3.7 Bootstrap ROM
- •1.3.3.8 Reserved Memory Spaces
- •1.3.4 Input/Output
- •1.3.4.1 Parallel Host Interface (HI)
- •1.3.4.2 Serial Host Interface (SHI)
- •1.3.4.3 Serial Audio Interface (SAI)
- •1.3.4.4 General Purpose I/O
- •1.3.4.5 Digital Audio Transmitter (DAX)
- •Signal Descriptions
- •2.1 Signal Groupings
- •Port B
- •2.2 Power
- •2.3 Ground
- •2.4 Phase Lock Loop (PLL)
- •2.5 Interrupt and Mode Control
- •Input
- •1. to select the initial chip operating mode, and
- •Input
- •1. to select the initial chip operating mode, and
- •Input
- •1. to select the initial chip operating mode, and
- •Input
- •2.6 Host Interface (HI)
- •Input
- •Input
- •Input
- •Input
- •2.7 Serial Host Interface (SHI)
- •2.8 Serial Audio Interface (SAI)
- •2.8.1 SAI Receive Section
- •2.8.2 SAI Transmit Section
- •2.9 General Purpose Input/Output (GPIO)
- •2.10 Digital Audio Interface (DAX)
- •2.11 OnCE Port
- •Output
- •Input
- •Input
- •3.1 Introduction
- •3.2 DSP56011 Data and Program Memory
- •3.2.1 X and Y Data ROM
- •3.2.2 Bootstrap ROM
- •3.3 DSP56011 Data and Program Memory Maps
- •3.3.1 Reserved Memory Spaces
- •3.3.2 Dynamic Switch of Memory Configurations
- •3.3.3 Internal I/O Memory Map
- •3.4 Operating Mode Register (OMR)
- •3.5 Operating Modes
- •3.6 Interrupt Priority Register
- •3.7 Phase Lock Loop (PLL) Configuration
- •Phase
- •Detector
- •3.8 Operation on Hardware Reset
- •Parallel Host Interface
- •4.1 Introduction
- •Parallel
- •Host
- •Interface
- •4.2 Port B Configuration
- •Function
- •Port Control
- •Register Bit
- •Data Direction
- •Register Bit
- •Pin Function
- •4.2.1 Port B Control (PBC) Register
- •4.2.2 Port B Data Direction Register (PBDDR)
- •4.2.3 Port B Data (PBD) Register
- •4.3 Programming the GPIO
- •4.4 Host Interface (HI)
- •4.4.1 HI Features
- •4.4.2 HI Block Diagram
- •DSP CPU Global
- •Data Bus
- •4.4.4.1 HI Control Register (HCR)
- •4.4.4.2 HI Status Register (HSR)
- •Host to DSP56011 Status Flags
- •4.4.4.3 HI Receive Data Register (HORX)
- •4.4.4.4 HI Transmit Data Register (HOTX)
- •4.4.4.5 Register Contents After Reset
- •HCIE
- •HTIE
- •HRIE
- •HTDE
- •HRDF
- •HORX
- •X:$FFEB
- •HORX
- •HOTX
- •X:$FFEB
- •HOTX
- •4.4.4.6 DSP Interrupts
- •1. receive data register full,
- •2. transmit data register empty, and
- •3. host command.
- •4.4.5.2 Host Command
- •4.4.5.3 Interrupt Control Register (ICR)
- •Interrupt Mode
- •No Interrupts (Polling)
- •RXDF Request (Interrupt)
- •TXDE Request (Interrupt)
- •DMA Mode
- •DSP to Host Request (RX)
- •Host to DSP Request (TX)
- •Undefined (Illegal)
- •Mask
- •Interrupt Mode (DMA Off)
- •DMA Mode (24-bit)
- •DMA Mode (16-bit)
- •DMA Mode (8-bit)
- •4.4.5.4 HI Initialization
- •Interrupt Mode (HM1 = 0, HM0 = 0) INIT Execution
- •INIT = 0; Address Counter = 00
- •None
- •DSP to Host
- •Host to DSP
- •DMA Mode (HM1 or HM0 = 1) INIT Execution
- •None
- •DSP to Host
- •Host to DSP
- •Undefined (Illegal)
- •Undefined
- •4.4.5.5 Command Vector Register (CVR)
- •4.4.5.6 Interrupt Status Register (ISR)
- •4.4.5.7 Interrupt Vector Register (IVR)
- •4.4.5.8 Receive Byte Registers (RXH, RXM, RXL)
- •4.4.5.9 Transmit Byte Registers (TXH, TXM, TXL)
- •4.4.5.10 Registers After Reset
- •INIT
- •TREQ
- •RREQ
- •HOREQ
- •TRDY
- •TXDE
- •RXDF
- •4.4.6 HI Signals
- •4.4.6.3 HI Read/Write (HR/W)
- •4.4.6.4 HI Enable (HEN)
- •4.4.6.5 Host Request (HOREQ)
- •4.4.6.6 Host Acknowledge (HACK)
- •4.4.7 Servicing the HI
- •3. strobes the data transfer using HEN.
- •4.4.7.3 Polling
- •HOREQ Asserted
- •DMA ACK Gated Off
- •4.4.7.5 Servicing DMA Interrupts
- •4.4.8 Host Interface Application Examples
- •4.4.8.1 HI Initialization
- •Step 1
- •TREQ
- •RREQ
- •INIT Execution
- •2. Assert HACK (if the interface is using HACK).
- •5. Assert HEN to enable the HI.
- •5. Writing data to TXL clears TXDE in the ISR.
- •TRANSFER
- •2. The HC bit is then set.
- •4.4.8.3 DMA Data Transfer
- •1. Host asserts the HOREQ pin when TXDE = 1.
- •4.4.8.4.2 Overwriting Transmit Byte Registers
- •4.4.8.4.4 Overwriting the Host Vector
- •4.4.8.4.6 Coordinating Data Transfers
- •4.4.8.4.7 Unused Pins
- •Serial Host Interface
- •5.1 Introduction
- •5.2 Serial Host Interface Internal Architecture
- •5.3 SHI Clock Generator
- •5.4 Serial Host Interface Programming Model
- •Highest
- •Lowest
- •5.4.6.1.1 SHI Individual Reset
- •8-bit data
- •16-bit data
- •24-bit data
- •Reserved
- •5.5 Characteristics Of The SPI Bus
- •5.6 Characteristics Of The I2C Bus
- •5.6.1 Overview
- •5.7 SHI Programming Considerations
- •5.7.1 SPI Slave Mode
- •5.7.2 SPI Master Mode
- •5.7.5 SHI Operation During Stop
- •Serial Audio Interface
- •6.1 Introduction
- •6.2 Serial Audio Interface Internal Architecture
- •6.2.2 Receive Section Overview
- •6.2.3 SAI Transmit Section Overview
- •6.3 Serial Audio Interface Programming Model
- •Left Channel Transmit
- •Right Channel Transmit
- •Transmit Exception
- •Left Channel Receive
- •Right Channel Receive
- •Receive Exception
- •Highest
- •Lowest
- •6.3.1 Baud Rate Control Register (BRC)
- •6.3.2 Receiver Control/Status Register (RCS)
- •Reserved
- •6.3.3 SAI Receive Data Registers (RX0 and RX1)
- •6.3.4 Transmitter Control/Status Register (TCS)
- •Reserved
- •6.4 Programming Considerations
- •6.4.1 SAI Operation During Stop
- •6.4.2 Initiating a Transmit Session
- •6.4.4 SAI State Machine
- •GPIO
- •7.1 Introduction
- •7.2 GPIO Programming Model
- •7.3 GPIO Register (GPIOR)
- •Digital Audio Transmitter
- •8.1 Overview
- •8.2 DAX Signals
- •8.3 DAX Functional Overview
- •8.4 DAX Programming Model
- •8.5 DAX Internal Architecture
- •8.5.2 DAX Audio Data Buffer (XADBUF)
- •8.5.3 DAX Audio Data Shift Register (XADSR)
- •8.5.4 DAX Control Register (XCTR)
- •8.5.5 DAX Status Register (XSTR)
- •8.5.7 DAX Parity Generator (PRTYG)
- •8.5.8 DAX Biphase Encoder
- •8.5.9 DAX Preamble Generator
- •A (first in block)
- •8.5.10 DAX Clock Multiplexer
- •8.5.11 DAX State Machine
- •8.6 DAX Programming Considerations
- •8.6.1 Initiating A Transmit Session
- •8.6.2 Transmit Register Empty Interrupt Handling
- •8.6.3 Block Transferred Interrupt Handling
- •8.6.4 DAX Operation During Stop
- •Bootstrap ROM Contents
- •A.1 INTRODUCTION
- •A.2 BOOTSTRAPPING THE DSP
- •A.3 Bootstrap Program Listing
- •Programming Reference
- •Central Processor:
- •Parallel Host Interface
- •Serial Host Interface
- •Serial Audio Interface
- •Digital Audio Transmitter
- •A.1 Introduction
- •A.2 Peripheral Addresses
- •A.3 Interrupt Addresses
- •A.4 Interrupt Priorities
- •A.5 Instruction Set Summary
- •A.6 Programming Sheets
- •X:$FFFF
- •X:$FFFE
- •X:$FFFD
- •X:$FFFC
- •X:$FFFB
- •X:$FFFA
- •X:$FFEF
- •X:$FFEE
- •X:$FFED
- •X:$FFEC
- •X:$FFEB
- •X:$FFEA
- •X:$FFDF
- •X:$FFDE
- •X:$FFDD
- •X:$FFDC
- •X:$FFDB
- •X:$FFDA
- •Interrupt
- •Starting Address
- •Interrupt Source
- •Level 3 (Nonmaskable)
- •Levels 0, 1, 2 (Maskable)
- •Mnemonic
- •Syntax
- •Parallel Moves
- •Status Request
- •Bits:
- •Enabled
- •Multiplication Factor Bits MF0–MF11
- •Multiplication Factor MF
- •Function
- •General Purpose I/O (Reset Condition)
- •Host Interface
- •Reserved
- •Host Transmit Data Register Contents
- •Receive Data Register 0 Contents

Freescale Semiconductor, Inc.
Freescale Semiconductor, Inc.
LIST OF FIGURES
Figure 1-1 DSP56011 Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 Figure 2-1 DSP56011 Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4 Figure 3-1 Memory Maps for PEA = 0, PEB = 0 . . . . . . . . . . . . . . . . . . . . . . 3-5 Figure 3-2 Memory Maps for PEA = 1, PEB = 0 . . . . . . . . . . . . . . . . . . . . . . 3-6
Figure 3-3 Memory Maps for PEA = 0, PEB = 1 . . . . . . . . . . . . . . . . . . . . . . 3-6 Figure 3-4 Memory Maps for PEA = 1, PEB = 1 . . . . . . . . . . . . . . . . . . . . . . 3-7 Figure 3-5 Operating Mode Register (OMR). . . . . . . . . . . . . . . . . . . . . . . . 3-11
Figure 3-6 Interrupt Priority Register (Addr X:$FFFF) . . . . . . . . . . . . . . . . 3-14 Figure 3-7 PLL Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18 Figure 4-1 Port B Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3 Figure 4-2 Parallel Port B Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4 Figure 4-3 Port B GPIO Signals and Registers. . . . . . . . . . . . . . . . . . . . . . . 4-4 Figure 4-4 Port B I/O Pin Control Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5 Figure 4-5 Instructions to Write/Read Parallel Data with Port B . . . . . . . . . . 4-7
Figure 4-6 I/O Port B Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8 Figure 4-7 HI Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11 Figure 4-8 HI Programming Model–DSP Viewpoint . . . . . . . . . . . . . . . . . . 4-12 Figure 4-9 HI Flag Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16 Figure 4-10 Host Processor Programming Model–Host Side . . . . . . . . . . . . 4-21
MOTOROLA |
DSP56011 User’s Manual |
xi |
|
For More Information On This Product, |
|
|
Go to: www.freescale.com |
|

Freescale Semiconductor, Inc.
Freescale Semiconductor, Inc.
Figure 4-11 HI Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22 Figure 4-12 HSR and HCR Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24 Figure 4-13 Command Vector Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-27 Figure 4-14 Host Processor Transfer Timing. . . . . . . . . . . . . . . . . . . . . . . . . 4-35 Figure 4-15 Interrupt Vector Register Read Timing. . . . . . . . . . . . . . . . . . . . 4-38 Figure 4-16 HI Interrupt Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-38 Figure 4-17 DMA Transfer Logic and Timing. . . . . . . . . . . . . . . . . . . . . . . . . 4-39 Figure 4-18 HI Initialization Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-40 Figure 4-19 HI Initialization—DSP Side. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-41 Figure 4-20 HI Initialization—Host Side, Interrupt Mode . . . . . . . . . . . . . . . . 4-42 Figure 4-21 HI Mode and INIT Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-43 Figure 4-22 HI Initialization—Host Side, Polling Mode . . . . . . . . . . . . . . . . . 4-44 Figure 4-23 HI Configuration—Host Side . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-44 Figure 4-24 HI Initialization–Host Side, DMA Mode . . . . . . . . . . . . . . . . . . . 4-45 Figure 4-25 Bits Used for Host-to-DSP Transfer . . . . . . . . . . . . . . . . . . . . . . 4-46 Figure 4-26 Data Transfer from Host to DSP . . . . . . . . . . . . . . . . . . . . . . . . 4-48
Figure 4-27 Host Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-50 Figure 4-28 Receive Data from Host—Main Program . . . . . . . . . . . . . . . . . . 4-51
Figure 4-29 Receive Data from Host Interrupt Routine . . . . . . . . . . . . . . . . . 4-51
Figure 4-30 Transmit/Receive Byte Registers . . . . . . . . . . . . . . . . . . . . . . . . 4-52 Figure 4-31 Bootstrap Using the Host Interface . . . . . . . . . . . . . . . . . . . . . . 4-53 Figure 4-32 Bits Used for DSP to Host Transfer . . . . . . . . . . . . . . . . . . . . . . 4-55
xii |
DSP56011 User’s Manual |
MOTOROLA |
For More Information On This Product,
Go to: www.freescale.com

Freescale Semiconductor, Inc.
Freescale Semiconductor, Inc.
Figure 4-33 |
Data Transfer from DSP to Host . . . . . . . . . . . . . . . . . . . . . . . . |
4-56 |
Figure 4-34 |
Main Program: Transmit 24-bit Data to Host . . . . . . . . . . . . . . . |
4-57 |
Figure 4-35 |
HI Hardware–DMA Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
4-58 |
Figure 4-36 |
DMA Transfer and HI Interrupts . . . . . . . . . . . . . . . . . . . . . . . . |
4-59 |
Figure 4-37 |
Host to DSP DMA Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . |
4-61 |
Figure 5-1 |
Serial Host Interface Block Diagram . . . . . . . . . . . . . . . . . . . . . |
. 5-4 |
Figure 5-2 |
SHI Clock Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. 5-5 |
Figure 5-3 |
SHI Programming Model—Host Side . . . . . . . . . . . . . . . . . . . . . |
5-5 |
Figure 5-4 |
SHI Programming Model—DSP Side . . . . . . . . . . . . . . . . . . . . . |
5-6 |
Figure 5-5 |
SHI I/O Shift Register (IOSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5-8 |
Figure 5-6 |
SPI Data-To-Clock Timing Diagram . . . . . . . . . . . . . . . . . . . . . |
5-10 |
Figure 5-7 |
I2C Bit Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5-20 |
Figure 5-8 |
I2C Start and Stop Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5-21 |
Figure 5-9 |
Acknowledgment on the I2C Bus. . . . . . . . . . . . . . . . . . . . . . . . |
5-21 |
Figure 5-10 |
I2C Bus Protocol For Host Write Cycle . . . . . . . . . . . . . . . . . . . |
5-22 |
Figure 5-11 |
I2C Bus Protocol For Host Read Cycle . . . . . . . . . . . . . . . . . . . |
5-22 |
Figure 6-1 |
SAI Baud-Rate Generator Block Diagram . . . . . . . . . . . . . . . . . . |
6-4 |
Figure 6-2 |
SAI Receive Section Block Diagram . . . . . . . . . . . . . . . . . . . . . . |
6-5 |
Figure 6-3 |
SAI Transmit Section Block Diagram . . . . . . . . . . . . . . . . . . . . . |
6-7 |
Figure 6-4 |
SAI Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
6-8 |
Figure 6-5 |
Receiver Data Shift Direction (RDIR) Programming . . . . . . . . . |
6-12 |
Figure 6-6 |
Receiver Left/Right Selection (RLRS) Programming. . . . . . . . . |
6-12 |
MOTOROLA |
DSP56011 User’s Manual |
xiii |
|
For More Information On This Product, |
|
|
Go to: www.freescale.com |
|

Freescale Semiconductor, Inc.
Freescale Semiconductor, Inc.
Figure 6-7 Receiver Clock Polarity (RCKP) Programming . . . . . . . . . . . . . 6-13 Figure 6-8 Receiver Relative Timing (RREL) Programming . . . . . . . . . . . . 6-14 Figure 6-9 Receiver Data Word Truncation (RDWT) Programming . . . . . . 6-14 Figure 6-10 Transmitter Data Shift Direction (TDIR) Programming. . . . . . . . 6-19 Figure 6-11 Transmitter Left/Right Selection (TLRS) Programming . . . . . . . 6-19 Figure 6-12 Transmitter Clock Polarity (TCKP) Programming. . . . . . . . . . . . 6-20 Figure 6-13 Transmitter Relative Timing (TREL) Programming . . . . . . . . . . 6-20 Figure 6-14 Transmitter Data Word Expansion (TDWE) Programming. . . . . 6-21 Figure 7-1 GPIO Control/Data Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3 Figure 7-2 GPIO Circuit Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5 Figure 8-1 Digital Audio Transmitter (DAX) Block Diagram. . . . . . . . . . . . . . 8-4 Figure 8-2 DAX Programming Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7 Figure 8-3 DAX Relative Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-11 Figure 8-4 Preamble sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13 Figure 8-5 Clock Multiplexer Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13 Figure A-1 On-chip Peripheral Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . B-4
xiv |
DSP56011 User’s Manual |
MOTOROLA |
For More Information On This Product,
Go to: www.freescale.com