USBD480-WQ43 User Guide

Similar documents
1. General Description

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

EPSON Perfection 1650/1650 PHOTO. Scanner Parts. Scanner Specifications. Basic Specifications. device Effective pixels

EPSON Perfection 2450 PHOTO. Scanner Parts. Scanner Specifications. Basic Specifications. US letter or A4 size ( inches [ mm])

Introduction to graphics and LCD technologies. NXP Product Line Microcontrollers Business Line Standard ICs

NHD-0420D3Z-FL-GBW-V3

Kit for TLM051 monitor

Sympodium Interactive Pen Display

Embedded Display Module EDM6070

BMW CAR-PC MONITOR MODEL SPECIFICATION BMW3/5 SERIES. Model Name : BMW-100P Paper Version : Ver 1.0

Camera Sensor Driver Development And Integration

Contents & P-LCD Modules Cross Reference Table

Quick Installation. A Series of Intelligent Bar Code Reader with NeuroFuzzy Decoding. Quick Installation

Features. Introduction. Applications. VPD-130/VPD-130N with DIN-Rail Mounting. VPD-130/VPD-130N Panel Mounting. Excellent C/P ratio (cost/performance)

Reverse Engineering USB Device Drivers

MANUAL FOR RX700 LR and NR

O pen F ram e Tou c h M on i t or

ALL-AIO-2321P ZERO CLIENT

MultiViu Flex 7 Data Sheet

COLOR TFT LCD MONITOR. User Manual

STIM202 Evaluation Kit

"All-In-One" Video Conferencing Solution. Versatile Connectivity with DisplayPort

Technical Data Sheet OPUS A6 STANDARD Basic TDS OPUS A6sB,

3D Input Format Requirements for DLP Projectors using the new DDP4421/DDP4422 System Controller ASIC. Version 1.3, March 2 nd 2012

Technical Data Sheet OPUS A3 STANDARD Full TDS OPUS A3sF,

Embedded Systems Design Course Applying the mbed microcontroller

Basler. Area Scan Cameras

Chapter I Model801, Model802 Functions and Features

Basler scout AREA SCAN CAMERAS

DAS202Tools v1.0.0 for DAS202 Operating Manual

Basler pilot AREA SCAN CAMERAS

CMOS OV7660 Camera Module 1/5-Inch 0.3-Megapixel Module Datasheet

Lumin Scandinavia. Evoluce TWO 46. True Multitouch LCD 46 with 3D-sensing Technology

nanoetxexpress Specification Revision 1.0 Figure 1 nanoetxexpress board nanoetxexpress Specification Rev 1.

USB PC Camera User s Guide

Basler. Line Scan Cameras

FT4232H Mini Module. USB Hi-Speed FT4232H Evaluation Module. Datasheet

SMART Podium Interactive Pen Display

OLED into Mobile Main Display

SBC6245 Single Board Computer

Parallax Serial LCD 2 rows x 16 characters Non-backlit (#27976) 2 rows x 16 characters Backlit (#27977) 4 rows x 20 characters Backlit (#27979)

UniOP epad33 and epad33t

DOG SERIES 3.3V. EA DOGM163W-A + EA LED55x31-W

RFS-805. Digital Modulator AV to COFDM. User Manual

PenMount 1302 PCI Control Board

Different Display Configurations on i.mx35 Linux PDK

3.2 inch QVGA TFT Color LCD User s Guide Version 1 & 2

Using the Siemens S65 Display

Introduction. Features. Characteristics. USB3 Module for FLIR TAU2

Easy Installation All five standard monitors fit into shallow mounting areas, requiring about 3" of depth. The XT1502, SXT1811, and SXT2011 models hav

5inch HDMI LCD User Manual

128x64 DOTS. EA DOGL128x-6 EA LED68X51-RGB

HARDWARE MANUAL. BrightSign HD120, HD220, HD1020. BrightSign, LLC Lark Ave., Suite 200 Los Gatos, CA

USB 3.0 Camera User s Guide

Overview. Proven Image Quality and Easy to Use Without a Frame Grabber. Your benefits include:

Sun Group Android Wi-Fi Digital Signage Touch Screen Series. SUN-SG8xxxxAS(W) SUN Group (Taiwan) -Android Touch Screen LCD Signage

LED red (-): Measuring value < lower tolerance threshold LED red (+): Measuring value > upper tolerance threshold. Page 1/6

Second Display Installation Guide Point-of-Sale Hardware System

SecureLinx Spider Duo Quick Start Guide

FT2232H Mini Module. USB Hi-Speed FT2232H Evaluation Module. Datasheet

MiniPlex-41USB NMEA-0183 multiplexer Manual

USER GUIDE EDBG. Description

8 by 8 dot matrix LED displays with Cascadable Serial driver B32CDM8 B48CDM8 B64CDM8 General Description

EPSON SCANNING TIPS AND TROUBLESHOOTING GUIDE Epson Perfection 3170 Scanner

ENTTEC Pixie Driver API Specification

Series. Laser air Leddura Lexinus Mensa. 70 inch. Smart innovation! When function matters.

KS732 Family. Rev KS732. 1/3 CCD Color USB Camera

How to read this guide

Appearance Type Setting distance Sensing area Model Remarks Camera with lighting. 34mm to 49mm 5mm x 4.9mm to 9mm x 8.

Omega ICD Intelligent Colour Display

RealSSD Embedded USB Mass Storage Drive MTFDCAE001SAF, MTFDCAE002SAF, MTFDCAE004SAF, MTFDCAE008SAF

Table 1 below is a complete list of MPTH commands with descriptions. Table 1 : MPTH Commands. Command Name Code Setting Value Description

Lab Experiment 1: The LPC 2148 Education Board

Better Image XGA High Resolution High Brightness:450cd/m mm) to deliver great computer displays.

MPX28. o UART, SD-CARD, I2C, PWM, Serial Audio, SPI Power management optimized for long battery life 3.3V I/O

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

ACR880 GPRS Portable Smart Card Terminal

Programmable Terminal. NPSeries. Easy Setup with the Low-cost, Compact NP Series

2.2" TFT Display. Created by Ladyada. Last updated on :15:09 PM EDT

TouchKit driver user guide for Linux

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

Different Ways of Connecting to. 3DLevelScanner II. A.P.M Automation Solutions LTD. Version 3.0

RGB for ZX Spectrum 128, +2, +2A, +3

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

LEN s.r.l. Via S. Andrea di Rovereto 33 c.s CHIAVARI (GE) Tel Fax mailto: len@len.it url: http//

Below is a diagram explaining the data packet and the timing related to the mouse clock while receiving a byte from the PS-2 mouse:

Lab 2.0 Thermal Camera Interface

XBee USB Adapter Board (#32400)

Version Date Author Description Jpo First version Jpo FET output descriptions made clearer

FORMULA Industrial Monitors

LCD Module Product Specification

Appearance Type Setting distance Sensing area Model Remarks Camera with lighting. 34mm to 49mm 5mm x 4.9mm to 9mm x 8.

SNC-VL10P Video Network Camera

ebus Player Quick Start Guide

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

Leddura Series. Laser Leddura xt Lexinus Mensa. 84 inch UHD. Smart innovation! When state of the art innovation is leading.

EA DOGS104x-A INCL. CONTROLLER SSD1803A FOR SPI AND I²C. available at 1 piece! Switchable font height ACCESSORIES

Basic Specifications. Electrical. EPSON Perfection Color EPSON MatrixCCD TM line sensor. device Effective pixels

CONTENTS. Section 1 Document Descriptions Purpose of this Document Nomenclature of this Document... 3

Transcription:

Preliminary Version 0.2 www.lcdinfo.com

Table of Contents USBD480-WQ43 User Guide 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 Framebuffer memory addressing...8 Pixel format...8 Windows API DLL...8 Linux framebuffer driver...9 Linux X.Org driver...9 Direct USB device access...9 Other interfaces...9 8. Direct USB command interface...10 Overview...10 Vendor requests...10 SET_ADDRESS 0xC0...10 SET_FRAME_START_ADDRESS 0xC4...11 GET_DEVICE_DETAILS 0x80...11 SET_BRIGHTNESS 0x81...11 SET_CONFIG_VALUE 0x82...12 GET_CONFIG_VALUE 0x83...12 GET_SAVED_CONFIG_VALUE 0x86...12 SAVE_CONFIGURATION 0x84...13 SET_TOUCH_MODE 0xE2...13 SET_STREAM_DECODER 0xC6...13 Configuration parameters...14 TOUCH_MODE 2...14 TOUCH_DEBOUNCE_VALUE 3...14 TOUCH_SKIP_SAMPLES 4...14 TOUCH_PRESSURE_LIMIT_LO 5...15 TOUCH_PRESSURE_LIMIT_HI 6...15 BACKLIGHT_BRIGHTNESS 20...15 USB_ENUMERATION_MODE 22...15 Bulk endpoint...16 Stream decoder...16 WRITE 0x5B41...16 FRAMEBASE 0x5B42...17 WRAPLENGTH 0x5B43...17 July 2, 2012 Page 2 of 20

9. Touchscreen interface...18 10. Appendix A Dimensional drawings...19 11. Document revision history...20 July 2, 2012 Page 3 of 20

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. The host system can be an embedded device or a PC computer. For best performance a Hi-Speed (480 Mbps) USB host capability is recommended. It is also possible to use the display as an input user interface with the optional touchscreen. Features 4.3" 480x272 pixel resolution color TFT LCD Optional touchscreen Hi-Speed USB interface 480 Mbps 16 bit colors (RGB565) 8 MB framebuffer memory (available for double buffering etc.) 1) Display can be updated at 80-90 full frames per second over USB 2) USB powered User configurable startup image Custom versions of the controller board possible for different display panels Note: 1. For custom applications support for larger framebuffer sizes has been implemented 2. If required by the application it would be possible to increase the speed at the expense of some increased power consumption July 2, 2012 Page 4 of 20

2. Physical Characteristics Item Specifications Unit Display resolution 480 x 272 dot Screen size 10.9 (4.3 type) diagonal cm Active area 95.04(H) x 53.856(V) mm Pixel pitch 0.198 x 0.198 mm Unit outline dimensions 1) 120(W) x 67.2(H) x (D) mm Weight 90 (Typ.) g Backlight type LED Note: 1. Includes mounting tabs 3. Electrical Characteristics Parameter Symbol Min. Typ. Max. Unit Supply Voltage V CC 4.75 5.0 5.25 V Current Consumption without backlight 1) ma Backlight Current Consumption full brightness ma Note: 1. Including LCD panel, USB data transfer in progress July 2, 2012 Page 5 of 20

4. USBD480-WQ43 module For more details see dimensional drawings in Appendix July 2, 2012 Page 6 of 20

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. Pin Name Function 1 VBUS +5 VDC 2 D- Data - 3 D+ Data + 4 NC Unconnected 5 GND Ground GPIO connector J4 20 way 0.5 mm pitch FFC/FPC connector. Pin Name Function July 2, 2012 Page 7 of 20

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. 7. Programming interface Overview USBD480 is a composite USB device with two interfaces. First interface is for the main display functionality and the second interface is for touchscreen input. Framebuffer memory addressing The controller has 8 MB of memory available for storing the image data. The memory size of 4096 x 256 x 16 bits makes for a total of 1048576 different addresses, 16 bits of data per address. One frame requires 480 x 272 x 2 = 261120 bytes of memory. This means that it is possible to store 32 separate full frames of image data to the controller memory. Aligning the start address for each frame to the 512 byte boundaries results in a bit more efficient memory bandwidth use. Double buffering can be implemented using two alternating frames in the memory. The actual address change for the SET_FRAME_START_ADDRESS command is synchronized with VSYNC in the controller hardware. It is also possible to implement hardware accelerated vertical scrolling by first filling the controller memory with video data and then just changing the frame start address to scroll the image. Pixel format The USBD480 controller uses the RGB565 pixel format. One pixel consists of 16 bits of data 5 bits red, 6 bits green and 5 bits blue. This results in 65536 different colors. R4 R3 R2 R1 R0 G5 G4 G3 G2 G1 G0 B4 B3 B2 B1 B0 Windows API DLL For Windows there exists a DLL interface that provides an API that can be used for accessing the display. When using the DLL it is not necessary to know the low level details of accessing the USB device. The DLL also automatically detects and uses the available USB driver installed in the system. The currently available options for the USB driver are Libusb or the UMDF USB driver. Two alternative drivers make it possible to support a wider range of Windows versions and with the DLL automatically detecting the driver the user doesn't need to know which one is installed in the system. July 2, 2012 Page 8 of 20

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. Qt Embedded and SDL included for example. The driver also connects the touchscreen to the Linux input API. Linux X.Org driver Direct USB device access Direct access to the USB device is also possible if it is preferred instead of the existing library or if the platform used doesn't have existing support libraries. Other interfaces There are also other libraries and drivers being developed that support using the USBD480 controller. See the website for more details about what is currently available. Also feel free to give feedback if your application would need something different from the currently available offerings. July 2, 2012 Page 9 of 20

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. This is possible using the stream decoder feature. Vendor requests SET_ADDRESS SET_FRAME_START_ADDRESS GET_DEVICE_DETAILS SET_BRIGHTNESS SET_CONFIG_VALUE GET_CONFIG_VALUE GET_SAVED_CONFIG_VALUE SAVE_CONFIGURATION SET_TOUCH_MODE SET_STREAM_DECODER 0xC0 0xC4 0x80 0x81 0x82 0x83 0x86 0x84 0xE2 0xC6 SET_ADDRESS This request sets the write address to the framebuffer. 0xC0 brequest wvalue windex wlength Data SET_ADDRESS Bits 15 to 0 of the address Bits 21 to 16 of the address 0 None July 2, 2012 Page 10 of 20

SET_FRAME_START_ADDRESS This request sets the start address of the visible frame. 0xC4 brequest wvalue windex wlength Data SET_FRAME_START_ADD RESS Bits 15 to 0 of the address Bits 21 to 16 of the address 0 None GET_DEVICE_DETAILS This request gets the device information structure. 0x80 brequest wvalue windex wlength Data GET_DEVICE_DETAILS 0 0 0 Device information The device returns 64 bytes and of those the following are currently defined Bytes Data 0-19 Device name 20-21 Display width in pixels 22-23 Display height in pixels 24-25 Version 26-35 Serial number SET_BRIGHTNESS This request sets the display backlight brightness. 0x81 brequest wvalue windex wlength Data SET_BRIGHTNESS Brightness 0 0 None Brightness accepts values from 0 to 255. Internally uses 128 PWM levels. July 2, 2012 Page 11 of 20

SET_CONFIG_VALUE 0x82 This request sets a configuration parameter value. brequest wvalue windex wlength Data SET_CONFIG_VALUE Parameter ID 0 1 Value Configuration parameters Parameter ID Notes TOUCH_MODE 2 Default value is 0 (touch disabled) TOUCH_DEBOUNCE_VALUE 3 How many samples are required for state change TOUCH_SKIP_SAMPLES 4 How many samples to skip when pen goes down TOUCH_PRESSURE_LIMIT_LO 5 Filters reported samples based on pressure. Low limit TOUCH_PRESSURE_LIMIT_HI 6 Filters reported samples based on pressure. High limit BACKLIGHT_BRIGHTNESS 20 Backlight brightness USB_ENUMERATION_MODE 22 Enumerate touch interface as HID or custom For more information about the different parameters see Configuration parameters section starting from page 14. GET_CONFIG_VALUE 0x83 This request gets a configuration parameter value. brequest wvalue windex wlength Data GET_CONFIG_VALUE Parameter ID 0 1 Value Gets the current configuration parameter value being used. GET_SAVED_CONFIG_VALUE This request gets a configuration parameter saved as a default value. 0x86 brequest wvalue windex wlength Data GET_SAVED_CONFIG_VA LUE Parameter ID 0 1 Value Gets the configuration parameter value from non-volatile memory that is saved as the default value to be loaded on power up. July 2, 2012 Page 12 of 20

SAVE_CONFIGURATION This request saves the configuration parameters. 0x84 USBD480-WQ43 User Guide brequest wvalue windex wlength Data SAVE_CONFIGURATION 0x8877 0 0 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. brequest wvalue windex wlength Data SET_TOUCH_MODE Mode 0 0 None Sets the touchscreen operation mode. Mode Notes 0 Touchscreen disabled (default) 1 Filtered output Reports sent only when pen is down 2 Raw output Raw touchscreen samples without any filtering 3 Scaling to screen coordinates Approximate and not too accurate for now 4 Simple filter Reports sent only when pen is down TOUCH_DEBOUNCE_VALUE applies to modes 1 and 4 TOUCH_SKIP_SAMPLES applies to mode 1 TOUCH_PRESSURE_LIMIT applies to modes 1, 3 and 4 SET_STREAM_DECODER 0xC6 This request sets the stream decoder mode. brequest wvalue windex wlength Data SET_STREAM_DECODER Mode 0 0 None Sets the stream decoder mode. Value Mode Notes 0x00 Disable stream decoder (default) 0x06 Enable stream decoder Needs to be used before sending stream decoder commands. July 2, 2012 Page 13 of 20

Configuration parameters USBD480-WQ43 User Guide 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. TOUCH_MODE 2 Default mode is 0 (Touchscreen disabled). It is recommended for each software to set the mode it expects to use during initialisation and not assume any specific touchscreen sampling mode to be enabled. This setting is saved with SAVE_CONFIGURATION request so the user may have set any mode to be the power on setting. Mode Notes 0 Touchscreen disabled (default) 1 Filtered output Reports sent only when pen is down 2 Raw output Raw touchscreen samples without any filtering 3 Scaling to screen coordinates Approximate and not too accurate for now 4 Simple filter Reports sent only when pen is down Equivalent functionality to using SET_CONFIG_VALUE request with TOUCH_MODE parameter can be achieved using the SET_TOUCH_MODE request. TOUCH_DEBOUNCE_VALUE 3 0 255 This parameter defines how many samples are required until a change of pen state is recognised. The parameter applies to touch modes 1 and 4. TOUCH_SKIP_SAMPLES 4 0 255 This parameter defines how many of the initial samples are discarded when a pen down event is recognised. This can be useful to discard the very first samples when the pressure is low and the position sampled is not yet accurate. The parameter applies to touch mode 1. July 2, 2012 Page 14 of 20

TOUCH_PRESSURE_LIMIT_LO 5 0 255 Default 30 This parameter can be used to fine tune the touchscreen pressure filtering. TOUCH_PRESSURE_LIMIT_HI 6 0 255 Default 120 This parameter can be used to fine tune the touchscreen pressure filtering. BACKLIGHT_BRIGHTNESS 20 0 255 Default 255 This parameter sets the backlight brightness. USB_ENUMERATION_MODE 22 0 or 1 Default 0 This parameter defines if the touchscreen device enumerates as a HID device or a vendor specific device. 0 = enumerate as a HID device 1 = enumerate as a vendor specific device See chapter 9 for more information about the touchscreen interface. July 2, 2012 Page 15 of 20

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. Using a single endpoint also provides a small performance boost. Always use the SET_STREAM_DECODER request to enable the stream decoder before sending stream decoder commands to the device or the commands will be interpreted as image data. 0x5B41 0x5B42 0x5B43 WRITE FRAMEBASE WRAPLENGTH WRITE 0x5B41 Command structure DATA - 16 bits Notes 1 0x5B41 Command identifier 2 ADDR LO Address bits 15 to 0 3 ADDR HI Address bits 21 to 16 4 DATA LEN LO Data length bits 15 to 0 5 DATA LEN HI Data length bits 21 to 16 6 Data Data 0 Data.. Data Data n Data length is in pixels (2 bytes of image data per pixel). Data length value is the actual data length - 1. Data length of 0 means 1 pixel of data. Minimum of one pixel of image data needs to be always provided. After DATALEN number of pixels have been processed the following data will be discarded until the next command is recognised from the data stream. July 2, 2012 Page 16 of 20

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 1 0x5B42 Command identifier 2 ADDR LO Address bits 15 to 0 3 ADDR HI Address bits 21 to 16 WRAPLENGTH 0x5B43 This command can be used to update partial screen areas without having to send the full frame data. When writing data to the framebuffer the write automatically wraps to the next row after WRAPLENGTH number of pixels. Command structure DATA - 16 bits Notes 1 0x5B43 Command identifier 2 WRAPLENGTH Wrap length value is actual length - 1. Value of 479 means the full screen width. 0 is 1 pixel wide. Default value is 479. When working with the framebuffer addresses it is good to remember that one address points to a 16 bit word. So two bytes of image data per address/pixel. July 2, 2012 Page 17 of 20

9. Touchscreen interface Second interface of the composite USB device. USBD480-WQ43 User Guide 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. Endpoint 1 is used as an interrupt endpoint to receive the touch reports. One report is 16 bytes in size. 16 byte touch report Byte(s) Content Notes [0][1] X 12 bit x sample LSB first [2][3] Y 12 bit y sample [4][5] Z1 12 bit z1 sample [6][7] Z2 12 bit z2 sample [8] pen 0=pen down, 1=pen up [9] pressure firmware calculated pressure value [10]-[15] reserved July 2, 2012 Page 18 of 20

10. Appendix A Dimensional drawings See: http://www.lcdinfo.com/usbd480/documentation/usbd480-wq43_dimensions.pdf July 2, 2012 Page 19 of 20

11. Document revision history 0.1 July 2, 2012 Page 20 of 20