OMAP-L137/DA830 Linux LCD driver

From Texas Instruments Embedded Processors Wiki

(Redirected from Omapl137 linux lcd driver)
Jump to: navigation, search
Translate this page to   

Contents

Agenda : OMAPL137/DA830 GLCD and CLCD overview

Overview(LCD controller)

LCD controller supports -

Overview(LCD controller - Block diagram)

LCD Controller Block diagram

Lcd controller.JPG

Overview(LCD controller - Features)


Overview(Raster controller)


Overview(LIDD)


Software architecture

Driver software architecture

Sw arch.JPG

End of Part 1

Part 1 ends here


GLCD driver overview

Supports-


GLCD driver Kernel configuration (menuconfig)

How to enable Graphical LCD driver in LSP 02.20 is documented here

GLCD driver - Supported ioctls

IOCTL name Description
FBIOGET_VSCREENINFO This ioctl is used to query the variable screen info. This allows an application to query the display mode, including the color depth, resolution, timing etc.
FBIOPUT_VSCREENINFO This ioctl is used to set the variable screen info. This allows an application to set the display mode, including the color depth, resolution, timing etc.
FBIOGET_FSCREENINFO This ioctl can be used by applications to get the fixed properties(non changeable) of the display, e.g. the start address of the framebuffer memory.
FBIOGETCMAP,FBIOOUTCMAP These ioctls can be used to query or set the color map information



Typical GLCD(Fbdev) application flow

Typical Fbdev application flow

fbdev_app_flow.JPG


Typical GLCD usage/basic tests

End of Part 2

Part 2 ends here


CLCD driver overview

Supports-


CLCD driver kernel configuration(menuconfig)

Note: Character LCD part is not present on OMAP-L137 DSP Starter Kit board. OMAP-L137 SoC however supports interfacing with Character LCD through LCD controller.

System Type  --->
    [*] DA830/OMAP-L137 UI (User Interface) board support
        (X) LCD

Device Drivers --->
    Graphics support  --->
        < > Support for frame buffer devices
        < > DA830/OMAP-L137 Framebuffer support
    Character devices  ---> 
        <*> DA830/OMAP-L137 Character LCD Support


CLCD driver - supported ioctls

IOCTL name Description
LIDD_CLEAR_SCREEN This ioctl helps in clearing the screen. All the characters typed so far can be erased(screen can be cleared).
LIDD_GOTO_XY This ioctl is used for setting the position ie going to a particular row, column to write a character.
LIDD_CURSOR_STATE This ioctl is used for enabling and disabling the cursor. The argument value decides whether to enable/disable
LIDD_DISPLAY_MOVE This ioctl is used for moving the display to left or right. The argument value when calling the ioctl command decides whether the desired movement is towards left or right.
LIDD_CURSOR_MOVE This ioctl is used for moving the cursor to left or right. The argument value when calling the ioctl command decides whether the desired movement is towards left or right.
LIDD_CURSOR_HOME This ioctl is used for moving the cursor to home(the very first position ie first row and column on CLCD screen).
LIDD_DISPLAY This ioctl is used for enabling and disabling the CLCD display.The argument value when calling the ioctl command decides whether to enable or disable.
LIDD_BLINK This ioctl is used for enabling and disabling the blinking of cursor. The argument value when calling the ioctl command decides whether to enable or disable.



Typical CLCD application flow


Typical CLCD usage/basic tests


End of Part 3

Part 3 ends here


Demos - startx

Startx -xwindows session on GLCD

Startx 450x600.jpg Startx2 450 x 600.jpg

Demos - fbtest

fbtest output on GLCD

Fbtest1.jpg Fbtest2.jpg

Demos - custom test application

Custom test application output on GLCD(Squares,chess board pattern,natural image(a hen),Text ouput(in order))

Custom1.jpg Custom2.jpg Custom3.jpg Custom4.jpg

Thanks

Thank You

Recording of the Presentations

Streaming WebEx recording of OMAPL1 Linux LCD Driver
E2e.jpg For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article OMAP-L137/DA830 Linux LCD driver here.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment

Comments

Can i get a circuit that 5.7" tft lcd(680x480)connect to omap-l137 evm?I cannot find proper lcd and circuit.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox