⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lp_dma_c.txt

📁 老外写的TS201 LinkPort DMA发送/接收程序
💻 TXT
字号:
****************************************************************************

LP_DMA_C.zip      Example TS201 Link Port DMA Program

Analog Devices, Inc.
DSP Division
Three Technology Way
P.O. Box 9106
Norwood, MA 02062

09-20-2001 RFG
10-01-2002 modified by TS
10-12-2004 Ported over to ADSP-TS201 by RVC
____________________________________________________________________________

This zip file contains an example ADSP-TS201 program that implements a link
port DMA from LP2 of one TS201 to LP2 of another TS201.  Written in C language.

Builtin functions are used to program system registers and the C interrupt 
handlers are used to enable and install the interrupt service routines.
____________________________________________________________________________

Source Files contained in this directory:

LP_DMA.dpj			VisualDSP++ 3.5 project file
LP_DMA_1.C			ADSP-TS201 source for link port DMA for DSPA
LP_DMA_2.C			ADSP-TS201 source for link port DMA for DSPB
ADSP-TS201-MP-C.ldf		ADSP-TS201 Linker description file for (MP features used 
				to generate multiple dxe's from single build) 
LP_DMA_C.txt			This README file.
____________________________________________________________________________

Code flow:
LP_DMA_1.C creates a buffer of data, transmits it over LP2 using DMA, and 
waits for the interrupt to proceed.  After the transmit interrupt occurs, it 
then sets up another DMA to receive the buffer back over LP2.

LP_DMA_2.C receives the buffer over LP2 using DMA and waits for the interrupt 
to proceed.  After receiving the buffer, it sets up a DMA to transmit the 
received buffer back to through LP2.

____________________________________________________________________________

Notes:
1) This example code was specifically created for and tested on the ADSP-TS201
EZ-KIT Lite using a emulator for downloading and running and observing the results.
2) In order to utilize the already-existing linkport connections on the EZ-KIT Lite,
please download LP_DMA_DSP_A.dxe into DSP_A and LP_DMA_DSP_B.dxe into DSP_B.

****************************************************************************

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -