Using the Renesas Graphics API to Create a User Interface

Similar documents
FPGA 设计实例 基于 FPGA 的图形液晶显示面板应用. Graphic LCD panel. FPGAs make great video controllers and can easily control graphic LCD panels.

Design and Implementation of an AHB VGA Peripheral

Computer Graphics. Introduction

To fully utilize Media 100 s genlocking capability, you ll need the following equipment connected to your system:

Hitachi Europe Ltd. ISSUE : app084/1.0 APPLICATION NOTE DATE : 28/04/99

GUIX Synergy Port Framework Module Guide

FPGA Laboratory Assignment 4. Due Date: 06/11/2012

Energy Optimized Display Application

Design and Implementation of SOC VGA Controller Using Spartan-3E FPGA

STB Front Panel User s Guide

Lab Assignment 2 Simulation and Image Processing

Comp 410/510. Computer Graphics Spring Introduction to Graphics Systems

Part 1: Introduction to Computer Graphics

VGA 8-bit VGA Controller

Sundance Multiprocessor Technology Limited. Capture Demo For Intech Unit / Module Number: C Hong. EVP6472 Intech Demo. Abstract

VID_OVERLAY. Digital Video Overlay Module Rev Key Design Features. Block Diagram. Applications. Pin-out Description

An Efficient SOC approach to Design CRT controller on CPLD s

Lab Determining the Screen Resolution of a Computer

VHDL Design and Implementation of FPGA Based Logic Analyzer: Work in Progress

AN-ENG-001. Using the AVR32 SoC for real-time video applications. Written by Matteo Vit, Approved by Andrea Marson, VERSION: 1.0.0

Manual Version Ver 1.0

2G Video Wall Guide Just Add Power HD over IP Page1 2G VIDEO WALL GUIDE. Revised

Lab # 9 VGA Controller

Design of VGA Controller using VHDL for LCD Display using FPGA

4.3inch 480x272 Touch LCD (B) User Manual

VMIX104. Alpha-blend. text and graphics. onto. live video

6.111 Project Proposal IMPLEMENTATION. Lyne Petse Szu-Po Wang Wenting Zheng

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

EXOSTIV TM. Frédéric Leens, CEO

What is sync? Why is sync important? How can sync signals be compromised within an A/V system?... 3

FPGA Prototyping using Behavioral Synthesis for Improving Video Processing Algorithm and FHD TV SoC Design Masaru Takahashi

Introduction to Computer Graphics

Multiband Noise Reduction Component for PurePath Studio Portable Audio Devices

MultiScopeLite. Users Guide. Video Measurement and Calibration Tools. RHMG Software Tools Library 1/18/2013. Bill and Scott Werba

Embedded Master Module

7inch Resistive Touch LCD User Manual

ECE532 Digital System Design Title: Stereoscopic Depth Detection Using Two Cameras. Final Design Report

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

Pivoting Object Tracking System

ID 421C: Designing with Segmented LCD Displays

USER MANUAL Nokia 5110 LCD

Introduction. ECE 153B Sensor & Peripheral Interface Design Winter 2016

CS 4451A: Computer Graphics. Why Computer Graphics?

UFG-10 Family USER MANUAL. Frame Grabbers. Windows 8 Windows 7 Windows XP

Spartan-II Development System

Configuring and using the DCU2 on the MPC5606S MCU

Alice EduPad Board. User s Guide Version /11/2017

ZYLIA Studio PRO reference manual v1.0.0

High Performance TFT LCD Driver ICs for Large-Size Displays

Displays. History. Cathode ray tubes (CRTs) Modern graphics systems. CSE 457, Autumn 2003 Graphics. » Whirlwind Computer - MIT, 1950

2.13inch e-paper HAT (D) User Manual

RX Family APPLICATION NOTE. QE for Display [RX] Sample Program. Summary. Target Devices. R20AN0487EJ0100 Rev Mar. 20, 2018

1. Introduction. 1.1 Graphics Areas. Modeling: building specification of shape and appearance properties that can be stored in computer

Sampler Overview. Statistical Demonstration Software Copyright 2007 by Clifford H. Wagner

Reading. Display Devices. Light Gathering. The human retina

VGA Controller. Leif Andersen, Daniel Blakemore, Jon Parker University of Utah December 19, VGA Controller Components

AD9884A Evaluation Kit Documentation

Display Technologies CMSC 435. Slides based on Dr. Luebke s slides

Block Diagram. dw*3 pixin (RGB) pixin_vsync pixin_hsync pixin_val pixin_rdy. clk_a. clk_b. h_s, h_bp, h_fp, h_disp, h_line

3. Displays and framebuffers

Part 1: Introduction to computer graphics 1. Describe Each of the following: a. Computer Graphics. b. Computer Graphics API. c. CG s can be used in

A+ Certification Guide. Chapter 7 Video

Pacific C-A Feature Highlights

Tearing Effect with Solomon SSD1963 Display Controller

How to Match the Color Brightness of Automotive TFT-LCD Panels

Reading. 1. Displays and framebuffers. History. Modern graphics systems. Required

SOC Single Channel H264 + Audio Encoder module

Downloads from:

EECS150 - Digital Design Lecture 12 - Video Interfacing. Recap and Outline

LogiCORE IP Video Timing Controller v3.0

Obsolete Product(s) - Obsolete Product(s)

RADEON User s Guide P/N

Video Graphics Array (VGA)

An FPGA Based Solution for Testing Legacy Video Displays

Computer Graphics. Raster Scan Display System, Rasterization, Refresh Rate, Video Basics and Scan Conversion

CMPE 466 COMPUTER GRAPHICS

Display Technology. Cathode Ray Tube. Images stolen from various locations on the web...

DRAFT RELEASE FOR BETA EVALUATION ONLY

Computer Graphics: Overview of Graphics Systems

DESIGN AND DEVELOPMENT OF A MICROCONTROLLER BASED PORTABLE ECG MONITOR

Press Publications CMC-99 CMC-141

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition

Altera's 28-nm FPGAs Optimized for Broadcast Video Applications

Reading. Displays and framebuffers. Modern graphics systems. History. Required. Angel, section 1.2, chapter 2 through 2.5. Related

INSTALATION AND OPERATION MANUAL ABYSSAL OS Overlay Module Version 1.0.1

Digital Blocks Semiconductor IP

Sapera LT 8.0 Acquisition Parameters Reference Manual

Graduate Institute of Electronics Engineering, NTU Digital Video Recorder

Introduction To LabVIEW and the DSP Board

Thiscontrolerdatasheetwasdownloadedfrom htp:/ HD66750S

Specifications. Video Controller VX4U. Xi an NovaStar Tech Co., Ltd.

Coronis 5MP Mammo. Online User Guide

Getting Started with Launchpad and Grove Starter Kit. Franklin Cooper University Marketing Manager

Lab 1 Introduction to the Software Development Environment and Signal Sampling

Copyright 2018 Xi an NovaStar Tech Co., Ltd. All Rights Reserved. No part of this document may be copied, reproduced, extracted or transmitted in any

Table of content. Table of content Introduction Concepts Hardware setup...4

Group 1. C.J. Silver Geoff Jean Will Petty Cody Baxley

EDA385 Bomberman. Fredrik Ahlberg Adam Johansson Magnus Hultin

Capstone Experiment Setups & Procedures PHYS 1111L/2211L

Display Technology.! Images stolen from various locations on the web... Cathode Ray Tube

Transcription:

Using the Renesas Graphics API to Create a User Interface Renesas Electronics America Inc.

Renesas Technology & Solution Portfolio 2

Renesas Technology & Solution Portfolio 3

Microcontroller and Microprocessor Line-up 2010 2012 32-bit 8/16-bit 1200 DMIPS, Superscalar Automotive & Industrial, 65nm 600µA/MHz, 1.5µA standby 500 DMIPS, Low Power 32-Bit High Performance DSP, FPU with High Integration Automotive & Industrial, 90nm 600µA/MHz, 1.5µA standby 165 DMIPS, FPU, DSC Industrial, 90nm 200µA/MHz, 1.6µA deep standby 25 DMIPS, Low Power Industrial & Automotive, 150nm 190µA/MHz, 0.3µA standby 10 DMIPS, Capacitive Touch Wide Industrial Format & LCDs Automotive, 130nm 350µA/MHz, 1µA standby 1200 DMIPS, Performance Automotive, 40nm 500µA/MHz, 35µA deep standby 165 DMIPS, FPU, DSC Industrial, 40nm 200µA/MHz, 0.3µA deep standby Embedded Security, ASSP Industrial, 90nm 1mA/MHz, 100µA standby 44 DMIPS, True Low Power Industrial & Automotive, 130nm 144µA/MHz, 0.2µA standby 4

Enabling The Smart Society Challenge: As everyday products become more complex, the ability to control and configure them becomes more difficult. Solution: Enabling low cost, high quality, simple to design graphical interfaces allows for intuitive use of complex products by all users 5

Agenda Introduction to TFT Framebuffer, GAPI and Framework Lab 1: Explore Raster Frame and GAPI Lab 2: Understanding the Framework GUI translation process Lab 3: Create graphical resource files Lab 4: Create new screen Lab 5: Creating Interaction with the Screen 6

Introduction to GAPI and Framework Lab 1: Explore Frame Buffer and GAPI 7

RGB pixel placement and sync pulses L1,P1 means Line 1, Pixel 1 L2,P1 means Line 2, Pixel 1 Vertical Sync (1 per frame) L1, P1 L1, P2 L1, P3 L1, P480 L2, P1 L2, P2 L2, P3 L2, P480 D1,DH1 1 PIXEL (or DOT) R 5 G 6 B 5 16 BITS THERE ARE 130,560 (= 480x272) OF THESE ON THIS PANEL L272, P1 L272, P2 L272, P3 L272, P480 1 st LINE 272 nd LINE 2 nd LINE Horizontal Sync (1 per line, 240 lines per frame) 8

Start Lab 1 Please refer to the Lab Handout and let s get started! 9

The Frame Buffer RAM Frame Pointer 86 5 480 Data (6/6/6, (5/6/5, (8/8/8, 18bpp) 16bpp) 24bpp) Frame Pointer 8 6 86 5 272 Control H-SYNC V-SYNC Pixel CLK 10

Lab 1 Review/Questions Lab 1 Questions: 1.Where are the bitmaps and fonts source files being stored within the MCU? 2.How are they being located there? 3.What types of issues are you seeing with these methods of writing to the frame buffer? 11

Introduction to GAPI and Framework Lab 2: Understanding the Framework 12

What is the Framework? Overview of demonstration code User Application Screens FrameWork Other Application Code GAPI RTOS USB-API Ethernet-API Ext. Bus Driver Direct Drive USB Driver Ethernet Driver Hardware 13

Start Lab 2 Please refer to the Lab Handout and let s get started! 14

Framework Flow Event Sources (Touchscreen,RTC) 15

Lab 2 Review/Questions Lab 2 Questions: 1. How are we changing the color of the slider button? 2. Do you need to use Screen Object in the callback? 3. How are we handling the display corruption issues from Lab 1? 16

Lab 2 Questions: 1 - How are we changing the color of the slider button? Determines the visual behavior of an associated object The usage of the scheme is dependent on object: In case of button handler [0]: behavior in inactive state [1]: behavior in active state In case of slider handler [0]: appearance of the slider bar [1]: appearance of the slider button 17

2-Do you need to use screen objects in the callback? No Screen objects are just a template for common behavior. Completely custom behavior can be defined in the callback. A combination of custom behavior and screen object is typical. Creation of your own Screen Objects is encouraged. In case of Touched callback, no screen object is used. 18

3-How are we handling the display corruption? Via frame buffer manipulation Background Work Display 19

GUI Translation Process: Lab 3: Create Graphical Resource Files 20

Original Artwork Your Mission: Make it Work 21

Decomposing the Problem Touch Spots Static Text Dynamic Text 22

Breaking out Resources Background Image Waveform Box Slider Font Square 721 BT in sizes 12, 18, 24, 42 Icons, Buttons and Regions 23

Converting Resources Button and Box Conversions 24

Start Lab 3 Please refer to the Lab Handout and let s get started! 25

Lab 3 Review/Questions Lab 3 Questions: 1. What are several advantages and disadvantages to building the screen at runtime from components (as opposed to pre-rendering the information into the bitmaps)? 26

GUI Translation Process: Lab 4: Create new screen 27

Resource File Contains all resources Individual components accessed at runtime 28

Initial Screen Creation Build Background Add buttons Background Frame Resources.bin Display Frame 29

Start Lab 4-Almost Done Please refer to the Lab Handout and let s get started! 30

Lab 4 Review/Questions Lab 4 Questions: 1. Where in the source code are the six data boxes being handled? 2. What would be another candidate for a handler looking at the source in this example? 31

GUI Translation Process: Lab 5: Creating Interaction with the Screen 32

Using Events to Signal Updates Use Callback to control non-graphical elements Use Events to signal updates to Callback functions Control Target Rate from Slider Display simulated data values on graph and monitors 33

Start Lab 5 Last One Please refer to the Lab Handout and let s get started! 34

Lab 5 Review/Questions Lab 5 Questions: 1. What happens if you use the FileFind framework call to search for a resource and it is not located? 35

Questions? 36

Enabling The Smart Society Challenge: As everyday products become more complex, the ability to control and configure them becomes more difficult. Solution: Enabling low cost, high quality, simple to design graphical interfaces allows for intuitive use of complex products by all users 37

Renesas Electronics America Inc.