Automatically accessed serial bus read/write control method

A serial bus, read and write control technology, applied in the field of computer communication, can solve the problems of low communication read and write efficiency, unable to transmit real-time data at the same time, etc., to achieve the effect of improving efficiency

Active Publication Date: 2010-10-20
重庆光通奥普泰通信技术有限公司
View PDF2 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1) In the traditional point-to-point or point-to-multipoint communication mode, the CPU can only operate one point-to-point communication at a time, and multi-point communication must be completed through multiple communication operations, and the communication read and write efficiency is not high;
[0004] 2) Some communication buses can realize remote read and write operations, but they can only realize single read and write under the control of the CPU, and cannot complete automatic read and write operations for the required address range;
[0005] 3) The general communication bus can only transmit the data of CPU read and write control, and cannot transmit real-time data at the same time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automatically accessed serial bus read/write control method
  • Automatically accessed serial bus read/write control method
  • Automatically accessed serial bus read/write control method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0031] Firstly, according to the communication characteristics of SDH communication equipment, determine the serial frame structure used for read and write operations between the main control equipment and SDH communication equipment:

[0032] Synchronization code (SYNC CODE): Occupies 3 bytes; transmits 2 continuous fixed values ​​and 1 variable value (this value is used as the adjustment of the frame header offset between the main and standby buses); the serial bus is based on the frame pulse of the SDH system Complete the frame header positioning of the serial bus with the received 2 fixed values.

[0033] Control code (CONTROL CODE): occupies 1 byte; transmits read and write control signals and mode selection signals (for manual and automatic mode switching).

[0034] Address (ADDR): Occupies 2 bytes; transmits 16-bit address information.

[0035] Data (DATA): Occupies 2 bytes; transmits 16 valid data.

[0036] Status code (STATUS): Occupies 1 byte; indicates status inform...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an automatically accessed serial bus read / write control method, which is used for serial data communication among main control equipment and a plurality of peripherals. By adopting the method, serial data communication among the main control equipment and the plurality of peripherals does not need to wait due to a busy central processing unit (CPU) of the main control equipment, and the serial data is cached through a random access memory (RAM), so that the plurality of peripherals can perform parallel serial data transmission with the main control equipment; and the data read / write speed between the CPU and the RAM is far higher than the serial data communication speed among the peripherals and the CPU, and the data cannot be retained in the RAM for a long time, sothe data transmission time is saved as a whole and the serial data communication efficiency among the plurality of peripherals and the main control equipment is improved.

Description

technical field [0001] The invention relates to the technical field of computer communication, in particular to an automatic access serial bus read and write control method. Background technique [0002] The interconnection between a central processing unit (Central Process Unit, referred to as CPU) and its peripheral devices often adopts a local bus, such as a peripheral component interconnect standard (Peripheral Component Interconnect, referred to as PCI) local bus. With the advancement of technology, the data transmission speed of the local bus is required to be higher and higher, and the CPU's control of the peripherals needs to be simple, reliable, and have the characteristics of long transmission distance, so the high-speed serial bus was born. At present, there are various high-speed serial buses, including non-standardized ones and standardized ones, such as SPI, I2C, UART, etc. The communication behavior of these high-speed serial buses is dominated by the CPU, whi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F13/42G06F13/10
Inventor张峰王伟龚生建
Owner重庆光通奥普泰通信技术有限公司