USB Overview and EZ-USB 2131Q Chip

Publisher:祝福的4号Latest update time:2012-04-12 Keywords:USB  EZ-USB Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

USB Overview and EZ-USB 2131Q Chip Introduction

Universal Serial Bus is suitable for connecting USB peripheral devices to the host, and realizes data transmission through the PCI bus and the system bus inside the PC. At the same time, USB is also a communication protocol that supports data transmission between the host system and its peripheral devices. In the USB network protocol, each USB system can only have one host.

1.1 Basic Characteristics of USB

USB is a layered star topology, with the host controller at its root. USB devices are directly connected to the root interface to implement their functions. If multiple devices perform their functions at the same time, they must be expanded through a hub, but the expansion layer cannot exceed 5 layers. USB devices support hot plugging and can be plug and play. USB generally supports two transmission speeds, namely low speed 1.5Mbit/s and high speed 12Mbit/s. In the USB2.0 version, its speed is increased to 480Mbit/s.

USB is connected via four cables, two for power and two for differential data (D+ and D-). The host is the center of USB communication, controlling and time-sharing connected devices. The host is the only one that can use system resources. The host controller initiates transactions via the root hub. The host controller starts a frame every millisecond (in USB2.0, a frame is called a microframe every 1/8 millisecond). In this frame or 1/8 frame, the peripheral communicates data with the host. The host conducts transactions with multiple peripherals and time-shares the bandwidth requested by the peripherals.

USB has four transmission modes for different types of data. Control transmission is mainly used for settings, commands and status information; interrupt transmission is different from the general interrupt concept and is mainly used for the transmission of small amounts of data such as keyboards and mice; batch transmission is mainly used for the transmission of large amounts of data such as printers and scanners; synchronous transmission is used for real-time transmission of video, sound, etc.

In synchronous transmission mode, data transmission maintains a fixed bandwidth and delay, ensuring the stability of data transmission rate.

USB has many advantages and is suitable for the interface with video computer eyes.This paper uses a USB chip with a built-in microcontroller to design a single-chip solution for synchronous transmission.

Generally speaking, there are two types of USB control chips. One is a product with MCU (microcontroller) integrated in the chip; the other is a separate chip that implements the USB Engine function.

Considering the high transmission rate of USB, if a chip that only implements the Engine function is used, plus an ordinary microcontroller (such as 8051), its processing speed will be very slow and cannot meet the USB transmission requirements. One of the purposes of USB peripherals as consumer products is to reduce product costs. If a high-speed microprocessor (such as DSP) is used, the USB transmission rate is met, but the cost is higher. After comparing all aspects, the chip EZ-USB 2131Q with a built-in microcontroller was selected.

1.2 Introduction to the EZ-USB 2131Q chip.

The internal block diagram of EZ-USB 2131Q is shown in Figure 1. It is an 80-pin USB chip with a built-in microcontroller from Anchor Corporation, which includes three 8-bit multi-function ports, an 8-bit data port, a 16-bit address port, two USB data ports and other input and output ports.

It uses an internal RAM-based solution that allows customers to continuously configure and upgrade at any time without being restricted by port data, buffer size, transmission speed and transmission method.

The chip has an enhanced 8051 microcontroller embedded in it, and its 4 clock cycles make it 3 times faster than the standard 8051.

EZ-USB 2131Q has two synchronous transmission modes: normal read/write mode and fast read/write mode. In normal read/write mode, the chip reads or writes data from or to the outside at a rate of no more than 1000 bytes/ms, and data transmission instructions can only be listed one by one, with a total of 1000 lines of the same instructions to be written. Data cannot be transmitted in a loop in the middle, and there is no time to add other instructions. This method is not advisable for devices that require synchronous transmission and 1023 bytes per frame. In fast read/write mode, the chip can read or write 1023 bytes of data from or to the outside within 0.5ms, and there is still enough time to add other instructions.

Keywords:USB  EZ-USB Reference address:USB Overview and EZ-USB 2131Q Chip

Previous article:PCI Express Experimental Development Platform and IP
Next article:FF H1 Fieldbus Overview

Recommended ReadingLatest update time:2024-11-16 16:20

Design of USB interface multi-channel high-speed data acquisition system based on LABVIEW platform
introduction In daily test and measurement , data acquisition cards are often used to collect data. However, many data acquisition cards often complete data transmission through the PCI bus, which has many disadvantages, such as inconvenient operation, limited by the number of computer slo
[Test Measurement]
Design of USB interface multi-channel high-speed data acquisition system based on LABVIEW platform
Optimizing the selection of power chargers and universal USB charging
As far as mobile device power adapters are concerned, low-power products below 15W occupy an absolute market share. As the battery capacity of smartphones and tablets increases, the requirement for charger output current has increased from the previous 200mA~300mA to 1A or 2.1A, and 5W output power is already the ma
[Power Management]
Optimizing the selection of power chargers and universal USB charging
Efficient dual rail power from USB
When designing a low-power USB circuit that operates from a power source other than 5 V, you must decide whether to use a separate battery or a small power source from the host computer. The problem is more complicated if the circuit requires a dual-rail power supply greater than 5 V (such as an op amp-based instrum
[Power Management]
Efficient dual rail power from USB
DAC schematic diagram of USB interface composed of PCM2702
PCM2702 integrates complex and diverse functions internally, but the peripheral circuit is very simple. The figure below is a schematic diagram of the DAC circuit using the USB interface of PCM2702. The line output end can be directly connected to the power amplifier and can also drive headphones above 32 ohms.
[Analog Electronics]
DAC schematic diagram of USB interface composed of PCM2702
Development of a bioimpedance analyzer based on USB2.0 interface
  introduction   Bioimpedance technology is a non-destructive technology that does not cause any harm or side effects to the human body during measurement. It is one of the development directions of human medicine . The mechanism of the bioimpedance analyzer is that biological tissues have different conductive effect
[Microcontroller]
Development of a bioimpedance analyzer based on USB2.0 interface
USB Implementation Solution Based on DSP and Special Interface Chip
introduction The data detected by various measuring instruments often need to be transferred to the PC for data processing and archiving, so as to make full use of the rich hardware and software resources of the PC and obtain more complete and powerful data processing, analysis and storage capabilities. The
[Security Electronics]
USB Implementation Solution Based on DSP and Special Interface Chip
USB Wireless Data Acquisition System Based on MSP430 and CC2500
The wireless data acquisition system based on MSP430 microcontroller and CC2500 is a fully functional wireless development tool. The system is mainly composed of MSP430F series microcontroller and CC2500 (2.4 GHz) wireless transceiver. The system can use IAR embedded work platform integrated development environment
[Microcontroller]
The first major update for the PS5 console is released: support for external USB hard drives to store games
PlayStation announced that the first major system update for the PS5 console will be launched globally today, including many new features and improvements. Here is the new content for PS5, PS4 and PlayStation App: PS5 storage expansion and management ●Save PS5 games to a compatible external USB drive. With this fe
[Mobile phone portable]
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号