📄 frame_capture_device.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head> <title></title> <link rel="stylesheet" media="screen" type="text/css" href="./style.css" /> <link rel="stylesheet" media="screen" type="text/css" href="./design.css" /> <link rel="stylesheet" media="print" type="text/css" href="./print.css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><a href=start.html>start</a></br><h2><a name="ppi_frame_capture_device" id="ppi_frame_capture_device">PPI Frame Capture Device</a></h2><div class="level2"><p> The PPI frame capture device (PPIFCD) is a <a href="camera_sensor_interface.html" class="wikilink1" title="camera_sensor_interface.html"> CMOS camera</a> <a href="http://docs.blackfin.uclinux.org/doku.php?id=hardware_platform#daughter_cards" class="urlextern" title="http://docs.blackfin.uclinux.org/doku.php?id=hardware_platform#daughter_cards" rel="nofollow"> daughter card</a> that connects to a Blackfin via the <a href="http://docs.blackfin.uclinux.org/doku.php?id=blackfin_basics&s=parallel%20peripheral%20interface#blackfin_peripherals" class="urlextern" title="http://docs.blackfin.uclinux.org/doku.php?id=blackfin_basics&s=parallel%20peripheral%20interface#blackfin_peripherals" rel="nofollow"> parallel peripheral interface</a>. The PPIFCD can be built using a Micron <a href="http://www.micron.com/products/imaging/products/MT9T001.html" class="urlextern" title="http://www.micron.com/products/imaging/products/MT9T001.html" rel="nofollow">MT9T001</a> (<a href="http://download.micron.com/pdf/datasheets/imaging/MT9T001_3100_DS.pdf" class="urlextern" title="http://download.micron.com/pdf/datasheets/imaging/MT9T001_3100_DS.pdf" rel="nofollow">datasheet</a>), as described <a href="http://www.eet.com/esc/showArticle.jhtml;jsessionid=4GAY1UC503N5IQSNDBNCKHSCJUMEKJVN?articleID=185302712" class="urlextern" title="http://www.eet.com/esc/showArticle.jhtml;jsessionid=4GAY1UC503N5IQSNDBNCKHSCJUMEKJVN?articleID=185302712" rel="nofollow">here</a>. It uses the standard Inter-IC Bus (<a href="http://www.embedded.com/rss/" class="urlextern" title="http://www.embedded.com/rss/" rel="nofollow">intro</a>) and the programmable flags to control the camera (e.g., to take out of standby mode, etc.).</p></div><h4><a name="programs_that_use_the_ppifcd" id="programs_that_use_the_ppifcd">Programs that Use the PPIFCD</a></h4><div class="level4"></div><h5><a name="ppifcd_test" id="ppifcd_test">ppifcd_test</a></h5><div class="level5"><p>As mentioned <a href="http://docs.blackfin.uclinux.org/doku.php?id=testing_the_uclinux_kernel#device_driver_test" class="urlextern" title="http://docs.blackfin.uclinux.org/doku.php?id=testing_the_uclinux_kernel#device_driver_test" rel="nofollow"> here</a>, the PPIFCD Frame Capture Driver test application aims to see if the digital image sensor can take pictures effectively which is connected through the PPI port to the target board. It records the row_time, total_frame_time, total_frame_capture_time, and the taken picture. If the printed data is as expected, the case passes, otherwise it fails.</p></div><h5><a name="fcd" id="fcd">fcd</a></h5><div class="level5"><p>This program serves <acronym title="Common Gateway Interface">CGI</acronym>-based web pages that allow the user to specify settings, capture frames, and verify the overall operation of the camera. </p></div><!-- SECTION [1-1584] --><h3><a name="configuring_the_uclinux_kernel" id="configuring_the_uclinux_kernel">Configuring the uClinux kernel</a></h3><div class="level3"><p>The Blackfin PPI supports a number of daughter cards, the PPIFCD being one. However, the PPI Driver will conflict with the PPI Camera frame capture driver if both are enabled. You will see this in the kernel log (i.e., dmesg) when the PPI drivers try to register the same major number for the char device.</p><p>Below are some configuration settings for the BF533 and BF537 STAMP boards. To get either of the programs mentioned above built, specify the following:</p><pre class="code">under Customize Vendor/User Settings== Select Blackfin test programs == Enable PPIFCD test program== Select Blackfin app programs == Enable CGI based Test Application for the PPI Frame Capture Driver</pre></div><h4><a name="bf533-stamp_board" id="bf533-stamp_board">BF533-STAMP Board</a></h4><div class="level4"><p>As described <a href="http://docs.blackfin.uclinux.org/doku.php?id=testing_the_uclinux_kernel#device_driver_test" class="urlextern" title="http://docs.blackfin.uclinux.org/doku.php?id=testing_the_uclinux_kernel#device_driver_test" rel="nofollow"> here</a>, the BF533-STAMP board is known to work with the PPIFCD with the following settings:</p><pre class="code">under Customize Kernel Settings== Select Device Drivers == == Select Character devices == Enable [*] Blackfin BF53x Programmable Flags Driver Enable [*] Blackfin BF5xx PPI Camera frame capture driver [ ] Blackfin BF5xx PPI Driver == Select I2C support == Enable I2C support Enable I2C device interface Select I2C Hardware Bus support Enable Generic Blackfin and HHBF533/561 development board I2C support Select BFIN I2C SDA/SCL Selection set (2) SDA is PF[0:15] set (1) SCL is PF[0:15]</pre></div><h4><a name="bf537-stamp_board" id="bf537-stamp_board">BF537-STAMP Board</a></h4><div class="level4"><p>The BF537 has a built-in two wire interface (<a href="http://www.analog.com/UploadedFiles/Associated_Docs/50726298907670BF537_HRM_11_twi.pdf" class="urlextern" title="http://www.analog.com/UploadedFiles/Associated_Docs/50726298907670BF537_HRM_11_twi.pdf" rel="nofollow">TWI</a>) peripheral and unlike the BF333-STAMP does not require the generic I2C support that is described <a href="http://docs.blackfin.uclinux.org/doku.php?id=testing_the_uclinux_kernel#device_driver_test" class="urlextern" title="http://docs.blackfin.uclinux.org/doku.php?id=testing_the_uclinux_kernel#device_driver_test" rel="nofollow"> here</a>. </p><pre class="code">under Customize Kernel Settings== Select Device Drivers == == Select Character devices == Enable [*] Blackfin BF53x Programmable Flags Driver Enable [*] Blackfin BF5xx PPI Camera frame capture driver [ ] Blackfin BF5xx PPI Driver == Select I2C support == Enable I2C support Enable I2C device interface Select I2C Hardware Bus support Enable Blackfin TWI I2C support</pre></div><h5><a name="resources" id="resources">Resources</a></h5><div class="level5"><p><a href="http://www.analog.com/en/epProd/0,,BF537-STAMP,00.html" class="urlextern" title="http://www.analog.com/en/epProd/0,,BF537-STAMP,00.html" rel="nofollow">http://www.analog.com/en/epProd/0,,BF537-STAMP,00.html</a> <a href="http://www.analog.com/UploadedFiles/Data_Sheets/2740940ADSP_BF537_0.pdf" class="urlextern" title="http://www.analog.com/UploadedFiles/Data_Sheets/2740940ADSP_BF537_0.pdf" rel="nofollow">http://www.analog.com/UploadedFiles/Data_Sheets/2740940ADSP_BF537_0.pdf</a> <a href="http://download.analog.com/manuals/blackfin/processorManuals/BF537_HRM_whole_book.pdf" class="urlextern" title="http://download.analog.com/manuals/blackfin/processorManuals/BF537_HRM_whole_book.pdf" rel="nofollow">http://download.analog.com/manuals/blackfin/processorManuals/BF537_HRM_whole_book.pdf</a></p></div><!-- SECTION [1585-] --></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -