Purpose
The USB Video Example will help you to get familiar with the USB Device Port(UDP) and ISI interface on SAMV7/E7 Microcontrollers.
Requirements
This package can be used with SAMV71 Xplained Ultra board or SAME70 Xplained board
- On-board ISI interface.
- External sensor, in the example, MT9V022 sensor could be used. It does data conversion, if necessary, before the storage in memory through DMA. The ISI supports color CMOS image sensor and grayscale image sensors with a reduced set of functionalities. When an EK running this program connected to a host (PC for example), with USB cable, the EK appears as a video camera for the host.
- Note:
- For the limitation of external memory size, this example only support for QVGA format.
Description
The USB video can help you to be familiar with the ISI (Image Sensor Interface) to connects a CMOS-type image sensor to the processor and provides image capture in various formats.
Usage
- Build the program and download it inside the board. Please refer to the Getting Started with SAM V71/E70 Microcontrollers.pdf
- On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
- 115200 baud rate
- 8 bits of data
- No parity
- 1 stop bit
- No flow control
- Start the application.
- In the terminal window, the following text should appear:
-- USB Video Gray Example xxx --
-- SAMxxxxx-xx
-- Compiled: xxx xx xxxx xx:xx:xx --
- When connecting USB cable to windows, the new "xxx USB Device" appears in the hardware device list.
- Once the device is connected and configured on windows XP, "USB Video Device" will appear in "My Computer", you can double click it to preview with default resolution - QVGA.
- Other video camera programs can also be used to monitor the capture output. The demo is tested on windows XP through "AmCap.exe".
References