📄 readme_sensorstream_bf561.txt
字号:
Project Name: SensorStream.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
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 stream input from a sensor and output the
captured stream to either an LCD panel (VGA mode) or a Video channel (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 streamed input images.
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.
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
SW12: 1-ON 2-ON 3-ON 4-ON
SW11: 1-OFF 2-OFF 3-OFF 4-OFF
SW13: 1-ON 2-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 5-6
JP6: 3-5 4-6
JP7: XX
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 when configured for
VIDEO_MODE_VGA.
MICRON M350 MODULE
------------------
SW2 NTSC
OMNIVISION OV7X48SP AA MODULE
-----------------------------
Short resistor R3
NC - Not connected
XX - Dont care
2. External connections
-----------------------
Connect a monitor to the AV-Extender video-out connector.
+---------------------------------------------------+
| O O < Video Out O | (white)
| O O O | (red)
+---------------------------------------------------+ J7
3. Operational Description
--------------------------
- Open the "SensorStream.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_VGA (for VGA LCD output)
//#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 J6 on AV-Extender) for VIDEO_MODE_PAL or VIDEO_MODE_NTSC,
or plug the LCD cable into connector P6 on the AV-Extender card for
VIDEO_MODE_VGA.
- Run the application by pressing (Ctrl-F5) or clicking the
"Multiprocessor Run" button, not (F5) or the "Run" Button.
4. Project Build Optimization
-----------------------------
Please note that for this project in Debug Mode, code optimizations have
been enabled.
This is done via the menu
Project -> Project Options
- Project - Compile - Code Generation - Enable optimization [X]
Code optimizations improve the speed of applications by transforming
certain code segments.
REFERENCES
==========
ADSP-BF561_hwr_entirebook.pdf
ADSP_BF561_0_HRM.pdf
ADSP_BF561_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
adv7179.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-BF561
readme_sensorstream_bf561.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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -