DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AN249 데이터 시트보기 (PDF) - Silicon Laboratories

부품명
상세내역
제조사
AN249
Silabs
Silicon Laboratories Silabs
AN249 Datasheet PDF : 42 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
AN249
2. Introduction To HID
USB devices communicate with PCs as shown in Figure 1. Creating a USB interface between an embedded
system and a PC requires writing code for the following software subsystems:
Embedded device firmware
Host-side operating system drivers
Host-side PC application
PC
USB Device
System Drivers
Device Firmware
Bi-directional Data Flow
System-
Level
Data
Buffers
Host-Side
Application
Figure 1. USB Interface between a PC and an Embedded System
2.1. USB System Development
USB specification defines a number of USB classes, such as HID, mass storage devices, etc. Developers creating
a USB system that does not fit into one of the pre-defined USB classes must develop custom drivers along with
device firmware and PC applications. For these systems, developers can use a software package such as Silicon
Laboratories USBXpress, which includes a set of custom drivers, firmware routines, and host routines that enable
USB communication. HID-class devices simplify USB communication one step further by using a standardized,
flexible driver that comes pre-installed with all commonly used operating systems.
Benefits of developing with HID include:
Compatibility with all commonly used operating systems (XP, 2000, Mac, Linux)
No need for driver development or distribution
Streamlined device/host interface due to standardized but flexible HID specifications
2.2. Getting Started With HID
Designers can create embedded HID firmware using the Silicon Laboratories IDE, the evaluation version of the
Keil compiler, and the target board included in the Silicon Laboratories development kit. Designers developing
host-side PC applications must install the Windows Driver Development Kit (DDK), which can be downloaded from
http://www.microsoft.com/whdc/devtools/ddk/. Once the DDK is installed, the developer will be able to take
advantage of HID-specific API calls to send and receive data with HID-based devices.
For designers creating an HID-based system using this application note's associated firmware template as a
starting point, the typical system design flow is shown in Figure 2.
2
Rev. 0.2

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]