Project Name: FrameCaptureLcdOut_561.dpj Project Type: ADSP-BF533 [ ] ADSP-BF537 [ ] ADSP-BF561 [X] Hardware Used: ************************************** ************************************** *** PLEASE READ THE RELEASE NOTE *** *** FOR SPECIFIC HARDWARE AND *** *** SOFTWARE CONFIGURATIONS *** *** SUPPORTED BY THIS APPLICATION *** ************************************** ************************************** ADSP-BF561 EZ-KIT Lite Blackfin A-V EZ-Extender Analog Devices VisualDSP++ VisualDSP++ Emulator DVD player with ITU-656 NTSC/PAL Output System Services Components Used: DMA Manager [X] Deferred Callback Manager [ ] Interrupt Manager [X] Timer Module [X] Power Management Module [X] Flag Module [ ] External Bus Interface Unit Module [X] Port Module [ ] OVERVIEW ======== This application shows how to perform a single frame of video acquisiton in ITU-656 mode from the decoder ADV7183, buffering the data in SDRAM. The buffered video frame is then converted to RGB565 format sent out to the LCD. Both PAL and NTSC formats are implemented in this application, selectable through a conditional compilation macro (NTSC_MODE). ADV7183 decoder registers can be accessed through pseudo TWI and device access service RUNNING THE APPLICATION ======================= 1. Hardware settings -------------------- ADSP-BF561 EZ-KIT LITE SETTINGS: -------------------------------- SW2: 1-OFF 2-OFF 3-OFF 4-OFF 5-OFF 6-ON SW3: 1-OFF 2-ON 3-ON 4-OFF SW4: 1-ON 2-ON 3-ON 4-ON 5-OFF 6-OFF SW5: 1-OFF 2-OFF 3-OFF 4-OFF SW10: 1-OFF 2-OFF 3-OFF 4-OFF 5-OFF 6-OFF SW11: 1-OFF 2-OFF 3-OFF 4-OFF SW12: 1-ON 2-ON 3-ON 4-ON SW13: 1-ON 2-ON A-V EZ Extender Jumpers SETTINGS: --------------------------------- JP1: no jumper JP2: 1-2 JP3: 3-5 ,4-6 , 19-20 JP4: 1-2 ,5-6 JP5: 1-2 ,5-6 JP6: no jumper JP7: no jumper JP8: 3-5 ,4-6 ,7-8 JP9: 3-5 ,4-6 Remove R2 - This resistor controls the orientation of the LCD output. If not removed the output will be inverted. 2. External connections: ------------------------ Connect a video source to the A-V EZ-Extender Video-in. +---------------------------------------------------+ | O O O | (white) | O O O < Video In | (red) +---------------------------------------------------+ J7 Connect a NEC LCD flat cable to the A-V EZ-Extender P6. 3. Operational Description --------------------------- - Open the "FrameCaptureLcdOut_561.dpj" project in the VisualDSP Integrated Development Environment (IDDE). - Select via #define in FrameCaptureLcdOut.c the desired video input format e.g. #define NTSC_MODE (for NTSC - deafult) or //#define NTSC_MODE (for PAL) - Under the "Project" tab, select "Build Project" (program is then loaded automatically into DSP). - Connect a video NTSC/PAL CVBS source to the bottom right connector of J7 (video in/out jack) - Connect a LCD display monitor - Start the video source - Run the executables by pressing "multiprocessor run" (CTRL-F5) on the toolbar. DO NOT use the single core (F5) button. You should see a copy of the input video in the output screen. SOFTWARE HIERARCHY ================== This application consists of the following files: \---BlackfinSDK | +---BFinUtils | SDK-ezkitutilities.c | +---Multimedia | +---FrameCaptureLcdOut | FrameCaptureLcdOut.c | \---ADSP-BF561 CoreB_Idle.doj readme_FrameCaptureLcdOut_561.txt FrameCaptureLcdOut_561.dpj FrameCaptureLcdOut_561.ldf \---VisualDSP +---Blackfin | +---lib | +---src | +---drivers | +---deviceaccess | adi_device_access_twi.c | +---decoder | adi_adv7183.c | +---lcd | | | \---nec | nl6448BC33_54.c | \---twi adi_twi_pseudo.c