DJ Equipment

February 22, 2012

Audio Interconnect

Using Usb Connectivity To Integrate Contact Screens In Computing Purposes

Introduction

The latest launch of Apple’s iPad spawned a brand new product category: the tablet. Contact screen support has change into the default human interface as tablets deal with ease of use and keyboardless design. Meanwhile, Microsoft has added contact screen assist at the basis of its Home windows® 7 architecture. Credit score Suisse estimates more than 33 million items of huge contact screen merchandise shall be bought in 2011, primarily attributable to these {two} driving forces: the growing reputation of tablets and Home windows 7 support for contact screen technology.

Most touch screen methods will connect with the host CPU or utility processor via a universal serial bus (USB) interface. However, none of right this moment’s major contact display screen controllers assist USB natively. As a result, touch display screen system integrators should “bridge” a USB microcontroller (MCU) between the host and the touch controller(s). Once an MCU is chosen, developers must write the firmware code to determine the communication between the host and the MCU to help the touch display application. Adopting a USB MCU that includes preprogrammed
contact display screen help can drastically simplify this firmware development job and shorten time to market.

Thankfully, contact display system integrators have yet one more different to growing USB experience or acquiring thirdcelebration USB software program: combine a preparedmade USB bridge silicon/software program solution that requires no USB expertise on the part of the developer.

Human Interface System (HID) Overview

In response to the USB Implementers Forum, the USB communications structure is designed to allow computing units corresponding to desktop PCs and laptops to interconnect with many different peripheral devices. A USB uses a {two}wire serial communications link working at one of three
completely different speeds: 1.5 megabits per second (lowspeed), 12 Mbps (fullspeed) and 480 Mbps (excessivevelocity). USB gadgets are categorized into varied system classes equivalent to display, communication, audio, mass storage and human interface.

The Human Interface Gadget (HID) Class defines common behaviors and capabilities for contact display screen interfaces. The HID class consists of peripherals resembling keyboards, mice, trackballs, joysticks, contact pads and contact screens that allow end customers to control and interact with the computing system. HID additionally consists of provisions for output directed to the tip user.
The management pipe usually handles enumeration and gadget configuration whereas the interrupt pipe is used for knowledge transfer. Descriptors define a USB device to the host regarding the type of machine, the system manufacturer, USB1.x or 2.0 or 3.0 assist, device configuration,
endpoints portions and types, etc.

A HID report is used to transmit HID control data to and from an HID Class device. A report descriptor defines the report format. Input and output reviews specify control data and have reports specifying configuration data. When more than one report of the identical kind is required for a particular system, every report receives a unique report ID. Input and output studies specify HID management data. Enter controls embrace knowledge related to an application such as the coordinates of a finger. Output controls are a sink for utility knowledge reminiscent of lighting up a display or activating a contact sensor. A characteristic report specifies configuration info for a selected device. A consumermode utility can get hold of feature info by using this report designation.

The HID enumeration requires the device to ship an HID descriptor, which accommodates information about all of the data and its formats. Report descriptors despatched to the host determine the report format. All experiences are preceded by a report ID, which describes how the host and the device
establish the actual report and how knowledge is parsed between multiple reports. Every bit within the report is specified by report size and report rely identifiers. For instance, a report size of one and a report rely of {two} identify {two} bits. This example could possibly be the definition of a set of
finger touches. To send a complete byte, the report measurement can be set to eight bits. Formatting the info into studies helps to organize the info when it comes to data widths in order that the host and end units know how one can parse the data.

USB Contact Display Bridge Answer
The CP2501 gadget is a touch display USB bridge that can be used to attach the contact display screen controller with the host CPU. The CP2501 incorporates a excessiveefficiency MCU with a forty eight MIPS 8051appropriate core, 53 kB of userprogrammable flash reminiscence and 3.5 kB of RAM. Not like
other USB MCU devices available in the market, the CP2501 options preprogrammed USB touch interface firmware, which drastically simplifies USB contact screen product development. The Windows 7 contact interface compliant CP2501 machine works seamlessly with the Home windows digitizer class driver for contact screens and is supported by Silicon Labs’ GUIbased mostly configuration wizard. This deployment device permits developers to simply and rapidly join their touch controller to a USB system without having to develop personalized USB firmware, thus decreasing time to market as well as the level of experience required for USB interface development.

The CP2501 device includes a USB 2.0compliant, fullpace USB controller with an built-in fullspeed transceiver and onchip matching and pullup resistors. The built-in USB controller manages all knowledge transfers on the USB bus, in addition to command requests generated by the USB host controller. The user firmware uses the interface supplied by the system firmware to initialize and talk using the USB protocol. The CP2501 machine additionally features a USB bootloader to simply update consumer firmware. Person code is required to allow the interface API to
initialize the USB interface and send touch data to the host PC.

The CP2501 machine helps three different serial interfaces for speaking with numerous contact screen controllers. The interface choice will be chosen by means of the CP250x configuration wizard. The CP2501 system’s UART interface consists of the UART_TX (transmit) and UART_RX (obtain) information alerts and is programmable to help a wide range of information codecs and baud rates. The SPI protocol provides access to a versatile, fullduplex synchronous serial bus. SPI operates as a grasp gadget in fourwire mode.

The CP2501 encompasses a {two}wire, bidirectional serial system management bus (SMBus) that complies with the System Management Bus Specification, model 1.1, and is compatible with the I2C serial bus. Reads and writes to the interface are byte oriented, with the SMBus interface autonomously controlling the serial data transfer. Clocklow period may be prolonged to accommodate gadgets with different velocity capabilities on the identical bus. The SMBus interface consists of the SMBus_SCL (serial clock) and SMBus_SDA (serial knowledge out) indicators and is
programmable to help a variety of clock speeds.

The configuration wizard output represents a whole venture that allows the developer to add the code needed to communicate with the contact screen. All initializations for the chosen serial interface in addition to the USB descriptor technology and initialization are complete. The
developer merely makes calls to the system firmware API to bridge data. Having the entire low stage USB functionality complete and working drastically reduces the effort and time of USB development. With none extra modifications, the project generated by the configuration
wizard will enumerate correctly on a Windows machine. The device appears within the device supervisor as an HIDdevice. In Windows Vista and Home windows 7, the computer properties will show {that a} singletouch or multicontact machine is connected.

Abstract
The CP2501 controller offers touch display system integrators with a easy and straightforwardtouse USB bridge solution. This highly built-in, HID Classcompliant answer reduces development time and value and eases the frustration of implementing a USB interface from scratch. The
addition of the developeraccessible MCU core, onchip reminiscence and other resources permits the contact screen developer to dump performanceenhancing or operating system compliance algorithms from the contact controllers and/or the host system itself. Finally, the CP2501
controller helps liberate contact screen system integrators from mundane however obligatory communication software program improvement, enabling them to focus their time and assets on what they do finest: creating intuitive, consumerfriendly contact screen interfaces.

About The Author

Anthony has been writing articles on-line for almost 2 years now. Not only does this creator specialise in Computers and Technology, you may also try his latest web site on the right way to convert MOV to AVI with MOV to AVI converter which also helps people find the best MOV to AVI converter on the market.


No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress