EasyManua.ls Logo

Analog Devices SHARC ADSP-21368 User Manual

Analog Devices SHARC ADSP-21368
894 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #536 background imageLoading...
Page #536 background image
UART Control and Status Registers
11-8 ADSP-21368 SHARC Processor Hardware Reference
programmed through the
PICR register using the code select value for the
UART receive interrupt (0x13 for UART0 interrupt and 0x14 for UART1
receive interrupt). Similar to I/O mode, both the transmit and receive
interrupts are mapped to the receive interrupt. Then the UARTxIER register
can be used to select the transmit or receive interrupt respectively for I/O
mode. The following examples show two methods of enabling transmit
DMA in I/O mode. The first method uses the DPI interrupt directly.
Listing 11-1. Enabling Transmit DMA (DPI Direct Method)
bit set mode1 IRPTEN; /* enables global interrupts */
bit set imask DPII; /* unmasks DPI interrupt */
ustat1 = UART0_RX_INT;
dm(DPI_IRPTL_RE) = ustat1; /* enables transmit interrupt in
I/O mode */
The second method uses the DPI interrupt by programming the PICR
with the code value of the UART0 receive interrupt (0x13).
Listing 11-2. Enabling Transmit DMA (DPI PICR Method)
#define MASKP14 (0x1f<<10)
#define UART0Rx (0x13<<10)
bit set mode1 IRPTEN;
/* Map the UART0 receive interrupt to P14 using the programmable
interrupt controller */
ustat1 = dm(PICR2);
bit clr ustat1 MASKP14;
bit set ustat1 UART0Rx;
dm(PICR2) = ustat1;
bit set IMASK P14I; /* Unmasks the UART Receive interrupt */

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Analog Devices SHARC ADSP-21368 and is the answer not in the manual?

Analog Devices SHARC ADSP-21368 Specifications

General IconGeneral
ArchitectureSHARC
Core ProcessorADSP-21368
Core Clock Speed400 MHz
Serial Ports1
SPORTs4
SPI Ports1
I2C Ports1
Timers2
DMA Channels14
Operating Voltage - Core1.2 V
Operating Voltage - I/O3.3 V
Data Bus Width32-bit
Operating Temperature-40°C to +85°C
Number of Cores1
Audio ProcessingYes
PackageLQFP

Related product manuals