EasyManua.ls Logo

Analog Devices SHARC ADSP-214 Series - DAI Example System

Analog Devices SHARC ADSP-214 Series
1192 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ADSP-214xx SHARC Processor Hardware Reference 9-43
Digital Application/Digital Peripheral Interfaces
The following lines illustrate how the macro is used:
Listing 9-4. DAI Macro Code
#include <sru.h>;
/* The following lines illustrate how the macro is used: */
/* Route SPORT 1 clock output to pin buffer 5 input */
SRU(SPORT1_CLK_O,DAI_PB05_I);
/* Route pin buffer 14 out to IDP3 frame sync input */
SRU(DAI_PB14_O,IDP3_FS_I);
/* Connect pin buffer enable 19 to logic low */
SRU(LOW,PBEN19_I);
Additional example code is available on the Analog Devices Web site.
There is a macro that has been created to connect peripherals used
in a DAI configuration. This code can be used in both assembly
and C code. See the INCLUDE file SRU.H.
There is also a software plug-in called the Expert DAI that greatly
simplifies the task of connecting the signals described in this chap-
ter. This plug-in is described in Engineer-to-Engineer Note
EE-243, “Using the Expert DAI for ADSP-2126x and
ADSP-2136x SHARC Processors”. This EE note is also found on
the Analog Devices Web site.
DAI Example System
A complete system using the DAI peripherals (SPORTs, PCG, S/PDIF) is
shown in Figure 9-16.
www.BDTIC.com/ADI

Table of Contents

Related product manuals