the cortex-m3 embedded systems: programming with the kitronix k350qvg-v1-f lcd refer to “kitronix...

11
The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information” “Stellaris® Graphics Library USER’S GUIDE”

Upload: ethel-phillips

Post on 18-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information”

The Cortex-M3 Embedded Systems:

Programming With the Kitronix K350QVG-V1-F LCD

Refer to“Kitronix Ltd. PRODUCT SPECIFICATION”

“SSD2119 Advance Information”“Stellaris® Graphics Library USER’S GUIDE”

Page 2: The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information”

K350QVG-V1-F LCD

Standard LCD Module 320 x RGB x 240 Dots 3.5” 262K colors TFT display Wide temperature With SSD2119 LCD driver With white LED backlight With Touch Panel

Page 3: The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information”

Pin Assignment

Page 4: The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information”

Connection with S700

PB7 PD

0

PD7

PB5PH

6

PH7

K350QVG-V1-F

Page 5: The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information”

SSD2119 Block Diagram

Page 6: The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information”

Programming with SSD2119

Page 7: The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information”

Write Operations

Writing an Instruction

Writing Pixel Data

Page 8: The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information”

Programming with Stellaris® Graphics Library

The graphics library consists of three layers: The display driver layer: supplied by the

application The graphics primitives layer: draw individual

items on the display, such as lines, circles, text, and so on

The widget layer: draw a user interface element on the display and the associated user interaction responses

Page 9: The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information”

Supply the Display Driver Layer

Implement a set of display dependent operations, such as initialization, backlight control and contrast control

Implement a set of routines required by the graphics library draw a pixel on this display draw multiple pixels on this display draw a horizontal line on this display draw a vertical line on this display draw a filled rectangle on this display translate 24-bit RGB colors to display-specific colors flush any cached drawing operations on this display

Construct a structure of tDisplay

Page 10: The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information”

Block Diagram

Page 11: The Cortex-M3 Embedded Systems: Programming With the Kitronix K350QVG-V1-F LCD Refer to “Kitronix Ltd. PRODUCT SPECIFICATION” “SSD2119 Advance Information”

Use Graphics Primitives and Widgets

The graphics primitives provide a set of low level drawing operations drawing lines, circles, text, and bitmap images Color is represented as 24-bit RGB A large set of fonts are provided

A drawing context should be constructed with GrContextInit() before it can be used to perform drawing operations, using the implemented display driver (i.e., an implemented instance of tDisplay)

Detailed description to all graphics primitives can be found in the user’s guide document

Higher layer routines for widget operations can also be found in the guide document