Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Jan Axelson, «USB Complete: Everything You Need to Develop Custom USB Peripherals»

Posted By: ertugrul ergun

Jan Axelson, «USB Complete: Everything You Need to Develop Custom USB Peripherals»
Lakeview Research | ISBN: 0965081958 | 2001 Year | 450 Pages | PDF | 4 MB

Who should read this book? This book is for you if you want to know how to design and program a peripheral with a Universal Serial Bus (USB) interface, or if you want to know how to communicate with USB peripherals from the applications you write.

What is USB and how do peripherals use it to communicate with PCs? There's a lot to the USB interface, and understanding how USB works is essential in creating hardware and program code that works efficiently and reliably. This book's focus is on the practical knowledge you'll need in selecting components and writing device firmware to communicate over the bus.

How can I decide if my project should use a USB interface? Maybe your design isn't suited for USB. I'll show you how to decide whether it is. If the answer is yes, I'll help you decide which of USB's three speeds and four transfer types to use.

How do I choose a USB controller chip for my peripheral design? Every USB peripheral must contain an intelligent controller. There are dozens of controller chips designed for use in USB peripherals. In this book, I compare popular chip families and offer tips on how to decide, based on both your project's needs and your own background and preferences. As with any embedded-system project, developing a USB device also requires a development system for loading and debugging code, and I cover the options here as well.

How do applications communicate with USB peripherals? To communicate with a USB peripheral, a PC needs two things: a device driver that knows how to communicate with the PC's USB drivers and an application that knows how to talk to the device driver. Some peripherals can use drivers included with Windows. Others may require a custom driver. This book will show you when you can use Windows' built-in drivers and how to communicate with devices from Visual Basic and Visual C++ applications. You'll also find out what's involved in writing a device driver and what tools can help to speed up the process.

How do USB peripherals communicate? USB peripherals typically use a combination of hardware and embedded code to communicate with PCs. In this book, I show how to write the device firmware that enables Windows to identify a device and load the appropriate device driver. I also include example firmware for exchanging data with a PC.

How do I decide whether my peripheral can use bus power, or whether it needs its own supply? A big advantage to USB is that many peripherals can be powered entirely from the bus. Find out whether your device can use this capability and how to manage power use, especially for devices that use battery power.

How can I be sure that my device will operate as smoothly as possible for its end users? On the peripheral side, smooth operation requires understanding the specification's requirements and how the device can meet them. In the PC, proper operation requires a correctly structured information (INF) file that enables Windows to identify the device and software that knows how to communicate with the device as efficiently as possible. This book has information and examples to help with each of these.