Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
OV7740 image sensor capture example.

Purpose

This example demonstrates how to configure the OV7740 to capture a picture and display it on LCD.

Requirements

This package can be used with sam4s_wpir_rd board.

Description

This example first sets the PLLB to the system core clock and PLLA to clock PCK0 (used to get data from image sensor). Next step is to configure the LCD controller and display information to the user. Then external SRAM, which is used to store data after acquisition, is configured. Finally this example configures the OV7740 CMOS image sensor and the PIO capture. When the user presses the push button, a picture is captured, stored to the external SRAM memory and finally displayed on the LCD.

Usage

  1. Build the program and download it inside the evaluation board.