A method and device for communicating by bus

A bus and communication technology, applied in the field of data transmission between devices, can solve problems such as limitations, and achieve the effect of improving efficiency and increasing the number of address spaces

Inactive Publication Date: 2016-05-25
GUANGDONG VTRON TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to propose a bus communication method and device, which can solve the problem of limited internal address space of the access device using the bus, and improve the efficiency of development work

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
  • A method and device for communicating by bus
  • A method and device for communicating by bus
  • A method and device for communicating by bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention proposes a communication method using a bus. For specific steps, please refer to figure 1 ,include:

[0021] 101. Save the global control register address segment in each register, wherein the global control register address segment includes two parts, the first part is the segment address, and the second part is the global address; the segment address corresponds to the address of another register;

[0022] Specifically, the following steps can be performed before the step of saving the address of the global control register in each register:

[0023] Open up a global control register address segment in the first register;

[0024] Use part of the global control register address segment as the segment address, and the rest as the global address; the global address is used for global control and frequently accessed interfaces, such as reset, monitoring, and interrupts. This not only ensures that the speed of the global control is consistent with ...

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 present invention proposes a method for communicating using a bus, comprising the steps of: saving the address segment of the global control register in each register, wherein the address segment of the global control register includes two parts, the first part is the segment address, and the second part is Global address; the segment address corresponds to the address of another register; obtain the address information of the access destination device from the bus information; when the address information belongs to the global address, access the current register according to the address information; when the When the address information belongs to a segment address, the other register is accessed according to the address information. The invention also proposes a communication device using the bus, which can solve the problem of limited internal address space of the access device using the bus and improve the efficiency of development work.

Description

technical field [0001] The invention relates to the field of data transmission between devices, in particular to a communication method and device using a bus. Background technique [0002] The I2C (Inter-Integrated Circuit) bus is a two-wire bus developed by PHILIPS for connecting microcontrollers and peripherals. Because it has fewer connections, it is often used for short-distance transmission in a compact design. Since the I2C bus uses serial data transmission for communication, the bit rate is generally 100kbit / s to 3.4Mbit / s, so its access to peripherals is slow, and the slave devices accessed by the I2C bus use 8-bit data The address and data are encoded in the bit-width format, so there are very few register addresses in the slave device that it can access; [0003] In common applications, for the data transmitted by I2C, first the MCU host sends a slave device address, which has 7 bits in total, and then the eighth bit sent is the read and write control bit, and t...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F13/16
Inventor 鲜燚曹捷景博吴鹏
Owner GUANGDONG VTRON TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products