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 #278 background imageLoading...
Page #278 background image
Using the SRU() Macro to Configure the DAI
4-76 ADSP-21368 SHARC Processor Hardware Reference
SRU2(DPI_PB12_O, TWI_CLK_I) /* Clock signal from DPI pin 12
is connected to the TWI slave
clock input */
SRU2(LOW,DPI_PBEN12_I) ) /* Disables DPI pin 12 as input as
the clock is not generated by
the slave
*/
Using the SRU() Macro to Configure
the DAI
As discussed in the previous sections, the signal routing unit (SRU) is con-
trolled by writing values that correspond to signal sources into bit fields
that further correspond to signal inputs. The SRU is arranged into func-
tional groups such that registers that are made up of these bit fields accept
a common set of source signal values.
In order to ease the coding process, the header file sru.h is included with
the VisualDSP++ tools. This file implements a macro that automates most
of the work of signal assignments and functions. The macro has identical
syntax in C/C++ and assembly, and makes a single connection from an
output to an input:
SRU(Output Signal, Input Signal);
The names passed to the macro are the names given in Table 4-4 through
Table 4-9 and in the DAI registers section in “DAI/SRU1 Connection
Groups” on page 4-18. To use this macro, add the code shown in
Listing 4-5 to your source code.

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