AN1836-AN21161 Analog Devices, AN1836-AN21161 Datasheet - Page 44
![no-image](/images/manufacturer_photos/0/0/56/analog_devices_sml.jpg)
AN1836-AN21161
Manufacturer Part Number
AN1836-AN21161
Description
Interfacing the ADSP-21161 SIMD SHARC DSP to the AD1836 (24-bit/96 kHz) Multichannel Codec
Manufacturer
Analog Devices
Datasheet
1.AN1836-AN21161.pdf
(70 pages)
- Current page: 44 of 70
- Download datasheet (2Mb)
7. ADSP-21161 / AD1836 DSP Driver Description
The DSP source listings for AD1836 initialization and audio processing, shown in Appendix A, can be a general starting point
for developing ADSP-21161 code using the AD1836. The ADSP-21161 example program initializes the DSP serial port to
communicate with the AD1836 Serial Port interface, and then perform a 'talkthru' function of audio data to and from the
AD1836. No DSP processing is performed after initialization. The only operation being performed is the fetching of data
received from the AD1836 ADCs and loopback the same data out to the AD1836 DACs.
The ADSP-21161/AD1836 EZ-KIT Lite Drivers in Appendix A are organized into the following sections:
The ADSP-21161 DSP example performs the following sequence of operations to establish AD1836 communications and
process audio data:
1.
2.
3.
4. SPORT Register Clear Routine
5.
6.
7.
21161 EZ-Kit System Initialization Routine
AD1836 Initialization Routine (For SPORT0 Rx Interrupt Processing)
Reset The AD1836 Via DSP Slave SPI Control
ADSP-21161 SPORT1 RX Interrupt Service Routine… used for audio processing
ADSP-21161 Interrupt Vector Table
Visual DSP (21161 EZ-KIT) Linker Description File.
AD1836 Codec Driver Sequence Of Operations
1. Initialize DSP system stuff such as timers, flag pins, DAGs…
2. Initialize Serial Port 0 and 2 Registers
3. Program DMA Controller for Serial Port 0/2 DMA chaining
4. Turn on Serial Port 0/2 and enable SPORT0 receive interrupt
5. Reset/Power cycle the AD1836
7. Program selected AD1836 registers
8. Start processing AD1836 audio data
3 Interrupt (IRQ)
Buttons
4 Flag In Pushbuttons
6 Flag Out LED’s
(unpopulated)
CONNECTOR
CONNECTOR
CONNECTOR
EXPANSION
INTERFACE
EMULATOR
POWER
Figure 29. 21161 EZ-KIT Lite Audio Development System
USB
ADDRESS/DATA BUS
JTAG PORT
Cypress
micro)
(8051
USB
Analog/Digital Audio Interface
AD1852
DAC
ADSP- 21161
Pr ocessor
AD1836
Codec
SPORT 0 & 2 (TDM)
FLASH
4-Mbit
Receive
SP/DIF
(48-bit wide, 100MHz SDRAM Access)
SPORTs 1 and 3
LINK PORT 0
LINK PORT
SDRAM 1Mx16
SDRAM 1Mx16
SDRAM 1Mx16
4 Line In (or MIC_In channels)
8 output LINE Out RCA jacks)
SP/DIF (Optical or RCA)
Related parts for AN1836-AN21161
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AN1836](/images/no-image3.png)
Part Number:
Description:
FLASH Programming for Motorola MC68HC912 Microcontrollers
Manufacturer:
Motorola / Freescale Semiconductor
Datasheet:
![REF195G](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Analog Devices -
Manufacturer:
Analog Devices
Datasheet:
![AD539S](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Analog Devices [Wideband Dual-Channel Linear Multiplier/Divider]
Manufacturer:
Analog Devices
Datasheet:
![AD9873](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Analog Front End Converter for Set-top Box, Cable Modem, and Other Broadband Communication Applications
Manufacturer:
Analog Devices
Datasheet:
![AN342](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Analog Signal Handling for High Speed and Accuracy,
Manufacturer:
Analog Devices
![ADUC7126](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, Large Memory, ARM7TDMI MCU with Enhanced IRQ Handler
Manufacturer:
Analog Devices
Datasheet:
![ADUC7124](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, Large Memory, ARM7TDMI MCU with Enhanced IRQ Handler
Manufacturer:
Analog Devices
Datasheet:
![ADUC7122](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI® MCU
Manufacturer:
Analog Devices
Datasheet:
![ADUC7023](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
Manufacturer:
Analog Devices
Datasheet:
![ADUC7029](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
Manufacturer:
Analog Devices
Datasheet:
![ADUC7121](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU
Manufacturer:
Analog Devices
Datasheet:
![ADUC7028](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI® MCU
Manufacturer:
Analog Devices
Datasheet:
![ADUC7019](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI® MCU
Manufacturer:
Analog Devices
Datasheet:
![ADUC7020](/images/manufacturer_photos/0/0/56/analog_devices_tmb.jpg)
Part Number:
Description:
Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI® MCU
Manufacturer:
Analog Devices
Datasheet: