id 415:drive a color tft-lcd panel with low-cost flash mcus sridhar lingam product marketing manager...

36
ID 415: Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

Upload: silvester-sanders

Post on 05-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

ID 415: Drive a Color TFT-LCD panel with Low-cost Flash MCUs

Sridhar Lingam

Product Marketing Manager

12 October 2010

Version: 06

Page 2: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

2

Sridhar Lingam

Product Marketing Manager M16C/R32C, H8S/H8SX Product Families TFT-LCD solution for H8S and H8SX Renesas MCU CAN Solutions

Education MSEE from the Clemson University, Clemson, SC

Work Experience 16 years experience with semiconductor Industry Varied experience as Product Engineer, FAE and Product

Marketing Responsible for definition and Marketing of Memory & MCU

product families Previously worked at National Semiconductor,

STMicroelectronics & Atmel

Page 3: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

3

Renesas Technology and Solution Portfolio

Microcontrollers& Microprocessors

#1 Market shareworldwide *

Analog andPower Devices#1 Market share

in low-voltageMOSFET**

Solutionsfor

Innovation

Solutionsfor

InnovationASIC, ASSP& Memory

Advanced and proven technologies

* MCU: 31% revenue basis from Gartner "Semiconductor Applications Worldwide Annual Market Share: Database" 25 March 2010

** Power MOSFET: 17.1% on unit basis from Marketing Eye 2009 (17.1% on unit basis).

Page 4: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

44

Renesas Technology and Solution Portfolio

Microcontrollers& Microprocessors

#1 Market shareworldwide *

Analog andPower Devices#1 Market share

in low-voltageMOSFET**

ASIC, ASSP& Memory

Advanced and proven technologies

* MCU: 31% revenue basis from Gartner "Semiconductor Applications Worldwide Annual Market Share: Database" 25 March 2010

** Power MOSFET: 17.1% on unit basis from Marketing Eye 2009 (17.1% on unit basis).

Solutionsfor

Innovation

Solutionsfor

Innovation

Page 5: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

55

Microcontroller and Microprocessor Line-up

Superscalar, MMU, Multimedia Up to 1200 DMIPS, 45, 65 & 90nm process Video and audio processing on Linux Server, Industrial & Automotive

Up to 500 DMIPS, 150 & 90nm process 600uA/MHz, 1.5 uA standby Medical, Automotive & Industrial

Legacy Cores Next-generation migration to RX

High Performance CPU, FPU, DSC

Embedded Security

Up to 10 DMIPS, 130nm process350 uA/MHz, 1uA standbyCapacitive touch

Up to 25 DMIPS, 150nm process190 uA/MHz, 0.3uA standbyApplication-specific integration

Up to 25 DMIPS, 180, 90nm process 1mA/MHz, 100uA standby Crypto engine, Hardware security

Up to 165 DMIPS, 90nm process 500uA/MHz, 2.5 uA standby Ethernet, CAN, USB, Motor Control, TFT Display

High Performance CPU, Low Power

Ultra Low PowerGeneral Purpose

Page 6: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

66

Microcontroller and Microprocessor Line-up

Superscalar, MMU, Multimedia Up to 1200 DMIPS, 45, 65 & 90nm process Video and audio processing on Linux Server, Industrial & Automotive

Up to 500 DMIPS, 150 & 90nm process 600uA/MHz, 1.5 uA standby Medical, Automotive & Industrial

Legacy Cores Next-generation migration to RX

High Performance CPU, FPU, DSC

Embedded Security

Up to 10 DMIPS, 130nm process350 uA/MHz, 1uA standbyCapacitive touch

Up to 25 DMIPS, 150nm process190 uA/MHz, 0.3uA standbyApplication-specific integration

Up to 25 DMIPS, 180, 90nm process 1mA/MHz, 100uA standby Crypto engine, Hardware security

Up to 165 DMIPS, 90nm process 500uA/MHz, 2.5 uA standby Ethernet, CAN, USB, Motor Control, TFT Display

High Performance CPU, Low Power

Ultra Low PowerGeneral Purpose

Direct Drive TFT LCD H8S/H8SX/RX

Page 7: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

7

Innovation

Page 8: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

8

Renesas Direct Drive Solution

Renesas’ LCD Direct Drive solutions provide you with a simple, low-risk and

low-cost implementation to drive a graphical display that will enhance

your product.

Page 9: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

9

Agenda

TFT LCD 101

Influential Factors

Renesas solutions

Q & A

Page 10: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

10

Key Takeaways

TFT LCD Basics

A low cost Direct Drive LCD solution implementation

Hardware and Software tools to guide the design effort

Renesas MCU solutions for Direct Drive solution

Page 11: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

11

Typical LCD Panel Technologies for Embedded Designs

STNSuper

Twisted Nematic

TFTActive Thin

Film Transistor

OLEDOrganic Light Emitting

Diode

Response Time

~100ms ~10ms ~0.01ms

Contrast Ratio

~10:1 ~100:1 ~1000:1

Viewing Angle

+/- 15o +/- 75o +/- 85o

Note Looks cheap

Good for motion

No backlight rqd, but currently has lifetime

limitations

Cost $ $$$ $$$$$

Best choice today

Best choice today

Page 12: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

12

User Interface Trends

Upgrade to Color TFT-LCD DisplayExisting Display

Page 13: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

13

0

500,000

1,000,000

1,500,000

2,000,000

2,500,000

3,000,000

3,500,000

4,000,000

4,500,000

5,000,000

2009 2010 2011 2012 2013 2014

Th

ou

san

ds

of

Un

its

$15,000

$17,000

$19,000

$21,000

$23,000

$25,000

$27,000

$29,000

Millio

ns o

f Do

llars

Units (Ku) Revenue ($M)

Small/Medium TFT-LCD Panels (<10”diag)

Source: iSuppli Corporation. June 2010

Page 14: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

14

Pricing Trends of Small/Medium TFT-LCD Panels

A Continuing Price Decline !!!Source: iSuppli Corporation. June 2010

0

10

20

30

40

50

60

2009 2010 2011 2012 2013 2014

($)

Av

era

ge

Se

llin

g P

ric

e Automotive

Digital Photo Frame

Direct View TV

Handheld Comp/PDAs

Industrial/Financial

Medical

Portable Computer

Portable DVD

Portable Navigation Devices (PND)

Other

Page 15: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

15

Typical TFT Display Connections

Up to 8 bits per pixel (bpp): 8 Red, 8 Green, 8 Blue … which is 24bpp

TFT LCD MODULE: QVGA, VGA, etc

TIMERS and

GPIO

TYPICAL MCU/MPU DEVELOPMENT BOARD

18 bpp often used with 16-bit MCU bus: 5 Red, 6 Green, 5 Blue

VERTICAL SYNC

HORIZONTAL SYNC

Vertical and Horizontal strobes

PIXEL CLOCK

DATA ENABLE

Pixel Clock with Enable signal

UP/DOWN

LEFT/RIGHT

Image Orientation control

8 RED

8 GREEN

8 BLUE

32 DATA BUS

5 RED

6 GREEN

5 BLUE

16 DATA BUS

Page 16: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

16

QVGA (320 x 240) pixel placement and sync pulses

Ver

tical

Syn

c (

1 pe

r fr

ame)

D1,DH1

R 5

G 6

B 5

1 PIXEL (or DOT)

16 BITS

THERE ARE 78,600 (= 320 x 240)

OF THESE ON THIS PANEL

Horizontal Sync (1 per line, 240 lines per frame)

L1, P1 L1, P2 L1, P3 L1, P320

1st LINE

L2, P1 L2, P2 L2, P3 L2, P320

2nd LINE

L240, P1 L240, P2 L240, P3 L240, P320

240th LINE

L1,P1 means “Line 1, Pixel 1”

L2,P1 means “Line 2, Pixel 1”

Page 17: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

17

Painting a TFT Screen

Horizontal Sync

Dot Clock

16-bit RGB Data

Data Enable

H BACK PORCH P2P1

FIRST PIXEL

H FRONT PORCH

Vertical Sync

Horizontal Sync

Bursts of Lines

ONE LINE STARTS NEXT LINE STARTS

LINE 1: BURST OF 320 PIXELS

L1 L2 L240

P320

LAST PIXEL

ONE FRAME STARTS NEXT FRAME STARTS

VERTICAL BACK PORCH V FRONT PORCH

Page 18: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

18

Factors that influence the Direct Drive Solution

Interface

CPU Loading

Loading on the MCU internal and external busses

System Cost without sacrificing performance

Software development effort for LCD graphics

Migration Path to higher resolutions

Page 19: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

19

Positioning with reference to Interface

Customer Requirements

>10”Heavy

Animation, Motion

Video, MP3

No! 3.2” or Smaller

TFT, Low Animation

No!

3.5” to 10” TFT, Light to Medium Animation

Yes!

Sweet Spot

Chip On Glass,SPI Interface

Page 20: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

20

Question

Which ONE is a target application for DDLCD solution?

A: Thermostats

B: Medical Patient Monitors

C: White Goods User Interface

D: Home Security Keypad

E: All of the above

For which of the following requirements can DDLCD solution be

applicable?

A: Light to medium animation is required

B: Need a screen measuring more than 3.5”

C: Need to have motion video

Page 21: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

21

ExternalDMA

Controller

USB

Ethernet

CAN

Analog

GPIO Timer

CPU Loading

V sync

20 msec (50Hz refresh rate)

CPU cannot access frame buffer

(ExDMA moving data from SRAM to LCD)

42% of Frame (8.5 msec)

Flash & SRAM

EDREQ

Pixel CLK

Vsync, Hsync, Enable

Address bus

RD/

WR/

16 bit Data Bus

RGB (5:6:5)

ADDR

RGB (5:6:5)

Processing

CPU can access frame buffer

(ExDMA finished moving from data SRAM to LCD)

Up to 58% of Frame

CPU

Page 22: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

22

ADC10 bit

I/O Ports

WDTI2C

SCIx 5 ch

ExDMAInterface

Bus Loading 1: Static Graphic Image

BSC

DAC8 bit

x 6 chPPG

TPU16 bit

x 16 ch

TMR8 bit

x 3 ch

INTC bridgeDMA4 ch

Peripheral Bus

100%

0%

50%

Internal Bus Loading

100%

0%

50%

External Bus Loading

SRAM or PSRAM Frame Buffer

Internal Bus

FLASH512KB

H8S CPU

SRAM32KB

DTC

Ex

tern

al

Bu

s P

ins

External Data Bus

Pixel Timing

External Addr Bus

Automatic Pixel Transfer

(ExDMA)

QVGA panel

driven at 50 fps

Only 2% !!

42%Automatic ExDMA Transfer

SLIDE SHOW

< >

QV

GA

LCD

Page 23: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

23

QV

GA

LCD

ADC10 bit

Bus Loading 2: Medium Graphic Animation

100%

0%

50%

Internal Bus Loading

100%

0%

50%

External Bus Loading

I/O Ports

WDTI2C

SCIx 5 ch

ExDMAInterface

BSC

DAC8 bit

x 6 chPPG

TPU16 bit

x 16 ch

TMR8 bit

x 3 ch

INTC bridgeDMA4 ch

Peripheral Bus

Internal Bus

FLASH512KB

H8S CPU

SRAM32KB

DTC

Ex

tern

al

Bu

s P

ins

External Data Bus

Pixel Timing

External Addr Bus

Increased bus

sharingFrame Buffer Updated During Vertical Blanking

QVGA panel

driven at 50 fps

25% CPU Transfer

67%

5%

35%5% Calc

42% Auto ExDMA Transfer

25% CPU Transfer

SRAM or PSRAM Frame Buffer

Page 24: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

24

Major System Components

$5.96 TotalResale, 50Ku

$4.55 TotalResale, 50Ku

System Cost, MCU + Frame

Buffer

VGA

QVGA

Display Resolution Major System Components

$5.96 TotalResale, 50Ku

$4.55 TotalResale, 50Ku

System Cost, MCU + Frame

Buffer

VGA

QVGA

Display Resolution

H8S/2426Z

$3.60

IS66WV51216

$0.95

H8SX/1665MZ

$5.30

IS42S16100

$0.66

MCU

PSRAM

MCU

SDRAM

$2 to $3 less than typical

MPU systems (MPU + Flash + SDRAM)

Lowest-Cost System to Drive Color TFT-LCD

Page 25: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

25

Create your own GUI with Free API, Library, and Demos

Use buttons, sliders, shapes, and manipulate bitmap images

Import Standard Vector Font Files, proportion and display fonts

Place a text string within a bitmap button or other object

Supports transparency, coloring, and direction of characters

Renesas Graphics API and Library Free !

Page 26: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

26

3rd Party Graphics support DDLCD For more advanced graphic requirements … two companies have

ported their graphic software products

Altia: PhotoProto www.altia.com

Segger: emWIN www.segger.com

Page 27: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

27

Question

What % of internal CPU bandwidth is required of DDLCD to refresh a

TFT panel at 60Hz?

A: 50%

B: 5%

Page 28: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

28

Get Started: Renesas Development Kits

Renesas GAPI

Free !

Contents: Renesas standard RSK board with

H8S/2456Z or H8SX/1668Z 4.3” WQVGA TFT LCD panel with

resistive touch screen E10a-FSK for complete debug and

development

Start Developing Evaluate System Performance Modify firmware to make your own

GUI Evaluate graphics with free Graphics

API, library & examples

See Website for latest documentation and firmware: www.america.renesas.com/ddlcd

In-

Stock

Now!

Page 29: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

29

• Up to 512 KB Flash• QVGA @ 60Hz• Light Animation• Full-Speed USB• Lowest Cost

• Up to 1MB Flash• QVGA @ 60Hz• VGA @ 30Hz• Medium Animation• Full-Speed USB• High Performance• Low Cost

• Up to 1MB Flash• WQVGA @ 60Hz• High Animation• Floating Point• High Speed USB

Host & Device• Ethernet• High Performance• Very Low Power

• Up to 1.1MB SRAM

• WVGA @ 60Hz• Heavy Animation• MP3 Decode• Light Video• Floating Point• On-chip frame

buffer• High-Speed USB

Host & Device• I2S• Low Power Modes

200MhzSH-2A• Up to 336KB

SRAM• XGA @ 60Hz• Multimedia• 2D graphics

acceleration• MPEG4, VC-1,

H.264• NTSC, PAL• Multiple audio

formats

400MhzSH-4A

RTOS: FreeRTOS, uCOSII, CMX, EmBOS

Graphics: Renesas, Segger, Altia

CODE COMPATIBLE

RTOS: ThreadX,

Graphics: Segger

OS: WinCE, LINUX, QNX

CODE COMPATIBLE

35Mhz

50Mhz

LCD Direct Drive

Renesas Easy Low Cost TFT-LCD Solutions

100Mhz

Page 30: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

30

Question

List at least 4 target applications for DDLCD?

1. Thermostats

2. Security Panels

3. Medical Patient Monitors

4. Climate Control

5. Exercise Equipment

6. White Goods User Interface

7. Industrial Process Control User Interface

8. Instrumentation

Page 31: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

31

Questions?

Page 32: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

32

Innovation

Page 33: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

33

Thank You!

Page 34: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

34

Appendix

Page 35: ID 415:Drive a Color TFT-LCD panel with Low-cost Flash MCUs Sridhar Lingam Product Marketing Manager 12 October 2010 Version: 06

35

TFT Interface Throughput Examples of system resources needed for some very typical LCD

sizes and color depths

QVGA (320 x 240), 16 bpp, 50 frames per second (fps) Frame buffer size = 154 Kbytes ……………... [ 320 pixels x 240 lines x 2 bytes per pixel

]

Actual qty of pixel (or dot) clock periods with front and back porch per frame: Dot Clocks per Frame = 95882 clocks…... (2HS+52HB+320+8HF) x

(2VS+5VB+240+4VF)

We artificially extend the Vertical Front Porch so CPU can update frame buffer: Dot Clocks per Frame = 225,762 clocks.(2HS+52HB+320+8HF) x

(2VS+5VB+240+345VF) Final Dot Clock Rate = 11.3 MHz…………………...….... [ 225,762 dot periods x 50

fps ]

VGA (640 x 480), 16 bpp, 35 fps Frame buffer size = 614 Kbytes Extended Dot Clocks per Frame = 498,960 clocks Dot Clock Rate = 17.5 MHz

Page 36: 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.