Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 5L08I Using the Renesas Graphics API to Create.

Slides:



Advertisements
Similar presentations
Overview of Graphic Systems
Advertisements

1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L02B Introduction to the RX-Arduino (Lab) Anthony.
©2008. Renesas Technology America., All rights reserved. Renesas Direct Drive for Connecting to TFT-LCD Panels David Hedley – Staff Applications Engineer.
Enhance Embedded Systems with Low Cost TFT Solutions
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Using a Renesas Code Generation Tool for RL78 Devices.
An Overview of Qt - asankar1. Agenda About Qt –A brief intro of Qt Qt development tools –Tools used for building Qt application Qt Architecture –The underlying.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. RL78 Ultra Low Power MCU Lab.
ID 413C: Can Touch This: Designing Capacitive-Based Touch Solutions Mark F Rodriguez Senior Engineering 13 October 2010 Version: 1.0 Xaplos Inc.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Instant Connectivity for the “Internet of Things”
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Debugging on RX with IAR Embedded Workbench.
Renesas Electronics America Inc. ID 311L: PIC to R8C Converter David Hedley Staff AE, Applications Engineering 14 Oct 2010 Version: 1.1.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Increase the Dynamic Range and Precision of Digital Filters.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. An Introduction to e 2 studio.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Introduction to the.NET Micro Framework Julie Trygstad,
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Know your Precise Position with RX600 MCU.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID A15C: Application Code Reprogramming Using Different Serial.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 320L: Rapid RX600 System Development Using the RPDL and.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L13B David Hedley, Applications Engineer Advanced.
Renesas Electronics America Inc. “© 2010 Renesas Electronics America Inc. All rights reserved ID 220L: Hands-on Embedded Ethernet Design with an Open Source.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. 431L: Using a Graphics API to Create User Interface Components—Advanced.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 9L02I Software Development with an Open Source.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. LibUSB - Create a Solution Without the Class Struggle.
ID 310C:Run-Time Visualization on Renesas MCUs Matt Gordon Sr. Applications Engineer Version: 1.2 Micriµm 12 October 2010.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Migrating from CubeSuite+ to Eclipse.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: RL78 Ultra Low Power MCU Lab Michael Clodfelter.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 2L03I RL78 Bluetooth Connectivity Anthony Harris,
ID A16C: Outfitting Embedded Devices with Low Power Wireless Communications Design considerations for adding wireless communications to low power embedded.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. e 2 Studio – Getting Started.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Know your Precise Position with RX600 MCU Huangsheng.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Debugging on RX with IAR Embedded Workbench Micael.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. 113C: Migration to the RX600 Made Easy Life in the fast lane.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID630L: Becoming Familiar with Sensorless Vector Control.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Using Virtual EEPROM and Flash API for.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 011C: VELOCITY LAB TM Embedded Development Ecosystem Amrit.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. QuantiPhi for RH850 and RL78 - The Fastest Path from Idea.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Increase the Dynamic Range and Precision of Digital.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Implementing Bootloaders on Renesas MCUs.
2L01I Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 2L02I CAN In A Day Carl Stenquist, Staff.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 434L: Incorporating a Capacitive Touch Interface into.
ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Audio Solutions on the RX MCU Family Mitch Ferguson,
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Advanced Debugging on the RX600.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Advanced E 2 Studio Topics.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 411L:A Direct Drive LCD Software Solution for Driving.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: CC05B RX Project Configuration Tips John Breitenbach,
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Low Power Design Michael Thomas, Applications Engineer.
ID 222L: Get Connected with USB on RX62N
ID 024C: Auto Code Generation: The Shortest Distance From Idea to Implementation Christopher Myers Director of Software Development 12 October 2010 Version:
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 230L: Simplify your Networked Application with CAN and.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 416C:SH-2A Graphics for Low- to Mid-level Graphics Applications.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L08I Migrating from CubeSuite+ to Eclipse Neelima.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 3L05I Advanced Debugging on the RX600 Fatih Peksenar.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 322L:Advanced Debugging on the RX600 Brandon Hussey Applications.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID 421L: R8C Segment-LCD API Lab Bob Proctor Staff Engineer.
Renesas Electronics America Inc. © 2010 Renesas Electronics America Inc. All rights reserved. ID A10L:A Flexible Flash Rewrite Application Brandon Hussey.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: QuantiPhi for RH850 and RL78 - The Fastest Path.
INFORMATION SYSTEM – SOFTWARE TOPIC: GRAPHICAL USER INTERFACE.
ID 021L: Model Based Control Design and Auto-Code Generation using the R8C Christopher Myers Director of Software Development 12 October 2010 Version:
Class ID: Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: Using Software Building Blocks for Faster.
COMP413: Computer Graphics Overview of Graphics Systems Chapter 1.
Computer Graphics: An Introduction
David Hedley Staff AE, Applications Engineering 12 Oct 2010
Chapter 2 – Introduction to the Visual Studio .NET IDE
ID 325L: Getting Started with CubeSuite
Chapter 4 Enhancing the Graphical User Interface
Presentation transcript:

Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 5L08I Using the Renesas Graphics API to Create a User Interface Jon Brabender, Applications Engineer

© 2012 Renesas Electronics America Inc. All rights reserved.2 Jon Brabender Principle Engineer 11 years with Renesas Electronics Technical Lead for RX MCU Family Creator of LCD Direct Drive and GAPI IP Over 25 years experience in embedded product development Mostly industrial controls

© 2012 Renesas Electronics America Inc. All rights reserved.3 Renesas Technology & Solution Portfolio

© 2012 Renesas Electronics America Inc. All rights reserved.4 Renesas Technology & Solution Portfolio

© 2012 Renesas Electronics America Inc. All rights reserved.5 Microcontroller and Microprocessor Line-up Wide Format LCDs  Industrial & Automotive, 130nm  350µA/MHz, 1µA standby 44 DMIPS, True Low Power Embedded Security, ASSP 165 DMIPS, FPU, DSC 1200 DMIPS, Performance 1200 DMIPS, Superscalar 500 DMIPS, Low Power 165 DMIPS, FPU, DSC 25 DMIPS, Low Power 10 DMIPS, Capacitive Touch  Industrial & Automotive, 150nm  190µA/MHz, 0.3µA standby  Industrial, 90nm  200µA/MHz, 1.6µA deep standby  Automotive & Industrial, 90nm  600µA/MHz, 1.5µA standby  Automotive & Industrial, 65nm  600µA/MHz, 1.5µA standby  Automotive, 40nm  500µA/MHz, 35µA deep standby  Industrial, 40nm  200µA/MHz, 0.3µA deep standby  Industrial, 90nm  1mA/MHz, 100µA standby  Industrial & Automotive, 130nm  144µA/MHz, 0.2µA standby bit 8/16-bit

© 2012 Renesas Electronics America Inc. All rights reserved.6 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” ‘Enabling The Smart Society’

© 2012 Renesas Electronics America Inc. All rights reserved.7 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 Agenda

© 2012 Renesas Electronics America Inc. All rights reserved.8 Introduction to GAPI and Framework Lab 1: Explore Frame Buffer and GAPI

© 2012 Renesas Electronics America Inc. All rights reserved.9 RGB pixel placement and sync pulses Vertical Sync (1 per frame) D1,DH1 R5R5 G6G6 B5B5 1 PIXEL (or DOT) 16 BITS THERE ARE 130,560 (= 480x272) OF THESE ON THIS PANEL Horizontal Sync (1 per line, 240 lines per frame) L1, P1L1, P2L1, P3L1, P480 1 st LINE L2, P1L2, P2L2, P3L2, P480 2 nd LINE L272, P1L272, P2L272, P3L272, P nd LINE L1,P1 means “Line 1, Pixel 1” L2,P1 means “Line 2, Pixel 1”

© 2012 Renesas Electronics America Inc. All rights reserved.10 Start Lab 1 Please refer to the Lab Handout and let’s get started!

© 2012 Renesas Electronics America Inc. All rights reserved.11 The Frame Buffer Data (8/8/8, 24bpp) H-SYNC V-SYNC Pixel CLK Control Data (6/6/6, 18bpp) Data (5/6/5, 16bpp) RAM Frame Pointer

© 2012 Renesas Electronics America Inc. All rights reserved.12 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?

© 2012 Renesas Electronics America Inc. All rights reserved.13 Introduction to GAPI and Framework Lab 2: Understanding the Framework

© 2012 Renesas Electronics America Inc. All rights reserved.14 What is the “Framework”? Overview of demonstration code Hardware Ext. Bus Driver RTOS GAPI FrameWork USB DriverEthernet Driver USB-APIEthernet-API Direct Drive User Application Screens Other Application Code

© 2012 Renesas Electronics America Inc. All rights reserved.15 Start Lab 2 Please refer to the Lab Handout and let’s get started!

© 2012 Renesas Electronics America Inc. All rights reserved.16 Framework Flow

© 2012 Renesas Electronics America Inc. All rights reserved.17 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?

© 2012 Renesas Electronics America Inc. All rights reserved.18 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

© 2012 Renesas Electronics America Inc. All rights reserved.19 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.

© 2012 Renesas Electronics America Inc. All rights reserved.20 3-How are we handling the display corruption? Background Work Display Via frame buffer manipulation

© 2012 Renesas Electronics America Inc. All rights reserved.21 GUI Translation Process: Lab 3: Create Graphical Resource Files

© 2012 Renesas Electronics America Inc. All rights reserved.22 Original Artwork Your Mission: Make it “Work”

© 2012 Renesas Electronics America Inc. All rights reserved.23 Decomposing the Problem Touch SpotsStatic TextDynamic Text

© 2012 Renesas Electronics America Inc. All rights reserved.24 Breaking out Resources Background Image Waveform Box Slider Font “Square 721 BT” in sizes 12, 18, 24, 42 Icons, Buttons and Regions

© 2012 Renesas Electronics America Inc. All rights reserved.25 Converting Resources Button and Box Conversions

© 2012 Renesas Electronics America Inc. All rights reserved.26 Start Lab 3 Please refer to the Lab Handout and let’s get started!

© 2012 Renesas Electronics America Inc. All rights reserved.27 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)?

© 2012 Renesas Electronics America Inc. All rights reserved.28 GUI Translation Process: Lab 4: Create new screen

© 2012 Renesas Electronics America Inc. All rights reserved.29 Resource File Contains all resources Individual components accessed at runtime

© 2012 Renesas Electronics America Inc. All rights reserved.30 Initial Screen Creation Build Background Add buttons Background Frame Display Frame Resources.bin

© 2012 Renesas Electronics America Inc. All rights reserved.31 Start Lab 4-Almost Done Please refer to the Lab Handout and let’s get started!

© 2012 Renesas Electronics America Inc. All rights reserved.32 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?

© 2012 Renesas Electronics America Inc. All rights reserved.33 GUI Translation Process: Lab 5: Creating Interaction with the Screen

© 2012 Renesas Electronics America Inc. All rights reserved.34 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

© 2012 Renesas Electronics America Inc. All rights reserved.35 Start Lab 5 – Last One Please refer to the Lab Handout and let’s get started!

© 2012 Renesas Electronics America Inc. All rights reserved.36 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?

© 2012 Renesas Electronics America Inc. All rights reserved.37 Questions? Questions?

© 2012 Renesas Electronics America Inc. All rights reserved.38 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” ‘Enabling The Smart Society’

© 2012 Renesas Electronics America Inc. All rights reserved.39 Please utilize the ‘Guidebook’ application to leave feedback or Ask me for the paper feedback form for you to use… Please Provide Your Feedback…

Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved.