CN109471814A - A kind of method, apparatus and main control end of data transmission - Google Patents

A kind of method, apparatus and main control end of data transmission Download PDF

Info

Publication number
CN109471814A
CN109471814A CN201811286048.8A CN201811286048A CN109471814A CN 109471814 A CN109471814 A CN 109471814A CN 201811286048 A CN201811286048 A CN 201811286048A CN 109471814 A CN109471814 A CN 109471814A
Authority
CN
China
Prior art keywords
data
byte
read
attribute
transmitted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811286048.8A
Other languages
Chinese (zh)
Inventor
苏进
陈�峰
胡盛泉
任殿升
包生辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Long Xun Semiconductor (hefei) Ltd By Share Ltd
Original Assignee
Long Xun Semiconductor (hefei) Ltd By Share Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Long Xun Semiconductor (hefei) Ltd By Share Ltd filed Critical Long Xun Semiconductor (hefei) Ltd By Share Ltd
Priority to CN201811286048.8A priority Critical patent/CN109471814A/en
Publication of CN109471814A publication Critical patent/CN109471814A/en
Priority to JP2019184373A priority patent/JP6954576B2/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of methods of data transmission, comprising: obtains the data packet that accessory channel is transmitted to the main control end of data/address bus I2C;According to the type of the type of the read/write flag position of the data packet and transmission flag bit, data to be transmitted is generated;Wherein, data attribute is added in the data to be transmitted;By data to be transmitted storage to buffer;Wherein, the buffer is used for according to the data to be transmitted, carries out data interaction with the main control end of the I2C, the data attribute in the data to be transmitted is used to control the progress of data interaction between the main control end of the I2C and the buffer;Read the data saved in buffer;Wherein, the data are added with data attribute;The data attribute of data is read according to this, determines the implementation progress of the read/write operation of data next time.The present invention also provides corresponding with the method a kind of methods and main control end of data transmission.

Description

A kind of method, apparatus and main control end of data transmission
Technical field
The present invention relates to field of data transmission, in particular to a kind of the method, apparatus and main control end of data transmission.
Background technique
High-definition digital display interface (DisplayPort, DP), using accessory channel (Auxiliary Channel, AUX- CH data) are transmitted between receiving end and transmitting terminal.In receiving end, data need to be transferred to data/address bus from accessory channel (Inter-integrated Circuit, I2C), data are transmitted by I2C again.The number that accessory channel transmits in the form of data packet According to, and data/address bus I2C can only one byte of a byte transmission data, so in the receiving end of DP, data are logical from auxiliary Road is transmitted to the main control end of I2C, the method that need to be converted into data bus transmission mode using secondary channel data transmission mode Carry out data transmission.
In the receiving end of DP, need AUX-CH in the transmission of data each time, the main control end of advance notice I2C will be written Or the number of the byte read, then the main control end of I2C is written or reads the byte of corresponding number, until completing.Entirely The transmission process of data is carried out by fixed mode, can not stop data before the unread completion of byte number Transmission can not also transmit data and intervene, and the transmission of data is very not flexible.The transmission of data can not be terminated in advance, Also data can not be flexibly transmitted as needed.
Summary of the invention
In view of this, the present invention provides the method, apparatus and main control end of a kind of data transmission, to effectively improve data biography Defeated flexibility.
To achieve the above object, the embodiment of the present invention provides the following technical solutions:
A kind of method of data transmission, which comprises
Obtain the data packet that accessory channel is transmitted to the main control end of data/address bus I2C;
According to the type of the type of the read/write flag position of the data packet and transmission flag bit, data to be transmitted is generated;Its In, data attribute is added in the data to be transmitted;
By data to be transmitted storage to buffer;Wherein, the buffer is used for according to the data to be transmitted, with The main control end of the I2C carries out data interaction, and the data attribute in the data to be transmitted is used to control the master control of the I2C The progress of data interaction between end processed and the buffer.
Optionally, in the above-mentioned methods, the read/write flag position of the data packet is write operation mark, described according to The type of the read/write flag position of data packet and the type of transmission flag bit, generate data to be transmitted, wherein the number to be transmitted Data attribute is added in;Include:
By the address byte and data byte in the data packet, as the data to be transmitted;
Wherein, it to the address byte of the first data packet of accessory channel transmission, is added in the data to be transmitted The data attribute of start byte;To it is described transmission flag bit be transmission process in data packet in data byte, it is described to Addition resumes the data attribute of byte in transmission data;It is the end in the data packet of end of transmission mark to the transmission flag bit Bit data bytes add the data attribute of end byte, in addition to the last bit data byte in the data to be transmitted Data byte, addition resumes the data attribute of byte in the data to be transmitted.
Optionally, in the above-mentioned methods, which is characterized in that the read/write flag position in the data packet is read operation mark, The type of the read/write flag position according to the data packet and the type of transmission flag bit, generate data to be transmitted, wherein Data attribute is added in the data to be transmitted;Include:
Using the address byte of the data packet as the data to be transmitted, and first is written in the data to be transmitted The corresponding data byte of numerical value, first numerical value are the numerical value of the length byte of the data packet of accessory channel transmission;
Wherein, it to the address byte of the first data packet of accessory channel transmission, is added in the data to be transmitted The data attribute of start byte;To being the data packet in transmission process according to transmission flag bit, write in the data to be transmitted The last bit data byte entered adds the data attribute of uncertain byte, to other bytes in addition to the last bit data byte, Addition resumes the data attribute of byte;To the data packet for according to the transmission flag bit being end of transmission mark, described to be passed The last bit data byte being written in transmission of data, adds the data attribute of end byte, will be in addition to the last bit data byte Data byte, addition resume the data attribute of byte.
Optionally, in the above-mentioned methods, further includes:
To the specific data byte in the data to be transmitted, addition stops the data attribute of byte immediately;Wherein, described Specific data byte is next data byte that uncertain byte is added in the data to be transmitted.
Optionally, in the above-mentioned methods, further includes:
To the address byte of the data packet, the data attribute of single byte is added in the data to be transmitted.
A kind of method of data transmission, the method, comprising:
Read the data saved in buffer;Wherein, the data are added with data attribute;
The data attribute of data is read according to this, determines the implementation progress of the read/write operation of data next time.
Optionally, in the above-mentioned methods, the read/write operation of the data is write operation, described to read data according to this Data attribute, determine next time data read/write operation implementation progress, comprising:
It identifies that this described data attribute for reading data is start byte, determines that described this is read in data Address, and start and determining address execution data write operation;
It identifies that this described data attribute for reading data is to resume byte, continues after the data that this reads are written Data next time are read from the buffer;
It identifies that this described data attribute for reading data is end byte, then terminates this write operation.
Optionally, in the above-mentioned methods, the data read/write operation is read operation, described to read data according to this Data attribute determines the implementation progress of the read/write operation of data next time, comprising:
It identifies that this described data attribute for reading data is start byte, determines that described this is read in data Address, and start and determining address execution data read operation;
Identify that this described data attribute for reading data is to resume byte, read the storage of subordinate control terminal and this After reading the corresponding byte of data, data next time are read in continuation from the buffer;
Identify that this described data attribute for reading data is uncertain byte, read the storage of subordinate control terminal with this After the corresponding byte of secondary reading data, data next time are read in continuation from the buffer;
Identify that this described data attribute for reading data is end byte, read the storage of subordinate control terminal and this Terminate data read operation after reading the corresponding byte of data.
Optionally, in the above-mentioned methods, the data read/write operation is read operation, described to read data according to this Data attribute determines the implementation progress of the read/write operation of data next time, comprising:
It identifies that this described data attribute for reading data is to stop byte immediately, terminates data read operation.
Optionally, in the above-mentioned methods, the data attribute that data are read according to this, determining data next time The implementation progress of read/write operation, comprising:
It identifies that this described data attribute for reading data is single byte, determines that described this is read in data Address, and stop data read/write operation.
Another aspect of the present invention also discloses a kind of device of data transmission, described device, comprising:
Acquiring unit, the data packet transmitted for obtaining accessory channel to the main control end of data/address bus I2C;
Generation unit, for generating according to the type of the read/write flag position of the data packet and the type of transmission flag bit Data to be transmitted, and data attribute is added to the data to be transmitted;
Cache unit, for storing the data to be transmitted to buffer;Wherein, the buffer is used for according to described in Data to be transmitted carries out data interaction with the main control end of the I2C, and the data attribute in the data to be transmitted is for controlling The progress of data interaction between the main control end of the I2C and the buffer.
Optionally, in above-mentioned apparatus, the read/write flag position of the data packet is that write operation identifies, the generation unit, Include:
First generates subelement, for by the address byte and data byte in the data packet, as described to be transmitted Data;Wherein, to the address byte of the first data packet of accessory channel transmission, starting is added in the data to be transmitted The data attribute of byte;It is the data byte in the data packet in transmission process to the transmission flag bit, described to be transmitted Addition resumes the data attribute of byte in data;It is the last digit in the data packet of end of transmission mark to the transmission flag bit According to byte, the data attribute of end byte is added in the data to be transmitted, to the number in addition to the last bit data byte According to byte, addition resumes the data attribute of byte in the data to be transmitted.
Optionally, in above-mentioned apparatus, the read/write flag position in the data packet is read operation mark, and the generation is single Member, comprising:
Second generates subelement, for using the address byte of the data packet as the data to be transmitted, and described The corresponding data byte of the first numerical value is written in data to be transmitted, first numerical value is the data packet of accessory channel transmission Length byte numerical value;
Wherein, it to the address byte of the first data packet of accessory channel transmission, is added in the data to be transmitted The data attribute of start byte;To being the data packet in transmission process according to transmission flag bit, write in the data to be transmitted The last bit data byte entered adds the data attribute of uncertain byte, to other bytes in addition to the last bit data byte, Addition resumes the data attribute of byte;To the data packet for according to the transmission flag bit being end of transmission mark, described to be passed The last bit data byte being written in transmission of data, adds the data attribute of end byte, will be in addition to the last bit data byte Data byte, addition resume the data attribute of byte.
Optionally, in above-mentioned apparatus, further includes:
First adding unit, for the specific data byte in the data to be transmitted, addition to stop byte immediately Data attribute;Wherein, the specific data byte is that next data of uncertain byte are added in the data to be transmitted Byte.
Optionally, in above-mentioned apparatus, further includes:
Second adding unit adds one word in the data to be transmitted for the address byte to the data packet The data attribute of section.
The invention also discloses a kind of main control end, the main control end is the main control end of data/address bus I2C, the master Control terminal includes:
Main control unit, for reading the data saved in buffer, the data are added with data attribute, and according to this The secondary data attribute for reading data, determines the implementation progress of the read/write operation of data next time.
Optionally, in above-mentioned main control end, the read/write operation of the data is write operation, the main control unit, packet It includes:
First master control subunit, this described data attribute for reading data is start byte for identification, is determined Described this reads the address in data, and starts and determining address execution data write operation;Identify this described reading The data attribute of access evidence is to resume byte, continues to read next time from the buffer after the data that this reads are written Data;It identifies that this described data attribute for reading data is end byte, then terminates this write operation.
Optionally, in above-mentioned main control end, the read/write operation of the data is read operation, the main control unit, packet It includes:
Second master control subunit, going out this described data attribute for reading data for identification is start byte, is determined Described this reads the address in data out, and starts and determining address execution data read operation;Identify it is described this The data attribute for reading data is to resume byte, after reading the byte corresponding with this reading data of subordinate control terminal storage, Data next time are read in continuation from the buffer;Identify that this described data attribute for reading data is uncertain word Section, after reading the byte corresponding with this reading data of subordinate control terminal storage, continuation is read next from the buffer Secondary data;Identify that this described data attribute for reading data is end byte, read the storage of subordinate control terminal and this Terminate data read operation after reading the corresponding byte of data.
Optionally, in above-mentioned main control end, the read/write operation of the data is read operation, the main control unit, packet It includes:
First recognition unit, going out this described data attribute for reading data for identification is to stop byte immediately, is terminated Data read operation.
Optionally, in above-mentioned main control end, the main control unit, comprising:
Second recognition unit, going out this described data attribute for reading data for identification is single byte, determines institute It states this and reads the address in data, and stop data read/write operation.
In the method that can be seen that data transmission provided by the present invention by above scheme, pass through the number that will acquire Data to be transmitted is generated according to packet and is stored in both the buffers, the different data attribute of the addition to the data to be transmitted.Master control The data to be transmitted added with data attribute is read at end processed from buffer, and controls main control end by the data attribute Read/write operation, not in the data for the byte for needing advance notice main control end to be transmitted, but by addition data attribute come The transmission of data is controlled, so that data transmission becomes more flexibly.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of schematic diagram of the method for data transmission provided by the invention;
Fig. 2 is the flow chart that generation unit disclosed by the embodiments of the present invention handles data;
Fig. 3 is the flow chart that main control unit disclosed in another specific embodiment of the present invention handles data;
Fig. 4 is a kind of schematic diagram of the device of data transmission provided by the invention;
Fig. 5 is a kind of schematic diagram of main control end provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of high-definition digital display interface receiving ends 101, referring to Fig. 1, in place's accessory channel Increase the device 103 of the data transmission of a generation data to be transmitted between 102 and I2C main control end 105, also, in data Increase a buffer 104 between the device 103 and main control end 105 of transmission.
Wherein, high-definition digital display interface transmitting terminal sends data to high-definition digital display interface by accessory channel 102 Receiving end 101 first generates data to be transmitted according to the data by data transmission device 103, then adds to the data to be transmitted Add after data are handled after data attribute, by data to be transmitted storage into buffer 104, then by I2C main control end 105 control the transmission of data by data attribute.
The method of the transmission of data disclosed in another embodiment of the present invention, is incorporated in the transmitting device of data, in conjunction with Fig. 1 and figure 2, the method for the data transmission, comprising:
S201, the data packet that accessory channel is transmitted to the main control end of data/address bus I2C is obtained.
It should be noted that DP transmits number by four primary links and an accessory channel between transmitting terminal and receiving end The transmission of video content is mainly responsible for according to, primary link, accessory channel is mainly responsible for the transmitting of auxiliary information, such as status information, Audio and monitor information etc..The data transfer mode of accessory channel is to be packaged the data of transmitting terminal, with the shape of data packet Formula is transmitted to receiving end, and each data packet at most only allows the length of 16 bytes of read/write.The embodiment of the present invention is in DP Receiving end obtains the data packet that accessory channel is transmitted to the main control end of data/address bus I2C.
S202, according to the type of the read/write flag position of the data packet and the type of flag bit is transmitted, generates number to be transmitted According to, wherein data attribute is added in the data to be transmitted.
It should be noted that the read/write flag position is present in the address byte in the data packet.The address word The first seven position of section is address bit, last for the read/write flag position address bit indicate be the I2C that carries out data transmission from Belong to the address of control terminal, last read/write flag position of the address byte, for indicating what the transmission of this data carried out It is read operation or write operation.
In I2C, the read operation is that main control end reads data from subordinate control terminal, and the write operation is main control End writes data into subordinate control terminal.All there is specific addresses for each of I2C subordinate control terminal, are carrying out data When transmission, I2C main control end first will need the address of the subordinate control terminal carried out data transmission with main control end to be sent to bus In, subordinate control terminal corresponding with the address is found, subordinate control terminal corresponding with the address is receiving the ground It is subsequent just to carry out data transmission after sending response message to main control end behind location.
I2C is a kind of simple two-wire serial data bus, once transmits the data of 8 bits, that is, transmits a byte. And accessory channel is to transmit data in the form of data packet, so data packet can not be transmitted in I2C.The present embodiment is obtaining After the data packet, data to be transmitted is generated according to the data packet, the data to be transmitted can be with the shape of single byte Formula is transmitted in I2C.When generating data to be transmitted, according to the flag bit that the data in data packet include, data to be transmitted is generated, It is adjusted before each data byte of the data to be transmitted and adds a data attribute byte.
The data byte is the byte for needing to be written, or is read in subordinate control terminal accordingly according to the data byte Byte, the data attribute byte are to be written with the byte of data attribute.Its corresponding data attribute word of one data word section Section forms one 16 word lengths, is data bit width title referring to table 1, and in 0 to 2 write-in data attribute, 3 to 7 retain, And 8 to 15 are the data byte.
Table 1
Position Explanation
2:0 Data attribute
7:3 Retain
15:8 Data byte/address byte
Optionally, in another specific embodiment of the present invention, the read-write flag bit in the data packet in step S202 is When write operation identifies, a kind of embodiment of this step, comprising:
By the address byte and data byte in the data packet, as the data to be transmitted.
Wherein, it to the address byte of the first data packet of accessory channel transmission, is added in the data to be transmitted The data attribute of start byte;To it is described transmission flag bit be transmission process in data packet in data byte, it is described to Addition resumes the data attribute of byte in transmission data;It is the end in the data packet of end of transmission mark to the transmission flag bit Bit data bytes add the data attribute of end byte, in addition to the last bit data byte in the data to be transmitted Data byte, addition resumes the data attribute of byte in the data to be transmitted.
For write operation, the data byte for including in data packet is exactly the subordinate control terminal for needing main control end to be written Byte, thus need using in data packet address byte and data byte as data to be transmitted, then in the number to be transmitted According to each of before add a data attribute byte, corresponding data attribute is written in data attribute byte.
It should be noted that contain address byte in each data packet, but I2C is in the transmission for carrying out a data When, it is only necessary to it is addressed work at the beginning in data transmission.So optionally, only to the first number of accessory channel transmission According to the data attribute of the address byte addition start byte of packet.Also contain data transmission mark containing one in each data packet Position (Middle Of Transaction, MOT) byte, MOT=1 indicate data transmission in, i.e., data also in the transmission, after Continuous also to transmit new data packet, MOT=0 indicates the data transfer ends, the i.e. end of transmission of data, and subsequent no longer transmission is new Data packet.The byte containing data transmission flag bit is in order to which whether also the subsequent transmission of the main control end for informing I2C comes New data packet, the present invention add the data attribute of end byte by the last bit data byte in the data packet to MOT=0, With realize inform I2C main control end it is subsequent there is no new data packets to transmit, this data transfer ends.And to MOT Other data bytes imparting of=1 data byte and MOT=0 resumes byte, and informing that the main control end of I2C is subsequent will also continue Carry out the transmission of data.Effect in this way for just realizing the byte containing data transmission flag bit, it is no longer necessary to transmit The byte, so not using the byte as the data to be transmitted.
Optionally, in another specific embodiment of the present invention, the read-write flag bit in the data packet in step S202 is When read operation identifies, a kind of embodiment of this step, comprising:
Using the address byte of the data packet as the data to be transmitted, and first is written in the data to be transmitted The corresponding data byte of numerical value, first numerical value are the numerical value of the length byte of the data packet of accessory channel transmission.
Wherein, it to the address byte of the first data packet of accessory channel transmission, is added in the data to be transmitted The data attribute of start byte;To being the data packet in transmission process according to transmission flag bit, write in the data to be transmitted The last bit data byte entered adds the data attribute of uncertain byte, to other bytes in addition to the last bit data byte, Addition resumes the data attribute of byte;To the data packet for according to the transmission flag bit being end of transmission mark, described to be passed The last bit data byte being written in transmission of data, adds the data attribute of end byte, will be in addition to the last bit data byte Data byte, addition resume the data attribute of byte.
It should be noted that containing the data word to be written unlike write operation in the data packet of read operation Section, read operation are data to be read from I2C subordinate control terminal according to request, then the data that main control end is read again are sent to DP Transmitting terminal.Contain length byte in the data packet of request progress read operation, the length byte, which illustrates, to be needed to read byte Number numerical value, i.e. the first numerical value, which is up to 16.In the present embodiment, for read operation, data to be transmitted is being generated When, using address byte as data to be transmitted, further according to the first numerical value that the length byte indicates, in the data to be transmitted The middle write-in numerical value corresponds to the data byte of number, generates data to be transmitted.In each word to the data to be transmitted Section addition data attribute.
For example, the numerical value that the length byte in data packet indicates is 16, that is, requires to read 16 bytes, then accordingly generate It include 17 groups of data in data to be transmitted, each group of data are made of a data attribute byte and one data word section, the One group of data bit start byte and address, in other 16 groups, first 15 groups are made of the data byte for resuming byte and write-in, finally One group is made of the data byte for not knowing byte and write-in.Since the data byte can be the equal of requiring main control end The order of one byte of reading is gone, the data byte in I2C bus not transmitting, so described data byte itself is simultaneously There is no meaning, i.e., the described data byte can arbitrarily be written.
For read operation, after each byte transmission, I2C will send response message or be not responding to message, with true It is calmly subsequent whether to continue to transmit data.In the present embodiment, the data byte of last bit is added into uncertain byte, in this way at one It can not send response message after the completion of the request of data packet or be not responding to message.
Optionally, another specific embodiment of the present invention, the transmission method of the data can also include: to described to be transmitted Specific data byte in data, addition stop the data attribute of byte immediately;Wherein, the specific data byte be it is described to Next data byte of uncertain byte is added in transmission data.
Uncertain byte is added to a data packet and generates in the last bit byte of data to be transmitted, that is, upper one After a data packet has been handled, it is not known that it is subsequent whether to continue to read data, so need to suspend the reading of data, then it can be right The first data byte addition for the data to be transmitted that next data packet generates stops byte immediately, that is, is added uncertain byte Data attribute data byte next byte addition stop byte immediately, immediately stop data transmission.
Optionally, another specific embodiment of the present invention, the transmission method of the data can also include: to the data packet Address byte, the data attribute of single byte is added in the data to be transmitted.
Wherein, when it needs to be determined that whether I2C subordinate control terminal responds, accessory channel can send one and contain address byte There is no the data packet of data byte or length byte, the data packet is a kind of Address requests, and the Address requests are for sending The address of subordinate control terminal is gone to determine whether the subordinate control terminal responds, and after log-on data transmission, sends address byte, so Just stop data transmission afterwards, the affairs entirely sent just finish, and subsequent there is no the write-in of data or readings.For this feelings Data packet under condition adds the data attribute of single byte to the address byte in the data packet.So addition is described single The condition of byte is not identical as the condition of the start byte, and the effect of the two is also different.
S203, the data to be transmitted is stored to buffer, wherein the buffer is used for according to the number to be transmitted Data interaction is carried out according to the main control end of the I2C, the data attribute in the data to be transmitted is for controlling the I2C's The progress of data interaction between main control end and the buffer.
The data to be transmitted of generation is stored into buffer, wherein the data to be transmitted has been added with data Attribute.The interaction of data is carried out by buffer and I2C main control end, main control end is constantly postponed by the data attribute The data to be transmitted is read in storage.The data to be transmitted added with data attribute is stored in buffer, I2C main control end The data to be transmitted for being added with data attribute is read from buffer, is not needed advance notice main control end again and is needed to read Or the byte number of write-in.Main control end can be by the transmission of read data attribute control data, so by addition Data attribute can control the transmission of data.And the data not interacted with I2C main control end can also be modified, be made The transmission for obtaining data is more flexible.Specifically the data are modified, storage can be deleted at any time in memory The data to be transmitted, new data to be transmitted is then written.
Another embodiment of the present invention also discloses a kind of method of data transmission, applied to the main control end of I2C, referring to figure 3, the method for the data transmission, comprising:
S301, the data saved in buffer are read, wherein the data are added with data attribute.
I2C main control end reads the data of buffer storage from buffer, and the data are added with data attribute Data to be transmitted.
Optionally, two bytes, one data word section and its corresponding data are once read in I2C main control from buffer Attribute byte can just carry out reading next time after having reprocessed the data of this reading or terminate the reading of data.When slow When storage reads empty, I2C is in the state waited, suspends read/write operation.When buffer non-empty, I2C main control continues to postpone Data are read in storage, that mutually copes with continues read/write operation.
S302, the data attribute that data are read according to this, determine the implementation progress of the read/write operation of data next time.
It should be noted that the beginning and end of data transmission is all determined by main control end in I2C.But main control end For read operation with write operation data transmission control not fully.
For write operation, main control end sends initial signal, then sends address, the corresponding subordinate control terminal hair in the address After sending response, data byte is written in subordinate control terminal main control end, and subordinate control terminal is after being properly received the byte, meeting It sends response message and informs that major control data receives successfully, main control end just sends next data byte.Main control end will most The latter byte is written after the completion of subordinate control terminal, sends response message from equipment and informs main control end, data receiver success.It is main Control terminal, which sends stop signal, terminates data transmission, that is, main control end to terminate write operation, as long as in a upper data After being written successfully, data are not sent to subordinate control terminal, data transmission can be terminated by then sending stop signal.
And for read operation, main control end sends initial signal, then sends address, the corresponding subordinate control in the address After the response of end, subordinate control terminal sends data byte to main control end, and main control end sends response message after receiving successfully, informs The success of subordinate control terminal data receiver, then subordinate control terminal sends next data byte.Main control end is read from subordinate control terminal After taking the last one data, main control end transmission is not responding to signal, then sends stop signal, terminates data transmission, i.e., main Control terminal needs after having read a upper data to terminate read operation, first sends and be not responding to message, inform subordinate control terminal Without retransmiting data, data transmission could be stopped by then sending stop signal.Therefore, main control end for read operation and writes behaviour The control of work is not identical, even so to identical data attribute in this present embodiment, in read operation and write operation Effect is not the same.
Optionally, in another embodiment of the present invention, the read/write operation in the data in step S302 is write operation When, i.e., when last read/write operation position of address byte is 0, a kind of implementation method of this step, comprising:
It identifies that this described data attribute for reading data is start byte, determines that described this is read in data Address, and start and determining address execution data write operation.
Wherein, main control end can first send initial signal when recognizing start byte, occupy I2C in the I2C free time. Then send described this and read address and the write operation mark in data, determine the address, the address it is corresponding from After belonging to control terminal transmission response signal, and according to the data byte write operation mark, address execution data are being determined in starting Write operation writes data into the subordinate control terminal.
It identifies that this described data attribute for reading data is to resume byte, continues after the data that this reads are written Data next time are read from the buffer.
Wherein, main control end, which recognizes, resumes byte, illustrates that the data byte that this reads is an intermediary bytes, subsequent to go back It has data to be written, after the data byte that this reads is written in subordinate control terminal main control end, continue from described slow The reading of data next time is carried out in storage.
It identifies that this described data attribute for reading data is end byte, then terminates this write operation.
Wherein, main control end recognizes end byte, and the data byte for indicating that this reads is that the last one will be written Data byte.After by the last one data byte write-in subordinate control terminal, subordinate control terminal sends response message and determines Data are written successfully, and main control end sends stop signal, discharge bus, terminate write operation.
Optionally, in another embodiment of the present invention, the read/write operation in the data in step S302 is read operation When, i.e., when last read/write operation position of address byte is 1, a kind of implementation method of this step, comprising:
It identifies that this described data attribute for reading data is start byte, determines that described this is read in data Address, and start and determining address execution data read operation.
Wherein, after main control end identification start byte, initial signal is first sent, bus is occupied, then sends the data The address of byte and read operation mark, after in the address, corresponding subordinate control terminal sends response signal, starting is being determined Address executes data reading operation, and main control end reads data from subordinate control terminal.
Identify that this described data attribute for reading data is to resume byte, read the storage of subordinate control terminal and this After reading the corresponding byte of data, data next time are read in continuation from the buffer.
Wherein, main control end, which recognizes, resumes byte, illustrates that the data byte that this reads is an intermediary bytes, subsequent to go back There are other data bytes, it is also necessary to which data are read in continuation from subordinate control terminal, and main control end will be read from subordinate control terminal at this time A data are taken, the reading for carrying out data next time from the buffer is then proceeded to.
It should also be noted that, the data in data to be transmitted are written according to the numerical value that the length byte in data packet indicates Byte itself be it is meaningless, the length byte is to illustrate that the data packet request reads the byte of the numerical value of byte.It is main Control terminal can read accordingly a byte after reading the data byte in the buffer from subordinate control terminal, and Other operations will not be done to the data byte read from buffer.
Identify that this described data attribute for reading data is uncertain byte, read the storage of subordinate control terminal with this After the corresponding byte of secondary reading data, data next time are read in continuation from the buffer.
It should be noted that uncertain byte application after the data processing of a data packet is complete, that is, is read in read operation After taking the data that the request of the data packet is read, main control end is not aware that subsequent can or can not have new data packet to be transmitted across Come, can not determine it is subsequent whether to continue to read data from subordinate control terminal, so can not determine send response message continue Data are read, or send the reading for being not responding to end of message data.Most because of the data to be transmitted that is generated according to data packet The addition of the latter byte is uncertain byte, so when main control end recognizes uncertain byte, main control end is from subordinate Control terminal reads a byte corresponding with the data byte that this reads, and then suspends from subordinate control terminal and reads number According to.Data next time are read in continuation from the buffer.It is to send response further according to the data attribute determination read next time Message is not responding to message, continues to read data from subordinate control terminal or terminates read operation.
Identify that this described data attribute for reading data is end byte, read the storage of subordinate control terminal and this Terminate data read operation after reading the corresponding byte of data.
Wherein, main control end can read one and this described reading after identifying end byte from subordinate control terminal The corresponding byte of data byte, then send be not responding to message, finally send stop signal, terminate this read operation.
It optionally, is read operation in data read/write operation, the data attribute that data are read according to this, really The implementation progress of the read/write operation of a data is fixed, can identify that described this reads the data of data in main control end Attribute is after stopping byte immediately, to terminate data read operation.
Stop byte immediately for after not knowing byte, after main control end reads uncertain byte from the buffer, under Primary read is exactly uncertain byte.At this point, illustrating that accessory channel is not transmitting data packet to main control end, phase is also wanted in read operation The stopping answered.Main control end will not read data from subordinate control terminal, but directly transmit not after identification stops byte immediately Then response message sends stop signal, discharge bus, terminates read operation.Certainly, main control end is reading uncertain byte Afterwards, next data attribute byte read from buffer is also possible to resume byte, illustrates to need to continue to read behaviour at this time Make.After having read a byte from subordinate, response message is sent, continues to read data.
Optionally, in another embodiment of the present invention, in read operation or write operation, another embodiment of step can To include: to identify that the data attribute that this reads data for single byte, determines that described this is read in data Address, and stop data read/write operation.
Wherein, single byte corresponds to the address transaction in the request that accessory channel sends over, and the address transaction is logical It is usually used in determining whether I2C subordinate control terminal responds.Main control end can send initial signal after identifying the single byte, Occupy bus, then send address and read/write mark, the address relative to subordinate control terminal will send response message, Then main control end sends stop signal, discharges bus.Its write-in or reading for not carrying out data.
Another specific embodiment of the present invention also discloses a kind of device of data transmission, referring to fig. 4, comprising:
Acquiring unit 401, the data packet transmitted for obtaining accessory channel to the main control end of data/address bus I2C.Wherein, The acquiring unit 401 obtains transmitting terminal in the receiving end of DP and passes through the data packet that accessory channel is transmitted to the main control end of I2C.
Generation unit 402, for according to the type of the read/write flag position of the data packet and the type of transmission flag bit, Data to be transmitted is generated, and data attribute is added to the data to be transmitted.The generation unit 402 is according to the ground in data packet The data packet is generated data to be transmitted by the type of the read/write flag position of the last bit of location byte.Then according to different transmission The type of flag bit adds data attribute to the data to be transmitted.The addition data attribute can be, described to be transmitted Before each of data byte, increases the byte of a write-in corresponding data attribute, be defined as data attribute byte.
Cache unit 403, for storing the data to be transmitted to buffer;Wherein, the buffer is used for foundation The data to be transmitted carries out data interaction with the main control end of the I2C, and the data attribute in the data to be transmitted is used for Control the progress of data interaction between the main control end of the I2C and the buffer.
Optionally, generation unit 402 can delete the data to be transmitted in the buffer at any time, and then write-in is new Data to be transmitted.To realize the intervention for data transmission, so that transmission data can be changed, and number can be terminated in advance According to transmission.
Optionally, raw when the read/write flag position of the data packet is write operation mark in another embodiment of the present invention May include: see also Fig. 4 at unit 402
First generates subelement 4021, for by the address byte and data byte in the data packet, as it is described to Transmit data;Wherein, it to the address byte of the first data packet of accessory channel transmission, is added in the data to be transmitted The data attribute of start byte;To it is described transmission flag bit be transmission process in data packet in data byte, it is described to Addition resumes the data attribute of byte in transmission data;It is the end in the data packet of end of transmission mark to the transmission flag bit Bit data bytes add the data attribute of end byte, in addition to the last bit data byte in the data to be transmitted Data byte, addition resumes the data attribute of byte in the data to be transmitted.
Optionally, in another embodiment of the present invention, the read/write flag position in the data packet is read operation mark, raw At unit 402, as shown in Figure 4, comprising:
Second generates subelement 4022, for using the address byte of the data packet as the data to be transmitted, and The corresponding data byte of the first numerical value is written in the data to be transmitted, first numerical value is the number of accessory channel transmission According to the numerical value of the length byte of packet.
Wherein, it to the address byte of the first data packet of accessory channel transmission, is added in the data to be transmitted The data attribute of start byte;To being the data packet in transmission process according to transmission flag bit, write in the data to be transmitted The last bit data byte entered adds the data attribute of uncertain byte, to other bytes in addition to the last bit data byte, Addition resumes the data attribute of byte;To the data packet for according to the transmission flag bit being end of transmission mark, described to be passed The last bit data byte being written in transmission of data, adds the data attribute of end byte, will be in addition to the last bit data byte Data byte, addition resume the data attribute of byte.
In another embodiment of the invention, the device of the data transmission, can further include: the first addition is single Member and the second adding unit;Wherein:
First adding unit, for the specific data byte in the data to be transmitted, addition to stop word immediately The data attribute of section;Wherein, the specific data byte is to be added to not know the next of byte in the data to be transmitted Data byte.
Second adding unit is added single for the address byte to the data packet in the data to be transmitted The data attribute of one byte.
It should be noted that in the present invention data disclosed in each embodiment transmit device in each unit specific work Make process, reference can be made to corresponding embodiment of the method content, details are not described herein again.
Another specific embodiment of the present invention discloses a kind of main control end, wherein the main control end is data/address bus I2C Main control end, as shown in figure 5, the main control end 501, comprising:
Main control unit 502, for reading the data saved in buffer, the data are added with data attribute, and according to The data attribute of data is read according to this, determines the implementation progress of the read/write operation of data next time.
Wherein, main control unit 502 once reads two bytes, one data word section and the byte institute from the buffer Corresponding data attribute byte.The main control end unit 502 controls data by the data attribute read from buffer Reading or write-in.And for read operation and write operation, data attribute is not fully identical for the control of main control end 501.
Optionally, in another embodiment of the present invention, when the read/write operation of the data is write operation, main control unit 502, as shown in Figure 5, comprising:
First master control subunit 503, this described data attribute for reading data is start byte for identification, is determined Described this reads the address in data out, and starts and determining address execution data write operation;Identify it is described this The data attribute for reading data is to resume byte, continues to read from the buffer after the data that this reads are written next Secondary data;It identifies that this described data attribute for reading data is end byte, then terminates this write operation.
Optionally, in another embodiment of the present invention, the read/write operation of the data is read operation, main control unit 502, as shown in Figure 5, comprising:
Second master control subunit 504, going out this described data attribute for reading data for identification is start byte, really It makes described this and reads the address in data, and start and determining address execution data read operation;Identify described The secondary data attribute for reading data is to resume byte, reads the byte corresponding with this reading data of subordinate control terminal storage Afterwards, continue to read data next time from the buffer;Identify that this described data attribute for reading data is uncertain Byte continues under reading in the buffer after reading the byte corresponding with this reading data of subordinate control terminal storage Data;Identify that this described data attribute for reading data is end byte, read the storage of subordinate control terminal with this Terminate data read operation after the corresponding byte of secondary reading data.
Optionally, in another embodiment of the present invention, when the read/write operation for the data is read operation, main control Unit 502, as shown in Figure 5, comprising:
First recognition unit 505, going out this described data attribute for reading data for identification is to stop byte immediately, is tied Beam data read operation.
Optionally, in another embodiment of the present invention, when the read/write operation of the data is write operation or read operation, Main control unit 502, as shown in Figure 5, comprising:
Second recognition unit 506, going out this described data attribute for reading data for identification is single byte, is determined Described this reads the address in data, and stops data read/write operation.
It should be noted that in the present invention in main control end disclosed in each embodiment each unit specific works mistake Journey, reference can be made to corresponding embodiment of the method content, details are not described herein again.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other The difference of embodiment, same or similar part may refer to each other between each embodiment.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (20)

1. a kind of method of data transmission characterized by comprising
Obtain the data packet that accessory channel is transmitted to the main control end of data/address bus I2C;
According to the type of the type of the read/write flag position of the data packet and transmission flag bit, data to be transmitted is generated;Wherein, Data attribute is added in the data to be transmitted;
By data to be transmitted storage to buffer;Wherein, the buffer is used for according to the data to be transmitted, and described The main control end of I2C carries out data interaction, and the data attribute in the data to be transmitted is used to control the main control end of the I2C The progress of data interaction between the buffer.
2. the method according to claim 1, wherein the read/write flag position of the data packet be write operation mark, The type of the read/write flag position according to the data packet and the type of transmission flag bit, generate data to be transmitted, wherein Data attribute is added in the data to be transmitted;Include:
By the address byte and data byte in the data packet, as the data to be transmitted;
Wherein, to the address byte of the first data packet of accessory channel transmission, starting is added in the data to be transmitted The data attribute of byte;It is the data byte in the data packet in transmission process to the transmission flag bit, described to be transmitted Addition resumes the data attribute of byte in data;It is the last digit in the data packet of end of transmission mark to the transmission flag bit According to byte, the data attribute of end byte is added in the data to be transmitted, to the number in addition to the last bit data byte According to byte, addition resumes the data attribute of byte in the data to be transmitted.
3. the method according to claim 1, wherein the read/write flag position in the data packet is read operation mark To know, the type of the read/write flag position according to the data packet and the type of transmission flag bit generate data to be transmitted, In, data attribute is added in the data to be transmitted;Include:
Using the address byte of the data packet as the data to be transmitted, and the first numerical value is written in the data to be transmitted Corresponding data byte, first numerical value are the numerical value of the length byte of the data packet of accessory channel transmission;
Wherein, to the address byte of the first data packet of accessory channel transmission, starting is added in the data to be transmitted The data attribute of byte;To being the data packet in transmission process according to transmission flag bit, be written in the data to be transmitted Last bit data byte adds the data attribute of uncertain byte, to other bytes in addition to the last bit data byte, addition Resume the data attribute of byte;To the data packet for according to the transmission flag bit being end of transmission mark, in the number to be transmitted According to the last bit data byte of middle write-in, the data attribute of end byte is added, by the data in addition to the last bit data byte Byte, addition resume the data attribute of byte.
4. according to the method described in claim 3, it is characterized by further comprising:
To the specific data byte in the data to be transmitted, addition stops the data attribute of byte immediately;Wherein, described specific Data byte is next data byte that uncertain byte is added in the data to be transmitted.
5. the method according to any one of claim 2-4, which is characterized in that further include:
To the address byte of the data packet, the data attribute of single byte is added in the data to be transmitted.
6. a kind of method of data transmission characterized by comprising
Read the data saved in buffer;Wherein, the data are added with data attribute;
The data attribute of data is read according to this, determines the implementation progress of the read/write operation of data next time.
7. according to the method described in claim 6, it is characterized in that, the read/write operation of the data is write operation, the foundation This reads the data attribute of data, determines the implementation progress of data read/write operation next time, comprising:
It identifies that this described data attribute for reading data is start byte, determines that described this reads the ground in data Location, and start and determining address execution data write operation;
It identifies that this described data attribute for reading data is to resume byte, continues after the data that this reads are written from institute It states and reads data next time in buffer;
It identifies that this described data attribute for reading data is end byte, then terminates this write operation.
8. according to the method described in claim 6, the foundation is originally it is characterized in that, data read/write operation is read operation The secondary data attribute for reading data, determines the implementation progress of the read/write operation of data next time, comprising:
It identifies that this described data attribute for reading data is start byte, determines that described this reads the ground in data Location, and start and determining address execution data read operation;
This data attribute for reading data is to resume byte described in identifying, reads reading with this for subordinate control terminal storage After the corresponding byte of data, data next time are read in continuation from the buffer;
The data attribute for identifying this reading data is uncertain byte, reads reading with this for subordinate control terminal storage After access is according to corresponding byte, data next time are read in continuation from the buffer;
This data attribute for reading data is end byte described in identifying, reads reading with this for subordinate control terminal storage Terminate data read operation after the corresponding byte of data.
9. according to the method described in claim 6, the foundation is originally it is characterized in that, data read/write operation is read operation The secondary data attribute for reading data, determines the implementation progress of the read/write operation of data next time, comprising:
It identifies that this described data attribute for reading data is to stop byte immediately, terminates data read operation.
10. according to the method described in claim 6, it is characterized in that, the data attribute for reading data according to this, determines The implementation progress of the read/write operation of data next time, comprising:
It identifies that this described data attribute for reading data is single byte, determines that described this reads the ground in data Location, and stop data read/write operation.
11. a kind of device of data transmission characterized by comprising
Acquiring unit, the data packet transmitted for obtaining accessory channel to the main control end of data/address bus I2C;
Generation unit, for generating to be passed according to the type of the read/write flag position of the data packet and the type of transmission flag bit Transmission of data, and data attribute is added to the data to be transmitted;
Cache unit, for storing the data to be transmitted to buffer;Wherein, the buffer is used for according to described to be passed Transmission of data carries out data interaction with the main control end of the I2C, and the data attribute in the data to be transmitted is described for controlling The progress of data interaction between the main control end of I2C and the buffer.
12. device according to claim 11, which is characterized in that the read/write flag position of the data packet is write operation mark Know, the generation unit, comprising:
First generates subelement, for by the address byte and data byte in the data packet, as the data to be transmitted; Wherein, to the address byte of the first data packet of accessory channel transmission, start byte is added in the data to be transmitted Data attribute;It is the data byte in the data packet in transmission process to the transmission flag bit, in the data to be transmitted It is middle to add the data attribute for resuming byte;It is the last bit data word in the data packet of end of transmission mark to the transmission flag bit Section adds the data attribute of end byte, to the data word in addition to the last bit data byte in the data to be transmitted Section, addition resumes the data attribute of byte in the data to be transmitted.
13. device according to claim 11, which is characterized in that the read/write flag position in the data packet is read operation Mark, the generation unit, comprising:
Second generates subelement, for using the address byte of the data packet as the data to be transmitted, and described to be passed The corresponding data byte of the first numerical value is written in transmission of data, first numerical value is the length of the data packet of accessory channel transmission Spend the numerical value of byte;
Wherein, to the address byte of the first data packet of accessory channel transmission, starting is added in the data to be transmitted The data attribute of byte;To being the data packet in transmission process according to transmission flag bit, be written in the data to be transmitted Last bit data byte adds the data attribute of uncertain byte, to other bytes in addition to the last bit data byte, addition Resume the data attribute of byte;To the data packet for according to the transmission flag bit being end of transmission mark, in the number to be transmitted According to the last bit data byte of middle write-in, the data attribute of end byte is added, by the data in addition to the last bit data byte Byte, addition resume the data attribute of byte.
14. device according to claim 13, which is characterized in that further include:
First adding unit, for the specific data byte in the data to be transmitted, addition to stop the data of byte immediately Attribute;Wherein, the specific data byte is next data byte that uncertain byte is added in the data to be transmitted.
15. device described in any one of 2-14 according to claim 1, which is characterized in that further include:
Second adding unit adds single byte for the address byte to the data packet in the data to be transmitted Data attribute.
16. a kind of main control end, which is characterized in that the main control end is the main control end of data/address bus I2C, the main control End includes:
Main control unit, for reading the data saved in buffer, the data are added with data attribute, and according to this reading The data attribute for evidence of fetching determines the implementation progress of the read/write operation of data next time.
17. main control end according to claim 16, which is characterized in that the read/write operation of the data is write operation, institute State main control unit, comprising:
First master control subunit, this described data attribute for reading data is start byte for identification, is determined described This reads the address in data, and starts and determining address execution data write operation;Identify that described this reads number According to data attribute be resume byte, be written this read data after continue next number is read from the buffer According to;It identifies that this described data attribute for reading data is end byte, then terminates this write operation.
18. main control end according to claim 16, which is characterized in that the read/write operation of the data is read operation, institute State main control unit, comprising:
Second master control subunit, going out this described data attribute for reading data for identification is start byte, determines institute It states this and reads the address in data, and start and determining address execution data read operation;Identify this described reading The data attribute of data is to resume byte, after reading the byte corresponding with this reading data of subordinate control terminal storage, is continued Data next time are read from the buffer;It identifies that this described data attribute for reading data is uncertain byte, reads After the byte corresponding with this reading data for taking subordinate control terminal to store, next number is read in continuation from the buffer According to;This data attribute for reading data is end byte described in identifying, reads reading with this for subordinate control terminal storage Terminate data read operation after the corresponding byte of data.
19. main control end according to claim 16, which is characterized in that the read/write operation of the data is read operation, institute State main control unit, comprising:
First recognition unit, going out this described data attribute for reading data for identification is to stop byte immediately, terminates data Read operation.
20. main control end according to claim 16, which is characterized in that the main control unit, comprising:
Second recognition unit, going out this described data attribute for reading data for identification is single byte, determines described Address in secondary reading data, and stop data read/write operation.
CN201811286048.8A 2018-10-31 2018-10-31 A kind of method, apparatus and main control end of data transmission Pending CN109471814A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811286048.8A CN109471814A (en) 2018-10-31 2018-10-31 A kind of method, apparatus and main control end of data transmission
JP2019184373A JP6954576B2 (en) 2018-10-31 2019-10-07 Data transmission method, equipment and main control terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811286048.8A CN109471814A (en) 2018-10-31 2018-10-31 A kind of method, apparatus and main control end of data transmission

Publications (1)

Publication Number Publication Date
CN109471814A true CN109471814A (en) 2019-03-15

Family

ID=65666736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811286048.8A Pending CN109471814A (en) 2018-10-31 2018-10-31 A kind of method, apparatus and main control end of data transmission

Country Status (2)

Country Link
JP (1) JP6954576B2 (en)
CN (1) CN109471814A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996275A (en) * 2006-11-09 2007-07-11 中兴通讯股份有限公司 Bulk memory accessing method for I2C controller in 10-site addressing mode
CN101510185A (en) * 2009-04-01 2009-08-19 北京中星微电子有限公司 Method and apparatus for writing-in and reading data to low speed bus from high speed bus
CN103685578A (en) * 2014-01-08 2014-03-26 珠海全志科技股份有限公司 Data transmission method for master equipment and slave equipment
CN104346131A (en) * 2013-08-05 2015-02-11 豪威科技(上海)有限公司 Host control method supporting batch reading and writing of slave register
CN105786753A (en) * 2016-02-22 2016-07-20 上海斐讯数据通信技术有限公司 Method and device for data transmission between master and slave devices on I2C bus
CN106844245A (en) * 2017-02-17 2017-06-13 北京腾凌科技有限公司 Data transmission method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996275A (en) * 2006-11-09 2007-07-11 中兴通讯股份有限公司 Bulk memory accessing method for I2C controller in 10-site addressing mode
CN101510185A (en) * 2009-04-01 2009-08-19 北京中星微电子有限公司 Method and apparatus for writing-in and reading data to low speed bus from high speed bus
CN104346131A (en) * 2013-08-05 2015-02-11 豪威科技(上海)有限公司 Host control method supporting batch reading and writing of slave register
CN103685578A (en) * 2014-01-08 2014-03-26 珠海全志科技股份有限公司 Data transmission method for master equipment and slave equipment
CN105786753A (en) * 2016-02-22 2016-07-20 上海斐讯数据通信技术有限公司 Method and device for data transmission between master and slave devices on I2C bus
CN106844245A (en) * 2017-02-17 2017-06-13 北京腾凌科技有限公司 Data transmission method and device

Also Published As

Publication number Publication date
JP6954576B2 (en) 2021-10-27
JP2020072472A (en) 2020-05-07

Similar Documents

Publication Publication Date Title
JP4155413B2 (en) Asynchronous data pipe that automatically manages asynchronous data transfer between the application and the bus
EP0239937B1 (en) Serial communications controller
KR970029126A (en) Multiprocessor system
TW453069B (en) Packet accessing method with parallel multiplexing feature
JP4452690B2 (en) Electronic device, control method thereof, host device and control method thereof
JP2873044B2 (en) Signal message processing device in asynchronous time division communication network.
JP3288712B2 (en) Link cache for context data search
US4365296A (en) System for controlling the duration of the time interval between blocks of data in a computer-to-computer communication system
EP0050434A2 (en) Communication device with under-run signalling
KR100348545B1 (en) Communication dma device
CN109471814A (en) A kind of method, apparatus and main control end of data transmission
EP4280488A1 (en) Information transmission method and apparatus
US20010018732A1 (en) Parallel processor and parallel processing method
CN112352403B (en) Apparatus for buffered transmission of data
JP4237831B2 (en) Interprocess communication method and system
CN108616329B (en) FC network sequence sending control system and method based on digital circuit
JPS634216B2 (en)
JP2905041B2 (en) Message transceiver
JP3388852B2 (en) Multiplex transmission equipment
JP2853607B2 (en) Communication system between jobs
CN117176667A (en) Method, apparatus, computer apparatus, and storage medium for flow control
JPH0234518B2 (en)
CN117472819A (en) PXIe-based DMA data transmission processing method, system and equipment
CN115714879A (en) Data decoding method, device, equipment and storage medium
JPH04370859A (en) Data transmission/reception system between host and follower devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190315

RJ01 Rejection of invention patent application after publication