Dai Example System - Analog Devices SHARC ADSP-214 Series Hardware Reference Manual

Table of Contents

Advertisement

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
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
ADSP-214xx SHARC Processor Hardware Reference
www.BDTIC.com/ADI
Digital Application/Digital Peripheral Interfaces
INCLUDE
9-16.
file
.
SRU.H
9-43

Advertisement

Table of Contents
loading

Table of Contents