Unlock instant, AI-driven research and patent intelligence for your innovation.

Data reading method based on Mpc837x framework

A data reading and frame technology, applied in the field of data processing, can solve the problem of low reading efficiency, achieve the effect of simplifying the process of reading data and improving efficiency

Inactive Publication Date: 2015-12-02
PHICOMM (SHANGHAI) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] To sum up, under the control of the clock pulse, the I2C bus can only read 1 byte of data at a time. When it is necessary to read 2 bytes or more than 2 bytes of data, it is necessary to repeat step S1 ~S7, until the data is read, the data is read in this way, and the reading efficiency is low

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
  • Data reading method based on Mpc837x framework
  • Data reading method based on Mpc837x framework

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0059] In an information processing system, each device has a unique identification address. The device can include a central processing unit, LCD driver, memory or keyboard interface, external devices, etc., and each device can be used as a host or a slave. That is, during each data transmission, the device cannot act as a master and a slave at the same time.

[0060] In this embodiment, the data transmission direction is that the central processing unit reads the external device data, then the host computer is the central processing unit, and the slave device is an external device. Here, it is assumed that the external device is a temperature sensor (the temperature sensor has a unique identification address), and the temperature The sensor includes a register inside, and the register is used to store the temperature data collected by the temperature sensor.

[0061] The user inputs a temperature query command through the central processing unit; the central processor receiv...

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 relates to the technical field of data processing, and particularly relates to a data reading method based on an Mpc837x framework. Specifically, the method comprises the following steps of controlling a host to receive a query instruction input by a user; starting an I2C bus according to the query instruction; controlling the I2C bus to receive a slave device address which is transmitted by the host and matched with the query instruction; controlling the I2C bus to receive a storage address transmitted by the host, and starting the I2C bus again; controlling the host to transmit the storage address to the I2C bus again; reading data matched with the query instruction, and transmitting the data to the host. The conventional mode of starting the I2C bus through clock pulse is changed, moreover, the I2C bus reads all the data and transmits the data to the host; and multiple continuous data can be read each time. Repetitive execution is not needed, a data reading flow of the I2C bus is simplified, and data reading efficiency of the I2C bus is improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a data reading method based on the Mpc837x framework. Background technique [0002] I2C (Inter-Integrated Circuit) is a serial communication bus, which is mainly used for data transmission between microcontrollers or microprocessors and external devices in operating systems with multi-master-slave architecture. According to the I2C communication protocol, I2C The protocol only transmits data of 1 byte (the word length of 1 byte is 8 bits) at a time. Therefore, if the length of the transmitted data word exceeds 8 bits, the data needs to be transmitted in segments. [0003] Such as figure 1 As shown, the data transmission process of the existing I2C bus, its specific steps include: [0004] Step S1, the host sends a clock pulse for starting the I2C bus, and starts the I2C bus; [0005] Step S2, controlling the I2C bus to receive the slave device address sent by the host...

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 Applications(China)
IPC IPC(8): G06F13/42
CPCG06F13/4291
Inventor 陆丹宏钟捷群
Owner PHICOMM (SHANGHAI) CO LTD