The principle of USB dual-machine communication

Publisher:翅膀小鹰Latest update time:2012-04-23 Keywords:USB Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Principle of USB dual-machine communication
Since the USB model is a Host-Slave (host-peripheral) master-slave structure, there is no way to make two hosts communicate directly through the USB bus without going through the peripherals. However, the two hosts can communicate using their USB ports by adding a peripheral controller. Each peripheral controller is connected to a different host and uses a shared buffer to exchange data.
Cypress's EZ-Link and Prolific's PL-2301 integrate two peripheral controllers and a shared buffer into a chip as a bridge for two hosts to communicate through the USB bus. Other companies also provide similar control chips. In teaching robots, PL-2301 is used. PL-2301 is a full-speed USB control chip produced by Taiwan Prolific.
Control unit. Under the coordination of handshake signals, they exchange data without blocking through two FIFO buffers. PL-2301 PL-2301 includes two sets of independent USB containing four terminals: the default control terminal (address 00H), the interrupt terminal (address 81H), the block output terminal (address 02H), and the block input terminal (address 83H). Control transmission is used to complete the configuration of PL-2301 during the host enumeration phase and to control the handshake signal of PL-2301 when two hosts communicate. PL-2301 is a full-speed USB control chip produced by Taiwan Prolific Company. The structural block diagram of PL-2301 is shown in Figure 1. (5) TX_REQ block transmission request signal. (6) TX_C block transmission completion indication signal. (7) PEER_E tells the other party that this Under the coordination of these handshake signals, the upper computer and the lower computer can communicate bidirectionally.
Figure 2 is a flow chart of data transmission from host PC A to PC B. These underlying details do not need to be controlled and are completed by the PL-2301 driver.
Keywords:USB Reference address:The principle of USB dual-machine communication

Previous article:RJ45 interface definition / RJ45 pin definition / RJ45 pin definition
Next article:Firmware Development of USB2.0 Interface Chip CY7C68013

Recommended ReadingLatest update time:2024-11-16 15:35

S3C2440 development board learning - how to use dnw to transfer data via USB
First, connect the serial and USB interfaces of the development board to the PC and start the development board; Secondly, observe the startup process of the development board through SecureCRT, and press the space bar to enter the menu of the development board. The "SEC S3C2440 Test B/D" device appears in the devic
[Microcontroller]
Intel and Apple to adopt new USB 3.0 alternative
Intel and Apple's many partners recently said that the two companies will introduce the input/output technology previously known as Light Peak and name it Thunderbolt, which will provide a high-end, high-performance alternative to the USB 3.0 standard. According to the well-known technology blog igitimes, Intel bega
[Mobile phone portable]
Design and implementation of a USB and DSP fingerprint recognition system
The immutability and uniqueness of fingerprints make fingerprint recognition technology the most widely used identity authentication. In recent years, with the development of the latest information processing technology, the research of algorithm theory, and the high integration and low cost of computer hardware, the
[Embedded]
Design and implementation of a USB and DSP fingerprint recognition system
Synaptics AudioSmart USB-C Codec Earns Industry's First THX Certification
Synaptics (NASDAQ: SYNA), a developer of human interface solutions, today announced that its AudioSmart® CX21988-THX is the industry's first THX -certified USB-C audio codec solution. By offering a THX-certified USB-C audio codec, Synaptics® can provide OEMs with an important building block to enable a significant lea
[Home Electronics]
USB charging latest specifications (V1.1) and testing
Currently, each country is developing its own USB interface charging specifications , which leads to a major problem that a USB interface charging device manufactured in one country may need to use a different charger when used in another country, which is a serious problem for both users and manufac
[Test Measurement]
USB charging latest specifications (V1.1) and testing
MC68HC908JB8 Flash Online Programming Based on USB Bus
  ICP is a method of burning and erasing chips on the actual target circuit board, without removing the chip from the target board and reprogramming it to modify the user program. This method is suitable for product development and code upgrades. Many chips on the market (such as Philips' P89C51, P89V51 and LPC932A1,
[Microcontroller]
MC68HC908JB8 Flash Online Programming Based on USB Bus
Application design of wireless communication terminal system based on USB/RS232
1. Introduction Currently, most instruments and equipment use RS232 interfaces to communicate with computers. However, with the development of computer technology, the hot-swappable USB standard interface will replace the RS232 interface. Therefore, computers will be less and less equipped with RS232 interfaces or eve
[Power Management]
Application design of wireless communication terminal system based on USB/RS232
Qorvo® Provides USB Fast Charger PMIC for Mobile Devices in Vehicles
Qorvo® (Nasdaq: QRVO), a leading provider of RF solutions that connect the world, today introduced the ACT4751M, a power management integrated circuit (PMIC) that further expands the company's portfolio of in-vehicle charging solutions for fast charging of mobile phones, tablets and laptops. The Qorvo ACT4751M is the
[Embedded]
Qorvo® Provides USB Fast Charger PMIC for Mobile Devices in Vehicles
Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号