Video Input
所属分类:DSP编程
开发工具:MultiPlatform
文件大小:51KB
下载次数:56
上传日期:2004-11-07 14:13:28
上 传 者:
yenom
说明: BF-533 DSP视频输入接口的代码
(BF-533 DSP video input interface code)
文件列表:
Video Input (0, 2004-07-04)
Video Input\C (0, 2004-07-04)
Video Input\C\Flash_Setup.c (1970, 2003-12-11)
Video Input\C\BF533_EZ_KIT_Video_Receive_C.dxe (97440, 2003-12-11)
Video Input\C\DMA_Config.c (1231, 2003-12-11)
Video Input\C\BF533_EZ_KIT_Video_Receive_C.dpj (7055, 2003-12-11)
Video Input\C\flashsetup.h (1019, 2003-12-11)
Video Input\C\ISR_Config.c (1485, 2003-12-11)
Video Input\C\main.c (2073, 2003-12-11)
Video Input\C\PLL_Setup.c (876, 2003-12-11)
Video Input\C\PPI_Config.c (973, 2003-12-11)
Video Input\C\SDRAM_Config.c (922, 2003-12-11)
Video Input\ASM (0, 2004-07-04)
Video Input\ASM\adsp-BF533_ASM.ldf (5239, 2003-12-11)
Video Input\ASM\ADSP-BF533_PPI_656_Input_Mode.dpj (8972, 2003-12-11)
Video Input\ASM\BF533_EZ-KIT_flash_setup.asm (2393, 2003-12-11)
Video Input\ASM\ADSP-BF533_PPI_656_input_mode.dxe (17332, 2003-12-11)
Video Input\ASM\BF533_EZ-KIT_ADV_reset.asm (2259, 2003-12-11)
Video Input\ASM\BF533_EZ-KIT_DMA_Config.asm (1780, 2003-12-11)
Video Input\ASM\BF533_EZ-KIT_ISR.asm (1140, 2003-12-11)
Video Input\ASM\BF533_EZ-KIT_ISR_Config.asm (1824, 2003-12-11)
Video Input\ASM\BF533_EZ-KIT_PPI_Config.asm (1363, 2003-12-11)
Video Input\ASM\BF533_EZ-KIT_SDRAM_Config.asm (1425, 2003-12-11)
Video Input\ASM\Flash_Setup.c (893, 2003-12-11)
Video Input\ASM\startup.asm (6790, 2003-12-11)
Video Input\ASM\startup.h (950, 2003-12-11)
Video Input\ASM\Main.asm (3278, 2003-12-11)
****************************************************************************************************
ADSP-BF533 EZ-KIT Lite Video Input Example
Analog Devices, Inc.
DSP Division
Three Technology Way
Norwood, MA 02062
Date Created: 7/02/03
____________________________________________________________________________________________________
This directory contains an example ADSP-BF533 video input project that initializes SDRAM memory,
sets up the DMA configuration registers to DMA data from PPI to the SDRAM, and configures the PPI
port to ITU-656 input mode.
Files contained in this directory:
BF533_EZ_KIT_Video_Receive_C.dpj VisualDSP++ project file
PLL_Config.c C file for setting up a faster speed
DMA_Config.c C file for setting up DMA configuration registers
PPI_Config.c C file for setting up the PPI port
SDRAM_Config.c C file for initializing SDRAM control registers
Flash_Setup.c C file for setup the flash PROM to drive ADV7183
ISR_Config.c C file for initializing interrupts and the interrupt subroutine it self
main.s C file for calling all setup subroutines
readme.txt this project description file
BF533_EZ_KIT_Video_Receive_C.dxe executable for this project
____________________________________________________________________________________________________
CONTENTS
I. FUNCTIONAL DESCRIPTION
II. IMPLEMENTATION DESCRIPTION
III. OPERATION DESCRIPTION
I. FUNCTIONAL DESCRIPTION
The video input demo demonstrates the initialization of SDRAM memory
and the use of the DMA and PPI to input an external analog CVBS signal on ADV7183s input AVIN1.
This example utilizes SDRAM memory to store the video data. The program sets up the DMA and PPI configuration registers for input
mode. for 8-bit, ITU-656, Stop Mode DMA.
II. IMPLEMENTATION DESCRIPTION
The main file calls:
1. the function Init_PLL() initializes the PLL to run faster.
2. the function Init_EBIU() initializes the external async port.
3. the function Init_Flash() sets up the flash GPIOs
4. the function Init_ADV() toggles the reset pin of the ADV7183 via the gp flag of the flash as well as the ADV7183 OE will be de-asserted.
5. the function printf has been implemented to delay following calls. That gives the ADV7183 time to lock to the analog signal.
6. the function Init_Interrupts() to configure the interrupt service routine.
7. the function Init_SDRAM() to initialize SDRAM memory.
8. the function Init_DMA() to initialize the DMA in stop mode. The DMA stops after 50000 transfers. For endless runs change the DMA register.
9. the function Init_PPI() to initialize the PPI.
III. OPERATION DESCRIPTION
- Open the project "BF533_EZ_KIT_Video_Receive_C.dpj" in the VisualDSP Integrated Development Environment (IDDE).
- Under the "Project" tab, select "Build Project" (program is then loaded automatically into DSP).
- change switch #6 of SW3 to on of the ADSP-BF533 EZ-KIT Lite.
- Connect a video NTSC/PAL CVBS signal to the video input jack AVIN1"at the bottom right" on the ADSP-BF533 EZ-KIT Lite.
- Select "Run" from the "Debug" tab on the menu bar of VisualDSP.
- Hit the stop button to halt the processor
- Open the Image Viewer "View/Debug Window/Image Viewer". Do following steps:
-- Type start address 0X1; Horizontal Pixels = 720; Vertical Pixels = 150; Pixels per bit = 8; Stride = 2
-- Image format = Gray Scale; Hit OK.You should see the image taken
近期下载者:
相关文件:
收藏者: