Revision 3, March
DSP56301 User’s Manual
ASIA/PACIFIC
How to reach us
USA/EUROPE
Japan
Page
Page
Contents
Chapter Core Configuration
Chapter Memory Configuration
Chapter Host Interface HI32
Chapter Programming the Peripherals
Chapter Enhanced Synchronous Serial Interface Essi
Chapter Serial Communication Interface SCI
Index
Chapter Triple Timer Module
Chapter a Bootstrap Program Chapter B Programming Reference
DSP56301 User’s Manual
Figures
Xii
Pulse Width Modulation Toggle Mode, TRM =
DSP Control Register Dctr DSP PCI Control Register Dpcr
Tables
Tables
Essi Clock Sources
Overview
Manual Organization
Ground2
High True/Low True Signal Conventions
Signal/Symbol Logic State Signal State Voltage
Manual Conventions
PIN is a generic term for any pin on the chip
Ground
DSP56300 Core Features
Size Cache
Program RAM Instruction Data RAM Switch Size Cache Size
CE = MS =
Data ALU
DSP56300 Core Functional Blocks
Multiplier-Accumulator MAC
Address Generation Unit AGU
Data ALU Registers
Program Control Unit PCU
Jtag TAP and OnCE Module
PLL and Clock Oscillator
On-Chip Memory
DSP56301 Switch Memory Configuration
Internal Buses
Expansion Area
DMA
Memory Expansion Area
Enhance Synchronous Serial Interface Essi
General-Purpose Input/Output Gpio signals
Peripherals
Host Interface HI32
Serial Communications Interface SCI
Triple Timer Module
DSP56300FM/AD
Related Documents and Web Sites
DSP56301 Documentation
Name Description Order Number
ESSI1
DSP56301 Functional Signal Groupings
Timers JTAG/OnCE Port
Enhanced Synchronous Serial Interfaces ESSI0
Port a
See -2for a listing of the Host Interface/Port B Signals
DSP56301
Host Interface/Port B Detail Signal Diagram
Ground
Power
Power Inputs
Ground Signals
PLL
Clock Signals
Phase-Lock Loop Signals
Clock
External Bus Control
External Memory Expansion Port Port a
External Address Bus
External Data Bus
Output Tri-stated Is asserted for half a clock
Signals are tri-stated
Arbitration is reset to the bus slave state
Output Tri-stated Is an active-low output that is
Bclk
CAS
Nonmaskable Interrupt-After
Interrupt and Mode Control
Interrupt and Mode Control
Signal State Type During Signal Description Name
10.Host Interface
Host Interface HI32
Command 0-3/Byte Enable 0-3 -When the HI32 is programmed
Hperr
HBS
Hpar
Hdak
HWR
Hserr
Hirq
Hstop
Signal PCI Mode Enhanced Universal Bus Mode Gpio Mode Name
11.Summary of HI32 Signals and Modes
HAD12 HD4 HIO12
HP8 HAD8 HD0 HIO8 HP9 HAD9 HD1 HIO9
HAD10 HD2 HIO10
HAD11 HD3 HIO11
Gpio
12.Host Port Pins HI32
PCI
Host Initiator Ready Host Data Bus Direction
Bus Command/Byte Enable Host Address Bus
Host Target Ready Host Data Bus Enable
Reserved
Host Lock Bus Strobe
Parity Error DMA Request
Bus Grant Host Address Enable
Host Device Select Host Select Acknowledge
Hstr
Host System Error Host Interrupt Request
Bus Request Host Transfer Acknowledge
Hreq is deasserted in the same PCI
Initialization Device Select Host Read/Data Strobe
Hstop HWR/HRW
Host Stop Host Write/Read-Write
HRD/HDS
Address/Data Multiplexed Bus Data Bus
Host Bus Clock
Active low, open drain output pin
Hardware Reset
Enhanced Synchronous Serial Interface
Host Interrupt a
PC2
13.Enhanced Synchronous Serial Interface
PC0
PC1
PC4
SCK0
PC3
SRD0
PD2
14.Enhanced Serial Synchronous Interface
PD0
PD1
PD4
SCK1
PD3
SRD1
15.Serial Communication Interface
Timers
Serial Communications Interface SCI
Timer 2 Schmitt-Trigger Input/Output- When timer
16.Triple Timer Signals
Timer 0 Schmitt-Trigger Input/Output- When Timer
Timer 1 Schmitt-Trigger Input/Output- When Timer
17.JTAG/OnCE Interface
Signal Name Type State During Signal Description Reset
Jtag and OnCE Interface
Jtag and OnCE Interface DSP56301 User’s Manual
Program Memory Space
Memory Configuration
Instruction Cache
Memory Switch Modes-Program Memory
Internal Program Memory
Data Memory Space
Program Bootstrap ROM
Memory Switch Modes-X Data Memory
Memory Configuration
Internal Y Data Memory
Memory Switch Modes-Y Data Memory
Internal I/O Space-X Data Memory
External I/O Space-Y Data Memory
Dynamic Memory Configuration Switching
DSP56301 RAM Address Ranges by Configuration
Sixteen-Bit Compatibility Mode Configuration
Internal Memory Configuration Summary
DSP56301 RAM Configurations
RAM
Default
Memory Maps
None 64K $000-$FFF $000-$7FF
16-Bit Space With Default RAM 0, 0
$000-$800 $000-$BFF
16M
None 64K $000-$7FF $000-$BFF
16-Bit Space With Switched Program RAM 0, 1
$000-$BFF $000-$7FF Not addressable
Instruction Cache Enabled 1, 0
16-Bit Space With Instruction Cache Enabled 1, 0
$000-$3FF $000-$BFF Not addressable
Addressable
$0400 $0000
Core Configuration
Core Configuration
Mode
Reset Description Vector
Operating Modes
DSP56301 Operating Modes
Mode Description
Operating Mode Definitions
DSP Clkout rate must be 5/3 of the PCI clock
Address attributes selected default
Low. The DSP56301 is written with 24-bit-wide words
Bootstrap Program
Status Register SR
Central Processor Unit CPU Registers
DMA OMR
Do Loop Flag
Cache Enable
Sixteen-Bit Arithmetic Mode
Do Forever Flag
Sixteen-Bit Compatibility Mode
Priority Exceptions Exceptions Masked Permitted
Scaling Mode
Scaling Rounding Bit SEquation Mode
Interrupt Mask
Unnormalized
Bit Number Bit Name Reset Value Description Limit
Scaling Mode Integer Portion
Extension
Stack Extension Wrap Flag
Operating Mode Register OMR
Operating Mode Register OMR Bit Definitions
Stack Extension Enable
Stack Extension Overflow Flag
Address Trace Enable
Address Attribute Priority Disable
Asynchronous Bus Arbitration Enable
Synchronize Select
Cache Burst Mode Enable
Memory Switch Mode
Bus Release Timing
Chip Operating Mode
Configuring Interrupts
Bit Number Bit Name Reset Value Description Stop Delay Mode
External Bus Disable
Interrupt Priority Registers Iprc and Iprp
Interrupt Sources
Interrupt Table Memory Map
Interrupt Priority Level Bits
VBA$2A
VBA$1A
VBA$1C
VBA$1E
Priority Interrupt Source
Processing Interrupt Source Priorities Within an IPL
Interrupt Source Priorities Within an IPL
TIMER1 overflow interrupt
Host command interrupt
TIMER0 overflow interrupt
TIMER0 compare interrupt
PLL Control Register Pctl Bit Definitions
PLL Control Register Pctl
Bus Control Register
Bus Interface Unit BIU Registers
Bus Area 1 Wait State Control
Bus Default Area Wait State Control
Bus Area 3 Wait State Control
Bus Area 2 Wait State Control
Bstr Bren BME Bple BPS1
Dram Control Register DCR
BRP BRF7 BRF6
BRF3 BRF2 BRF1
10.DRAM Control Register DCR Bit Definitions
Bus Column In-Page Wait State
Bus Page Logic Enable
Bus Dram Page Size
Bus Row Out-of-page Wait States
Bus Number of Address Bits to Compare
Address Attribute Registers AAR0-3
Bus Address to Compare
Bus Program Memory Enable
Bus Packing Enable
Bus Y Data Memory Enable
Bus X Data Memory Enable
DAM5 DAM4 DAM3 DAM2 DAM1 DAM0
DMA Control Registers 5-0 DCR5-0
DIE DTM2 DTM1 DTM0
Dcon
12.DMA Control Register DCR Bit Definitions
DMA Interrupt Enable
DMA Transfer Mode
DTM2-0 Trigger Cleared Transfer Mode After
DPR1-0 Channel Priority
Number Value
DMA Channel Priority
DMA address generation logic, buses, and so forth
Dcon
DMA Continuous Mode Enable
OMR CDP1-0 CP1-0 Core Priority
DRS4-0 Requesting Device
Three-Dimensional Mode
DMA Request Source
DSS1 DSS0
Device Identification Register IDR
DDS1 DDS0
Number Identity See Note
Jtag Identification ID Register
Jtag Boundary Scan Register BSR
Version Information Design Center
Jtag Boundary Scan Register BSR DSP56301 User’s Manual
Programming the Peripherals
Peripheral Initialization Steps
Data Memory
Mapping the Control Registers
Data Transfer Methods
Polling
Interrupts
Advantages and Disadvantages
General-Purpose Input/Output Gpio
3 DMA
Port B Signals and Registers
Port E Signals and Registers
Port C Signals and Registers
Port D Signals and Registers
Timer Gpio
Triple Timer Signals and Registers
General-Purpose Input/Output Gpio DSP56301 User’s Manual
Host Interface HI32
Features
HI32 Features, Core-Side and Host-Side
HI32 Features in PCI Mode and Universal Bus Mode
Overview
Data transfer format converter
PCI Configuration Space
DSP-Side Registers
DSP DMA Data Bus DSP Global Data Bus
Host-to-DSP Data Path
Data Transfer Paths
DSP-To-Host Data Path
Two least significant bytes of two Hrxm
HI32 PCI Master Data Transfer Formats
Dpmc
FC1 FC0
HTF1 HTF0
Transmit Data Transfer Format
Hctr
Three least significant Hrxs bytes
Receive Transfer Data Formats
DSP to Host Data Transfer Format
HRF
Receive Transfer Data Formats
HRST/HRST
Reset States
Type Entered when Description
DSP-Side Operating Modes
PCI
Terminate and Reset Dctrhm = $0
PCI Mode Dctrhm = $1
HI32 Mode
Example 6-1. PCI /DMA Throughput 32-Bit
Multfactor
Self-Configuration Mode Dctrhm = $5
Gpio Mode Dctrhm = $4
Example 6-3. Self-Configuration Procedure for PCI Mode
Host Port Pin Functionality
Host Port Pins
PCI Bus Universal Bus Mode
DSP56301
ISA
Slave
Master
HI32 Programming Model, DSP Side
Memory Register Address Mode
HI32 DSP-Side Programming Model
Bit Number Bit Name
Mode Description Value
DSP Control Register Dctr
10.DSP Control Register Dctr Bit Definitions
Host Read/Write Polarity
Host Data Strobe Mode
Htap
Host Transfer Acknowledge Polarity
DSP PCI Control Register Dpcr
Slave Receive Interrupt Enable
Slave Transmit Interrupt Enable
Host Command Interrupt Enable
IAE
Insert Address Enable
Receive Buffer Lock Enable
11.DSP PCI Control Register Dpcr Bit Definitions
Hserr
Master Wait State Disable
Master Access Counter Enable
Force
Parity Error Interrupt Enable
Transfer Complete Interrupt Enable
Transaction Termination Interrupt Enable
Transaction Abort Interrupt Enable
BL1 BL0
DSP PCI Master Control Register Dpmc
BL4
A PCI Host-to-DSP transaction
12.DSP PCI Master Control Register Dmpc Bit Definitions
Data Transfer Format Control
A PCI DSP-to-Host transaction
DSP PCI Transaction Address High
PCI Data Burst Length
AR9 AR8 AR7 AR6 AR5 AR4 AR3 AR2 AR1 AR0
DSP PCI Address Register Dpar
13.DSP PCI Address Register Dpar Bit Definitions
BE2 BE1
AR1 AR0
PCI Bus Command
C3-0 Command Type
DSP PCI Transaction Address Low
2322212019181716
Bit Bit Name Reset Mode Description Number Value
DSP Status Register DSR
14.DSP Status Register DSR Bit Definitions
Slave Receive Data Request
Srrq UBM
Slave Transmit Data Request
Mode Description Number Value
Host Command Pending
14. DSP Status Register DSR Bit Definitions
Aper Marq Mrrq Mtrq MWS
DSP PCI Status Register Dpsr
15.DSP PCI Status Register Dpsr Bit Definitions
Rdcq MDT Hdtc Trty Tdis TAB MAB
PCI Target Retry
Master Data Transferred
PCI Host Data Transfer Complete
PCI Time Out Termination
PCI Target Abort
PCI Data Parity Error
PCI Address Parity Error
PCI Target Disconnect
PCI Master Receive Data Request
DSP Receive Data Fifo Drxr
15. DSP PCI Status Register Dpsr Bit Definitions
PCI Master Wait States
DSP Slave Transmit Data Register Dtxs
DSP Master Transmit Data Register Dtxm
16.DATH and Dirh Functionality
DSP Host Port Gpio Direction Register Dirh
DSP Host Port Gpio Data Register Dath
Memory Register
Host-Side Programming Model
17.HI32 Programming Model, Host-Side Registers
Host-Side Programming Model
Ignored
18.PCI Bus Commands
Executed as Command Type
HC3/HBE3-HC0/HBE0
19. Host-Side Registers PCI Memory Address Space
20. Host-Side Registers PCI Configuration Address Space
21. Host-Side Registers Universal Bus Mode Address Space
13.Host Interface Control Register Hctr
1 HI32 Control Register Hctr
Twsd PCI
Bit Bit Name Reset Mode Description Number
Target Wait State Disable
22.Host Interface Control Register Hctr Bit Definitions
Host Receive Data Transfer Format
Host Transmit Data Transfer Format
Slave Fetch Type
Inserted Address
SFT UBM
Data path is lost when the reset state is
Universal Bus mode Fetch SFT =
Cleared when the DSP56300 core writes to
Reset, and Strq and Hstrhrrq are cleared
Hirq
Dmae UBM
Dmae Haen
Hirq Pin Hdrq pin
Receive Req uest Enable
Rreq UBM
Dmae Treq Rreq
UBM UBM UBM UBM UBM UBM PCI PCI PCI PCI PCI PCI
Host Interface Status Register Hstr
Hreq Hint HF5 HF4 HF3
Trdy
Treq Rreq Hreq
23.Host Interface Status Register Hstr Bit Definitions
Host Request
Host interrupt a
Transmitter Ready
Host Receive Data Request
Host Transmit Data Request
15.Host Command Vector Register Hcvr
Host Command Vector Register Hcvr
Hnmi UBM
24.Host Command Vector Register Hcvr Bit Definitions
Host Command Vector
Bit Bit Name Reset Value Mode Description Number
Host Slave Receive Data Register Hrxs
Host Command
When the DSP56300 core acknowledges the host command
Host Master Receive Data Register Hrxm
Host Transmit Data Register Htxr
Universal Bus mode Dctrhm = $2 or $3
PCI Mode Dctrhm = $1
DPR Fbbc
Device ID/Vendor ID Configuration Register CDID/CVID
Status/Command Configuration Register CSTR/CCMR
DPE SSE RMA RTA STA
Received Master Abort
Detected Parity Error
Signaled System Error
Signalled Target Abort
Bus Master Enable
System Error Enable
Wait Cycle Control hardwired to zero
Parity Error Response
Class Code/Revision ID Configuration Register CCCR/CRID
Read-only bits that identify the layout of bytes $10-$3F
Header Type hardwired to $00
HT7 HT6 HT5 HT4 HT3 HT2 HT1 HT0
HT7-0
Ccls
Latency Timer High
Cache Line Size
Memory Base Address High/Low
Memory Space Base Address Configuration Register Cbma
Universal Bus Mode Base Address
PM8 PM7 PM6 PM5 PM4 MS1 MS0 MSI
Memory Space Hardwired to zeros
29. Memory Space Base Address Configuration Register Cbma
Memory Base Address Low Hardwired to zeros
Pre-Fetch Hardwired to zero
Example 6-5. Code for Setting the Csid
Maxlat
Interrupt Line-Interrupt Pin Configuration RegisterCILP
IL5 IL4
IL1 IL0
UBM Hrsp
HI32 Programming Model/Quick Reference
HS PH PS
Dctr Hcie
Rble
Dpcr Mtie
Clrt
Hact
Dpmc
Dpar
DSR HCP
Rdcq
Dpsr Aper
Dper
Hdtc
SFT
Treq
Dmae
ISA/EISA
Hrxs
Hcvr
Hnmi
Hrxm
Cbma MSI
Ccmr RMA
Cccr
Chty
SC0
GDB DDB Rclk
Rsma Rsmb Tsma Tclk STD
Tsmb TX0 CRA
Essi Enhancements
Serial Clock SCK
Essi Data and Control Signals
Serial Transmit Data Signal STD
Serial Receive Data Signal SRD
Serial Control Signal SC1
Serial Control Signal SC0
SYN TE0 TE1 TE2 SC0 SC1 SC2 SCK STD SRD
Mode and Signal Definitions
Control Bits Essi Signals
Initialization
Serial Control Signal SC2
Essi After Reset
Operation
Exceptions
Operation
Write data to all enabled transmit registers
Operating Modes Normal, Network, and On-Demand
Normal/Network/On-Demand Mode Selection
Frame Sync Selection
Frame Sync Signal Format
Synchronous/Asynchronous Operating Modes
Frame Sync Polarity
Frame Sync Length for Multiple Devices
Word Length Frame Sync and Data Word Timing
Flags
Byte Format LSB/MSB for the Transmitter
PM7 PM6 PM5 PM4 PM3 PM2 PM1 PM0
Essi Programming Model
Essi Control Register a CRA
WL2 WL1 WL0 ALC
Essi Word Length Selection
Essi Control Register a CRA Bit Definitions
Select SC1
Word Length Control
Prescale Modulus Select
Alignment Control
Frame Rate Divider Control
Prescaler Range
Tclock
CRBTE1 CRBOF0 SSISRIF0
Crbsyn =
Rclock
ESSI0 X$FFFFB6, ESSI1 X$FFFFA6
Essi Control Register B CRB
Shfd
OF1 OF0
Essi Control Register B CRB Bit Definitions
TIE
Transmit Interrupt Enable
Receive Enable
Transmit 0 Enable
Synchronous/Asynchronous
Transmit 1 Enable
Transmit 2 Enable
Mode Select
FSL1 FSL0
OF0
Serial Control Direction
OF1
Serial Output Flag
TX Frame Sync TX Serial Data
Serial Clock RX, TX Frame Sync RX, TX Serial Data
Serial Clock RX Frame Sync RX Serial Data
Essi Bit
CRB SYN Bit Operation
Receiver Interrupt or DMA Request and Flags Set
Bit Operation
SSI Control Register B CRB READ/WRITE
Frame Sync FSL0 = 0, FSL1 = Data Flags
Frame Sync FSL0 = 0, FSL1 = Data Out Flags
Receive Data Register Full
Receiver Overrun Error Flag
Transmitter Underrun Error Flag
Essi Status Register Ssisr
Serial Input Flag
Essi Receive Shift Register
Receive Frame Sync Flag
Transmit Frame Sync Flag
Essi Transmit Shift Registers
Essi Receive Data Register RX
Transmit Registers
Receive Registers
MSB
Transmit Middle Byte Transmit Low Byte Register 24 Bit
WL0
Least Significant
TS9 TS8 TS7 TS6 TS5 TS4 TS3 TS2 TS1 TS0
Essi Transmit Data Registers TX2-0
Essi Time Slot Register TSR
Transmit Slot Mask Registers TSMA, Tsmb
15.ESSI Transmit Slot Mask Register B Tsmb
RS15 RS14 RS13 RS12 RS11 RS10
Receive Slot Mask Registers RSMA, Rsmb
RS7 RS6
RS1 RS0
Port Control Registers Pcrc and Pcrd
Gpio Signals and Registers
ESSI0/ESSI1
Essi Port Signal Configurations
Port Direction Registers Prrc and Prrd
20.Port Data Registers Pdrc X$FFFFBD Pdrd X $FFFFAD
Port Data Registers Pdrc and Pdrd
Serial Communication Interface SCI
Serial Communication Interface SCI
Multidrop Mode
Synchronous Mode
Asynchronous Mode
Transmitting Data and Address Characters
I/O Signals
Wired-OR Mode
Address Mode Wakeup
SCI Serial Clock Sclk
Receive Data RXD
Transmit Data TXD
Woms RWU Wake SBK Ssftd
SCI After Reset
SCI Registers After Reset
Reie Sckp Stir Tmie TIE RIE Ilie
SCI Initialization
Preamble, Break, and Data Transmission Priority
Exceptions
Bootstrap Loading Through the SCI Boot Mode 2 or a
SCI Programming Model
Bit Asynchronous 1 Start, 8 Data, 1 Even Parity, 1 Stop
Bit Synchronous Data Shift Register Mode
WDS2 WDS1 WDS0
Bit Asynchronous 1 Start, 8 Data, 1 Stop
SCI Data Word Formats Ssftd = 0
Stir Tmie TIE RIE Ilie Woms RWU Wake SBK Ssftd WDS2
SCI Control Register SCR
Reie
Idle Line Interrupt Enable
Timer Interrupt Enable
SCI Transmit Interrupt Enable
SCI Receive Interrupt Enable
Woms
Receiver Enable
Wired-OR Mode Select
SCI Shift Direction
Receiver Wakeup Enable
Wakeup Mode Select
Send Break
WDS1 WDS0
Mode Word Formats
Word Select
Idle Rdrf Tdre Trne
SCI Status Register SSR
SCI Status Register SCI Status Register SSR Bit Definitions
Transmitter Empty
Idle Line Flag
Tdre
Sclk
SCI Clock Control Register Sccr
TCM RCM SCP COD
TCM RCM
Sckp = 0 + Sckp =
Bit Counter
Divide by
CD11-0
X1 Clock X16 Clock Sckp =
RX, TX Data Ssftd =
SCI Receive Data Shift Register
SCI Data Registers
SCI Receive Register SRX
SCI Transmit Register STX
Sclk TXD RXD
Port E Control Register Pcre
PE2 PE1 PE0
PDRE1 PDRE0
Port E Direction Register Prre
Port E Data Register Pdre
PRRE1 PRRE0
Gpio Signals and Registers DSP56301 User’s Manual
Triple Timer Module
Triple Timer Module
Tpcr
Triple Timer Module Block Diagram
Individual Timer Block Diagram
GDB
Timer Module Block Diagram
Timer After Reset
Timer Exceptions
Timer Initialization
TCSR0 Tcie
TIO
Triple Timer Modes
Timer Gpio Mode
TC3 TC2 TC1 TC0
TCR Tcpr
Mode 0 internal clock, no timer output TRM =
TLR
Output
Timer Pulse Mode
Mode 1 internal clock TRM =
Pulse width = timer clock Period
= write preload = write compare Clock CLK/2 or prescale CLK
Timer Toggle Mode
Mode 2 internal clock TRM = 1 first event
Toggle Timer
= write compare Clock CLK/2 or prescale CLK
Mode 2 internal clock TRM =
= write preload
TIO Cpuclk +
Timer Event Counter Mode
Mode 3 internal clock TRM =
Input External
= write compare Clock
10.Event Counter Mode, TRM =
Input width Measurement
Signal Measurement Modes
Measurement Input Width Mode
Input
Mode 4 internal clock TRM = 1 first event
Mode 4 internal clock TRM =
Input period Measurement Internal
Measurement Input Period Mode
Mode 5 internal clock TRM =
First event = write preload = write compare
Reads TCR period
Counting, does
May occur TOF=1
Internal
Measurement Capture Mode
Mode 6 internal clock TRM =
Interrupt Service reads TCR delay = M N clock periods
Pulse width modulation
Pulse Width Modulation PWM, Mode
PWM
16.Pulse Width Modulation Toggle Mode, TRM =
Mode 7 internal clock TRM =
17.Pulse Width Modulation Toggle Mode, TRM =
Output Internal
Watchdog Pulse Mode
Watchdog Modes
Pulse Watchdog
= write preload First event
Mode 9 internal clock TRM =
Software does not reset watchdog timer watchdog times out
Toggle
Watchdog Toggle Mode
Mode 10 internal clock TRM =
Watchdog Output
Prescaler Counter
Triple Timer Module Programming Model
Special Cases
DMA Trigger
Tplr = $FFFF83
Timer Prescaler Load
Register Tplr
23 22 21 20 19 18 17
Prescaler Preload Value
Timer Prescaler Load Register Tplr
Prescaler Source
PS1 PS0
TRM INV
Timer Prescaler Count Register Tpcr
Timer Control/Status Register Tcsr
TCF TOF PCE
Data Output
Timer Compare Flag
Timer Overflow Flag
Prescaler Clock Enable
Inverter
Timer Reload Mode
Direction
Number Function
Timer Control
TIO Programmed as Input TIO Programmed as Output Mode INV =
Timer Compare Interrupt Enable
Timer Overflow Interrupt Enable
Timer Enable
Positive polarity
Timer Load Register TLR
Pulse generated by Timer has Timer has negative
Timer Count Register TCR
Timer Compare Register Tcpr
Appendix a
DSP56301 User’s Manual
HBS
Can be stopped
Hdben
Aarv
Mscte EQU
LOOP0
Lbld
Lble
LOOP8
LOOP11
Rep Mac x0,x1,a x,lr0+
ORG PL,PL Patterns
Write to Destination
DSP56301 User’s Manual
Programming Reference
Chapter B
Table B-1.Guide to Programming Sheets
Bit Address Register Name
Internal I/O Memory Map
Table B-2. Internal I/O Memory Map X Data Memory
Peripheral Bit Address Register Name
Table B-2.Internal I/O Memory Map X Data Memory
$FFCA $FFFFCA
$FFCD $FFFFCD
$FFCC $FFFFCC
$FFCB $FFFFCB
$FFB9 $FFFFB9
Essi $FFBC $FFFFBC
$FFBB $FFFFBB
$FFBA $FFFFBA
$FFA9 $FFFFA9
Essi $FFAC $FFFFAC
$FFAB $FFFFAB
$FFAA $FFFFAA
$FF8F $FFFF8F
$FFFF92
$FFFF91
$FFFF90
Table B-3. Interrupt Sources
Interrupt Sources and Priorities
VBA$6E
Table B-3.Interrupt Sources
VBA$6A
VBA$6C
Table B-4.Interrupt Source Priorities Within an IPL
Nonmaskable Host Command Interrupt
ESSI0 receive last slot interrupt
Figure B-1.Status Register SR
Programming Sheets
Burst Mode Enable
External Bus Disable
Stop Delay
Memory Switch Mode
Irqa Mode
Irqd Mode
Irqc Mode
Irqb Mode
Interrupt Priority Register Iprp $FFFFFE Read/Write
Triple Timer IPL
Host IPL
Crystal Range Bit Xtlr
PLL Control Register Pctl $FFFFFD Read/Write
Bus Lock Hold, Bit
Default Area Wait Control, Bits
Bus Control Register BCR $FFFFFB Read/Write
Bus Request Hold, Bit
Dram Control Register DCR $FFFFFA Read/Write
Bus Program Memory Enable, Bit
Bus Packing Enable, Bit
Bus Y Data Memory Enable, Bit
Bus X Data Memory Enable, Bit
DMA Control Registers DCR5-DCR0
Reset = $000000 $FFFFE4, X$FFFFE8, X$FFFFEC Read/Write
Application
DSP Control Register Dctr Read/Write Address X FFFFC5
DSP PCI Control Register Dpcr Address XFFFFC6 Read/Write
= Enables master receive interrupts
Figure B-12.DSP PCI Master Control Register Dpmc
Figure B-13.DSP PCI Address Register Dpar
PCI Bus Command, Bits
HI32 Control Register Hctr Read/Write
Host Non-Maskable Interrupt, Bit
HI32 Command Vector Register Hcvr Read/Write
System Error Enable, Bit
Detected Parity Error, Bit
Signaled System Error, Bit
Signalled Target Abort, Bit
Cache Line Size, Bits
Latency Timer High, Bits
Read/Write
Header Type, Bits
Memory Space Indicator, Bit
HI32 Memory Space Base Address Configuration Register Cbma
Reset = $00000000
PCI Mode Base Address High, Bits Pre-fetch, Bit
Subsystem ID Register, Bits 31-16 Specifies the subsystem ID
ESSI1-X$FFFFA5 Read/Write
Essi Control Register a CRAx ESSI0-X$FFFFB5 Read/Write
ESSI1-X$FFFFA6 Read/Write
Essi Control Register B CRBx
ESSI0-X$FFFFB6 Read/Write
ESSI1-X$FFFFA3 Read/Write
Essi Transmit Slot Mask a TSMA0-1 ESSI0-X$FFFFB4 Read/Write
ESSI1-X$FFFFA4 Read/Write
Essi Transmit Slot Mask B TSMB0-1 ESSI0-X$FFFFB3 Read/Write
SCI Control Register SCR $FFFF9C Read/Write
Clock Out Divider
SCI Clock Control Register Sccr Address X$FFFF9B Read/Write
Receiver Clock Mode/Source
Timer Prescaler Load Register Tplr $FFFF83 Read/Write
Figure B-25.Timer Prescaler Load Register Tplr
TCSR1$FFFF8B Read/Write TCSR2$FFFF87 Read/Write
Timer Control/Status Register TCSR0$FFFF8F Read/Write
TLR1-X$FFFF8A Write Only TLR2-X$FFFF86 Write Only
Timer Load Register TLR0-2 TLR0-X$FFFF8E Write Only
Host Data Register HDR $FFFFC9 Write
Port B HI08
Host Data Direction Register Hddr X$FFFFC8 Write
Port C Gpio Data Register Pdrc $FFFFBD Read/Write
Port C ESSI0
Port C Control Register Pcrc $FFFFBF Read/Write
Port C Direction Register Prrc $FFFFBE Read/Write
Port D Gpio Data Register Pdrd $FFFFAD Read/Write
Port D ESSI1
Port D Control Register Pcrd $FFFFAF Read/Write
Port D Direction Register Prrd $FFFFAE Read/Write
Port E Gpio Data Register Pdre $FFFF9D Read/Write
Port E SCI
Port E Control Register Pcre $FFFF9F Read/Write
Port E Direction Register Prre $FFFF9E Read/Write
Programming Sheets DSP56301 User’s Manual
Index
Index-2 DSP56301 User’s Manual
Index-3
Index-4 DSP56301 User’s Manual
Index-5
Index-6 DSP56301 User’s Manual
Index-7
Index-8 DSP56301 User’s Manual
Index-9
Index-10 DSP56301 User’s Manual
Index-11
Index-12 DSP56301 User’s Manual
Index-13
Index-14 DSP56301 User’s Manual
Index-15
Index-16 DSP56301 User’s Manual