Advertisement

USBD480-WQ43 User Guide
Preliminary
Version 0.2
www.lcdinfo.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the USBD480-WQ43 and is the answer not in the manual?

Questions and answers

Summary of Contents for LCDInfo USBD480-WQ43

  • Page 1 USBD480-WQ43 User Guide Preliminary Version 0.2 www.lcdinfo.com...
  • Page 2: Table Of Contents

    USBD480-WQ43 User Guide Table of Contents 1. Introduction............................4 Overview............................4 Features............................4 2. Physical Characteristics........................5 3. Electrical Characteristics........................5 4. USBD480-WQ43 module........................6 5. Pin descriptions..........................7 USB connector – J3.........................7 GPIO connector – J4........................7 6. Getting started..........................8 Connecting the display module......................8 7. Programming interface........................8 Overview............................8...
  • Page 3 USBD480-WQ43 User Guide 9. Touchscreen interface........................18 10. Appendix A – Dimensional drawings..................19 11. Document revision history......................20 July 2, 2012 Page 3 of 20...
  • Page 4: Introduction

    USBD480-WQ43 User Guide 1. Introduction Overview The USBD480-WQ43 is a 4.3” TFT display with USB interface. The controller board provides framebuffer functionality and offers a Hi-Speed USB 2.0 interface for connecting to the host system. USBD480 provides a quick and easy to way to add a display to systems that have USB host ports.
  • Page 5: Physical Characteristics

    USBD480-WQ43 User Guide 2. Physical Characteristics Item Specifications Unit Display resolution 480 x 272 Screen size 10.9 (4.3” type) diagonal Active area 95.04(H) x 53.856(V) Pixel pitch 0.198 x 0.198 Unit outline dimensions 120(W) x 67.2(H) x ___(D) Weight 90 (Typ.)
  • Page 6: Usbd480-Wq43 Module

    USBD480-WQ43 User Guide 4. USBD480-WQ43 module For more details see dimensional drawings in Appendix July 2, 2012 Page 6 of 20...
  • Page 7: Pin Descriptions

    USBD480-WQ43 User Guide 5. Pin descriptions USB connector – J3 The USB connector is used as the communication interface and the power supply for the display module. The connector used is a mini USB B type connector. When connecting the display some care should be taken to use a good quality USB cable.
  • Page 8: Getting Started

    USBD480-WQ43 User Guide 6. Getting started Connecting the display module The USB connector is used as the communication interface and as the power supply for the display module. The connector used is the common mini USB B type connector. When connecting the display some care should be taken to use a good quality USB cable.
  • Page 9: Linux Framebuffer Driver

    USBD480-WQ43 User Guide The API interface is described in a separate document. Linux framebuffer driver When Linux is used one possible way to access the display is to use the USBD480 framebuffer kernel driver. This driver makes the USBD480 display appear as a normal Linux framebuffer device (/dev/fb) which is used by many existing libraries for accessing display hardware.
  • Page 10: Direct Usb Command Interface

    USBD480-WQ43 User Guide 8. Direct USB command interface Overview The display is controlled by sending USB vendor requests to the control endpoint. For image data transfer bulk endpoints are used. Another option is using the bulk endpoint exclusively for image data transfer and related commands.
  • Page 11: Set_Frame_Start_Address 0Xc4

    USBD480-WQ43 User Guide SET_FRAME_START_ADDRESS 0xC4 This request sets the start address of the visible frame. bRequest wValue wIndex wLength Data SET_FRAME_START_ADD Bits 15 to 0 of Bits 21 to 16 of None RESS the address the address GET_DEVICE_DETAILS 0x80 This request gets the device information structure.
  • Page 12: Set_Config_Value 0X82

    USBD480-WQ43 User Guide SET_CONFIG_VALUE 0x82 This request sets a configuration parameter value. bRequest wValue wIndex wLength Data SET_CONFIG_VALUE Parameter ID Value Configuration parameters Parameter Notes TOUCH_MODE Default value is 0 (touch disabled) TOUCH_DEBOUNCE_VALUE How many samples are required for state change...
  • Page 13: Save_Configuration 0X84

    USBD480-WQ43 User Guide SAVE_CONFIGURATION 0x84 This request saves the configuration parameters. bRequest wValue wIndex wLength Data SAVE_CONFIGURATION 0x8877 None Saves the current configuration parameters to non-volatile memory so that they are automatically loaded on the next power up. SET_TOUCH_MODE 0xE2 This request sets the touchscreen operating mode.
  • Page 14: Configuration Parameters

    USBD480-WQ43 User Guide Configuration parameters Configuration parameters can be changed with the SET_CONFIG_VALUE request and the currently used parameter can be read with the GET_CONFIG_VALUE request. The currently used parameters can be saved as new defaults to be loaded on power up using the SAVE_CONFIGURATION request.
  • Page 15: Touch_Pressure_Limit_Lo 5

    USBD480-WQ43 User Guide TOUCH_PRESSURE_LIMIT_LO 0 – 255 Default 30 This parameter can be used to fine tune the touchscreen pressure filtering. TOUCH_PRESSURE_LIMIT_HI 0 – 255 Default 120 This parameter can be used to fine tune the touchscreen pressure filtering. BACKLIGHT_BRIGHTNESS 0 –...
  • Page 16: Bulk Endpoint

    USBD480-WQ43 User Guide Bulk endpoint For actual image data bulk out endpoint 2 is used. Image data is in RGB565 format. Stream decoder Stream decoder is a feature that allows controlling the basic display functionality using just the bulk endpoint for data transfer. Using the stream decoder avoids a potential synchronisation issue in case separate endpoints were used for data transfer and address control.
  • Page 17: Framebase 0X5B42

    USBD480-WQ43 User Guide FRAMEBASE 0x5B42 Sets the base address for the visible frame in the framebuffer The address change is synchronised with the display refresh VSYNC. Command structure DATA - 16 bits Notes 0x5B42 Command identifier ADDR LO Address bits 15 to 0...
  • Page 18 USBD480-WQ43 User Guide 9. Touchscreen interface Second interface of the composite USB device. The default for the touchscreen interface is to enumerate as a HID device but it can be also set to enumerate as a vendor specific device. This can be helpful in some situations to prevent the system HID driver automatically claiming the interface and allowing to use custom drivers more easily.
  • Page 19 USBD480-WQ43 User Guide Appendix A – Dimensional drawings See: http://www.lcdinfo.com/usbd480/documentation/USBD480-WQ43_dimensions.pdf July 2, 2012 Page 19 of 20...
  • Page 20 USBD480-WQ43 User Guide Document revision history July 2, 2012 Page 20 of 20...

Table of Contents