Project Name: SensorCapture.dpj Project Type: ADSP-BF533 [X] ADSP-BF537 [ ] ADSP-BF561 [ ] Hardware Used: ************************************** ************************************** *** PLEASE READ THE RELEASE NOTE *** *** FOR SPECIFIC HARDWARE AND *** *** SOFTWARE CONFIGURATIONS *** *** SUPPORTED BY THIS APPLICATION *** ************************************** ************************************** ADSP-BF533 EZ-KIT Lite VisualDSP++ Emulator Blackfin A-V EZ-Extender Micron MT9V022177ATM on RoadRunner Demo MI-350 Head REV1 Omnivision OV7648SP AA Module Rev 1.0 PC with Analog Devices VisualDSP++ TV with NTSC or PAL AV input System Services Components Used: DMA Manager [X] Deferred Callback Manager [X] Interrupt Manager [X] Timer Module [X] Power Management Module [X] Flag Module [X] External Bus Interface Unit Module [X] Port Module [ ] OVERVIEW ======== This application shows how to capture a single frame from a sensor and output the captured frame to a Video channel in either NTSC or PAL modes. The application also shows how a dynamic overlay can be used to display information to the user. In this application the version, application comfiguration, basic hardware status and input/output frame count is overlayed over the captured image. The application also shows how to auto-detect hardware, this is used to detect the sensor that is plugged in. The AV-Extender hardware only supports a single sensor to be connected at one time. The default output device is selected by uncommenting the desired output device in main.c under the Configuration heading at the top of the file. Make sure only the desired output device is uncommented, having more than one uncommented or none uncommented will cause a compilation error. This application includes code for a VGA mode that outputs to an NEC LCD panel. However due to some hardware restrictions on the AV-Extender this feature is not fully functional and not supported. RUNNING THE APPLICATION ======================= 1. Hardware Settings -------------------- ADSP-BF533 EZ-KIT LITE SETTINGS ------------------------------- SW1: 1-OFF 2-OFF 3-OFF 4-OFF 5-OFF 6-OFF SW2: 1-OFF 2-OFF 3-OFF 4-OFF 5-OFF 6-OFF SW3: 1-OFF 2-OFF 3-OFF 4-OFF 5-OFF 6-OFF SW9: 1-OFF 2-OFF 3-OFF 4-OFF 5-OFF 6-OFF SW10 1-ON 2-ON SW11 1-OFF 2-ON SW12 1-ON 2-ON 3-ON 4-ON BLACKFIN A-V EZ-EXTENDER ------------------------ JP1: XX JP2: 1-2 JP3: 3-5 4-6 15-16 17-18 JP4: 1-2 7-8 JP5: 1-2 3-4 JP6: 1-3 2-4 JP7: XX JP8: 1-3 2-4 7-8 JP9: 1-3 2-4 MICRON M350 MODULE ------------------ SW2 NTSC OMNIVISION OV7X48SP AA MODULE ----------------------------- Short resistor R3 (For TWI interface to work) NC - Not connected XX - Dont care 2. External connections ----------------------- Connect a monitor to the BF533 Ez-Kit video-out connector. J8 +---------------------------------------------------+ | O O < Video Out O | (white) | O O O | (red) +---------------------------------------------------+ 3. Operational Description -------------------------- - Open the "SensorCapture.dpj" project in the VisualDSP Integrated Development Environment (IDDE). - Select via #defines in main.c one of the desired video output formats e.g. //#define VIDEO_MODE_PAL (for PAL video output) #define VIDEO_MODE_NTSC (for NTSC video output - default) - Under the "Project" tab, select "Build Project" (program is then loaded automatically into DSP). - Plug in either OV7648_DS or MT9V022 (mi-0350) sensor, the software will automatically detect which sensor is plugged in. - Connect a video display monitor to the video output jack (top middle connector of J8 on Ez-Kit) for VIDEO_MODE_PAL or VIDEO_MODE_NTSC. - Run the application by pressing (F5) or clicking the "Run" button. REFERENCES ========== ADSP-BF533 Blackfin Processor Hardware Reference ADSP-BF533_c.pdf ADSP_BF533_EZ_KIT_Lite_Manual_Rev_2.0.pdf Blackfin_A_V_EZ_Extender_Manual_Rev_1.0.pdf MT9V022DeviceDriverDocumentation.pdf MT9V022.pdf MT9V002_(mi-0350)_flyer.pdf OV7X48 device driver documentation.pdf OV7648_DS(1.5).pdf OV7648BGA_AA.pdf pb_7168_7648.pdf omnivision_ds_note.pdf adv7171.pdf SOFTWARE HIERARCHY ================== This application consists of the following files: \---BlackfinSDK | +---BFinUtils | | SDK-ezkitutilities.c | | | +---ada_gfx | | font_24x24.c | | font_3x7.c | | font_3x8.c | | font_5x5.c | | font_5x7.c | | font_5x8.c | | font_7seg_5x7.c | | font_7x7.c | | font_7x8.c | | font_8x12.c | | font_8x7.c | | font_8x8.c | | font_9x12.c | | gfx.c | | imageprocess.c | | | \---SensorCommon | common.c | device.c | encoder.c | lcd.c | micron.c | omnivision.c | +---Include | | SDK-ezkitutilities.h | | | +---ada_gfx | | gfx.h | | imageprocess.h | | | \---SensorCommon | common.h | device.h | encoder.h | lcd.h | micron.h | omnivision.h | \---Multimedia | \---SensorStream | main.c | \---ADSP-BF533 readme_sensorcapture_bf533.txt SensorCapture.dpj SensorCapture.ldf SensorCapture_basiccrt.s SensorCapture_heaptab.s \---VisualDSP | \---Blackfin | +---include | | | +---drivers | | | +---encoder | | adi_adv717x.h | | | +---lcd | | | | | \---nec | | nl6448BC33_54.h | | | \---sensor | | | +---micron | | adi_mt9v022.h | | | \---omnivision | adi_ov7x48.h | \---lib | \---src | \---drivers | +---encoder | adi_adv7179.c | adi_adv717x.c | +---lcd | | | \---nec | nl6448BC33_54.c | \---sensor | +---micron | adi_mt9v022.c | \---omnivision adi_ov7x48.c