DSP56303 FREESCALE [Freescale Semiconductor, Inc], DSP56303 Datasheet - Page 96

no-image

DSP56303

Manufacturer Part Number
DSP56303
Description
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSP56303AG100
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
DSP56303AG100B1
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
DSP56303AG100R2
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
DSP56303GC100
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
DSP56303PV100
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
DSP56303PV100B
Manufacturer:
MOT
Quantity:
5 510
Part Number:
DSP56303PV100B
Manufacturer:
MAXIM
Quantity:
5 510
Part Number:
DSP56303VF100
Manufacturer:
MNDSPEED
Quantity:
2
Part Number:
DSP56303VF100
Manufacturer:
MOTOLOLA
Quantity:
513
Part Number:
DSP56303VF100
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
DSP56303VF100
Manufacturer:
FREESCALE
Quantity:
624
Part Number:
DSP56303VF100
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
DSP56303VL100
Manufacturer:
FUJI
Quantity:
1 000
Programming the Peripherals
Configuring interrupts requires two steps:
Events that change bits in the peripheral control registers can then trigger the interrupt.
Depending on the peripheral, from two to six peripheral interrupt sources are available to the
programmer.
Example 5-2 shows a short interrupt programmed for the HI08. The main program enables the
Host Receive Interrupt in the Host Control Register (HCR). When the interrupt is triggered
during code execution, the core processing jumps to the Host Receive Interrupt routine location
at p:$60 and executes the code there. Since this is a short interrupt, the core returns to normal
code execution after executing the two move instructions, and an RTI instruction is not
necessary.
; Short Interrupt Routine
5.4.3 DMA
The Direct Memory Access (DMA) controller permits data transfers between internal/external
memory and/or internal/external I/O in any combination without the intervention of the
DSP56303 core. Dedicated DMA address and data buses and internal memory partitioning
ensure that a high level of isolation is achieved so the DMA operation does not interfere with the
core operation or slow it down. The DMA moves data to/from the peripheral transmit/receive
registers. The programmer can use the DMA control registers to configure sources and
destinations of data transfers. Depending on the peripheral, one to four peripheral request sources
are available. This is the most efficient method of data transfer available. Core intervention is not
required after the DMA channel is initialized.
5-4
1.
2.
bset#M_HRIE,x:M_HCR ; enable host receive interrupt
orgP:$60
movepx:M_HRX,x1
movex1,y:(r0)+
Setting up the interrupt routine
a.
b.
Enabling the interrupts
a.
b.
c.
The interrupt handler is located at the interrupt starting address.
The interrupt routines can be short (only two opcodes long) or long (more than two
opcodes and requiring a JSR instruction).
Set the corresponding bits in the applicable peripheral control register.
Enable peripheral interrupts in the Interrupt Priority Register (IPRP).
Enable global interrupts in the Mode Register (MR) portion of the Status Register
(SR).
; HI08 Receive Data Full interrupt
DSP56303 User’s Manual, Rev. 2
Example 5-2. Interrupts
Freescale Semiconductor

Related parts for DSP56303