..............................8 8 8 8 2.1 Layout and Components ..........................8 2.2 Block Diagram of the VEEK-MT-C5SOC ....................9 CHAPTER 3 CHAPTER 3 USING VEEK USING VEEK- - - - MT USING VEEK USING VEEK...
Page 3
A 5-megapixel digital image sensor, ambient light sensor, and 3-axis accelerometer make up the rich feature-set. The all-in-one embedded solution offered on the VEEK-MT-C5SOC, in combination of the LCD touch panel and digital image module, provides embedded developers the ideal platform for multimedia applications with unparallel processing performance.
Figure 1-1 The VEEK-MT-C5SOC board overview The key features of the board are listed below: • • • • Cyclone V SX SoC—5CSXFC6D6F31C6N o 110K LEs, 41509 ALMs o 5140 M10K memory blocks o 224 18x18 Multiplier o 6 FPGA PLLs and 3 HPS PLLs.
Page 5
o C serial electrically erasable PROM (EEPROM) o One Micro SD flash memory card • • • • Switches and Indicators o LEDs and displays o Eight user LEDs o One configuration load LED o One configuration done LED o One error LED o Three configuration select LEDs o Four on-board USB-Blaster II status LEDs o One HSMC interface LED...
Page 6
• • • • Power o 14–20-V (laptop) DC input • • • • Mechanical o 5.2" × 8.2" rectangular form factor Capacitive LCD Touch Screen • • • • Equipped with an 7-inch Amorphous-TFT-LCD (Thin Film Transistor Liquid Crystal Display) module •...
Page 7
Table 1-2 shows the key parameters of the CMOS sensor (Note*). Table 1-2 Key performance parameters of the CMOS sensor Parameter Value Active Pixels 2592Hx1944V Pixel size 2.2umx2.2um Color filter array RGB Bayer pattern Shutter type Global reset release(GRR) Maximum data rate/master clock 96Mp/s at 96MHz Full resolution Programmable up to 15 fps Frame rate...
To utilize the multi-touch panel in a Quartus II project, a Terasic Multi-Touch IP is required. After a license file for Quartus II is installed, there is one more license file needed to implement Terasic’s Multi-touch IP. Error messages will be displayed if the license file is not added before compiling projects using Terasic Multi-touch IP.
Here is the contact information should you encounter any problem: • • • • Terasic Technologies • • • • Tel: +886-3-575-0880 • • • • Email: support@terasic.com...
Chapter 2 Chapter 2 Architecture Architecture Architecture Architecture This chapter describes the architecture of the VEEK-MT-C5SOC including block diagram and components. The picture of the VEEK-MT-C5SOC is shown in Figure 2-1 Figure 2-2. It depicts the layout of the board and indicates the locations of the connectors and key components.
Figure 2-2 VEEK-MT-C5SOC PCB and Component Diagram (bottom view) Figure 2-3 gives the block diagram of the VEEK-MT-C5SOC board. VEEK-MT-C5SOC is a Cyclone V SoC development board and a Multi-touch LCD Camera Card (MTLC) combination connected via the HSMC connector. MTLC module is not only equipped with a 7"LCD screen, it also equips a 5-Megapixel digital image sensor module, G-sensor and Light sensor.
(800x480) to provide users the best display quality for developing applications. The LCD panel supports 24-bit parallel RGB data interface. The VEEK-MT-C5SOC is also equipped with a Touch controller, which can read the coordinates of the touch points through the serial port interface of the Touch controller.
Page 13
Horizontal Blank tCLK Vertical Period Vertical Valid Vertical Blank HSYNC setup time Thst HSYNC hold time Thhd VSYNC Setup Time Tvst VSYNC Hold Time Tvhd Horizontal Period 1056 tCLK Horizontal Pulse Width thpw tCLK thb+thpw=46DCLK Horizontal Back Porch tCLK is fixed Horizontal Front Porch thfp tCLK...
2.5V The VEEK-MT-C5SOC is equipped with a 5-megapixel digital image sensor that provides an active imaging array of 2,592H x 1,944V. It features low-noise CMOS imaging technology that achieves CCD image quality. In addition, it incorporates sophisticated camera functions on-chip such as windowing, column and row skip mode, and snapshot mode.
External input clock 2.5V The VEEK-MT-C5SOC is equipped with a digital accelerometer sensor module. The ADXL345 is a small, thin, and ultralow-power-consumption 3-axis accelerometer with high resolution measurement. Digitalized output is formatted as 16-bit twos complement and could be accessed either using SPI interface or I2C interface.
Serial Data 2.5V Terasic Multi-touch IP is provided for developers to retrieve user inputs, including multi-touch gestures and single-touch. The file name of this IP is i2c_touch_config and it is encrypted. To compile projects with the IP, users need to install the IP license first. For license installation, please ...
Page 17
ID defined in Table 3-7. If it is not a gesture, it means a single-touch has occurred and the relative X/Y coordinates can be derived from oREG_X1 and oREG_Y1. Table 3-6 Interface Definitions of Terasic Multi-touch IP Pin Name Direction Description iCLK...
Page 18
West 0x3C North-West 0x3E Click 0x40 Zoom In 0x48 Zoom Out 0x49 Note: The Terasic IP Multi-touch IP can also be found under the \IP folder in the system CD as well as the \IP folder in the reference designs.
• • • • Install Altera Quartus II 13.0 and NIOS II EDS 13.0 or a later edition on the host computer • • • • Install the USB-Blaster II driver software. • • • • Copy the entire demonstrations folder from the VEEK-MT-C5SOC system CD to your host computer This chapter shows how to control LCD and touch controller to establish a paint demo based on Qsys and Altera VIP Suite.
Page 20
Figure 4-1 Block diagram of the Painter demonstration Demonstration Source Code • • • • Project directory: Painter • • • • Bit stream used: Painter.sof • • • • Nios II Workspace: Painter \Software Demonstration Batch File Demo Batch File Folder: Painter \demo_batch The demo batch file includes the following files: •...
Page 21
• • • • Execute the demo batch file “test.bat” under the batch file folder, Painter \demo_batch • After Nios II program is downloaded and executed successfully, you will see a painter GUI in the LCD. Figure 4-2 shows the GUI of the Painter Demo. •...
This demonstration shows a digital camera reference design using the 5-Megapixel CMOS sensor and 8-inch LCD modules on the VEEK-MT-C5SOC. The CMOS sensor module sends the raw image data to FPGA on the Altera Cyclone® V SoC board, the FPGA on the board handles image processing part and converts the data to RGB format to display on the LCD module.
Page 24
After the configuration, The CMOS sensor starts to capture and output image data streams, the CMOS sensor Capture block extracts the valid pix data streams based on the synchronous signals from the CMOS sensor. The data streams are generated in Bayer Color Pattern format. So it’s then converted to RGB data streams by the RAW2RGB block.
Page 25
Demonstration Batch File Demo Batch File Folder: Camera\demo_batch The demo batch file includes the following files: • • • • Batch File: test.bat • • • • FPGA Configure File: Camera.sof Demonstration Setup • • • • Load the bit stream into FPGA by executing the batch file ‘test.bat’ under Camera\demo_batch\ folder •...
Page 26
Figure 4-7 Block diagram of the digital camera design Figure 4-8 Screen shot of the VEEK-MT-C5SOC camera demonstration...
Light Photo Sensor. The LCD displays the interface of our game. When tilting the VEEK-MT-C5SOC, the ADXL345 measures the static acceleration of gravity. In our Nios II software, we compute the change of angle in the x-axis and y-axis, and show angle data in the LCD display.
Page 28
“its ADXL345’s ID = e5”. • • • • Tilt the VEEK-MT-C5SOC to all directions, and you will find that the angle of the g-sensor and value of light sensor will change. When turning the board from -80º to -10º and from 10º to 80 º...
Page 29
Note: Execute G_sensor \demo_batch\test.bat to download .sof and .elf files.
Need help?
Do you have a question about the VEEK-MT-C5SOC and is the answer not in the manual?
Questions and answers