dsp_bf533_videotest
所属分类:DSP编程
开发工具:Others
文件大小:765KB
下载次数:13
上传日期:2012-11-29 15:54:29
上 传 者:
x-man
说明: bf533 开发板,基于视频图像差分法变化检测
开发环境:visul dsp 5.0
(the bf533 development board, based on the video image difference method change detection the development environment visul dsp 5.0)
文件列表:
dsp\bf533getY.bmp (415798, 2012-06-02)
dsp\clip_image001.jpg (10437, 2012-05-29)
dsp\clip_image002.jpg (10438, 2012-05-29)
dsp\diff.bmp (241102, 2012-06-09)
dsp\GetY\Debug\DMA_Config.doj (7620, 2012-06-02)
dsp\GetY\Debug\Flash_Setup.doj (9352, 2012-06-02)
dsp\GetY\Debug\GetY.doj (4916, 2011-07-06)
dsp\GetY\Debug\GetY.dxe (98600, 2012-06-02)
dsp\GetY\Debug\GetY.log (104, 2012-06-02)
dsp\GetY\Debug\GetY_basiccrt.doj (4472, 2011-07-06)
dsp\GetY\Debug\ISR_Config.doj (12832, 2012-06-02)
dsp\GetY\Debug\linker_log.xml (43941, 2012-06-02)
dsp\GetY\Debug\main.doj (9704, 2012-06-02)
dsp\GetY\Debug\PLL_Setup.doj (7760, 2012-06-02)
dsp\GetY\Debug\PPI_Config.doj (7340, 2012-06-02)
dsp\GetY\Debug\SDRAM_Config.doj (7772, 2012-06-02)
dsp\GetY\DMA_Config.c (1325, 2010-06-09)
dsp\GetY\flashsetup.h (950, 2010-06-09)
dsp\GetY\Flash_Setup.c (1981, 2010-06-09)
dsp\GetY\GetY.dpj (9899, 2012-05-29)
dsp\GetY\GetY.mak (10150, 2012-06-02)
dsp\GetY\GetY.pcf (11498, 2012-06-02)
dsp\GetY\ISR_Config.c (1831, 2012-06-02)
dsp\GetY\main.c (1970, 2012-06-02)
dsp\GetY\PLL_Setup.c (814, 2010-06-09)
dsp\GetY\PPI_Config.c (1146, 2011-07-02)
dsp\GetY\SDRAM_Config.c (914, 2010-06-09)
dsp\GetY\system.h (250, 2012-05-29)
dsp\GetY\提取Y灰度.txt (0, 2011-07-03)
dsp\ImDiff\BF533_EZ_KIT_Video_Receive_C.dpj (7819, 2011-07-02)
dsp\ImDiff\BF533_EZ_KIT_Video_Receive_C.mak (10610, 2012-05-29)
dsp\ImDiff\BF533_EZ_KIT_Video_Receive_C.pcf (12449, 2012-05-29)
dsp\ImDiff\Debug\BF533_EZ_KIT_Video_Receive_C.dxe (101284, 2012-05-29)
dsp\ImDiff\Debug\BF533_EZ_KIT_Video_Receive_C.log (2430, 2012-05-29)
dsp\ImDiff\Debug\DMA_Config.doj (7720, 2012-05-29)
dsp\ImDiff\Debug\Flash_Setup.doj (9452, 2012-05-29)
dsp\ImDiff\Debug\ISR_Config.doj (11832, 2012-05-29)
dsp\ImDiff\Debug\linker_log.xml (43941, 2012-05-29)
dsp\ImDiff\Debug\main.doj (14612, 2012-05-29)
... ...
****************************************************************************************************
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_Setup.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.c C file for calling all setup subroutines
flashsetup.h header file to setup the EZ-KIT flash
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).
- If Active Field Mode operation is desired then uncomment the macro definition ACTIVE_FIELD_MODE in system.h file.
- 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" o
n 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 Windows/Image Viewer". Do following steps:
If Entire Field mode is used:
Type start address 0X1; Horizontal Pixels = 858; Vertical Pixels = 525; Pixels per bit = 8;
Stride = 2
If Active Field mode is used:
Type start address 0X1; Horizontal Pixels = 720; Vertical Pixels = 507; Pixels per bit = 8;
Stride = 2
-- Image format = Gray Scale; Hit OK.You should see the image taken
Note:
In Active field mode operation the ADV7183A decoder uses the BT656-3 specification by default.
Based on the BT656-3 specification the number of active lines is 507.
Refer to the ADV7183A data sheet for more details.
http://www.analog.com/UploadedFiles/Data_Sheets/ADV7183A.pdf
近期下载者:
相关文件:
收藏者: