CN115441991A - Data transmission method and device, electronic equipment and computer storage medium - Google Patents

Data transmission method and device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN115441991A
CN115441991A CN202211031802.XA CN202211031802A CN115441991A CN 115441991 A CN115441991 A CN 115441991A CN 202211031802 A CN202211031802 A CN 202211031802A CN 115441991 A CN115441991 A CN 115441991A
Authority
CN
China
Prior art keywords
data
slave devices
slave
bits
received
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.)
Granted
Application number
CN202211031802.XA
Other languages
Chinese (zh)
Other versions
CN115441991B (en
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.)
Wuhan Silicon Integrated Co Ltd
Original Assignee
Wuhan Silicon Integrated Co 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 Wuhan Silicon Integrated Co Ltd filed Critical Wuhan Silicon Integrated Co Ltd
Priority to CN202211031802.XA priority Critical patent/CN115441991B/en
Publication of CN115441991A publication Critical patent/CN115441991A/en
Application granted granted Critical
Publication of CN115441991B publication Critical patent/CN115441991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0071Use of interleaving
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the application discloses a data transmission method, a data transmission device, electronic equipment and a computer storage medium, wherein the method is applied to the field of chip communication and comprises the following steps: determining target sending data of a master device and a plurality of corresponding slave devices; wherein the target transmission data comprises a plurality of data fields, each data field comprising at least one bit of data of each of the plurality of slave devices; and transmitting the target sending data to the plurality of slave devices through a bus. In this way, each data field in the target transmission data comprises at least one bit of data of each of the plurality of slaves, so that the problem of low real-time responsiveness when the plurality of slaves communicate with the master can be solved.

Description

Data transmission method and device, electronic equipment and computer storage medium
Technical Field
The present application relates to the field of chip communication technologies, and in particular, to a data transmission method and apparatus, an electronic device, and a computer storage medium.
Background
In a communication scene of a next master multi-slave chip under a single bus architecture, different device addresses are allocated mostly at present, and a master device accesses a plurality of slave devices through a bus in sequence, so that data transmission also exists in sequence, and the real-time responsiveness of the slave devices is not high.
In the related art, when the problem of real-time performance is considered, a common solution is to add a means of competitive arbitration to the master device, but this method will cause that when a plurality of slave devices need to communicate with the master device at the same time, the master device will communicate strictly according to the priority of each slave device, and there is still a problem that the communication timeliness is not high.
Disclosure of Invention
The application provides a data transmission method, a data transmission device, electronic equipment and a computer storage medium, which can improve timeliness when a plurality of slave devices communicate with a master device.
The technical scheme of the application is realized as follows:
in a first aspect, the present application provides a data transmission method, where the method includes:
determining target sending data of a master device and a plurality of corresponding slave devices; wherein the target transmission data comprises a plurality of data fields, each data field comprising at least one bit of data of each of the plurality of slave devices;
and transmitting the target sending data to the plurality of slave devices through a bus.
In some embodiments, the determining target transmission data of the master device includes:
determining data to be received of each of the plurality of slave devices; the data to be received of each slave device comprises a plurality of bits of data;
and performing interleaving coding processing on the data to be received of each of the plurality of slave devices according to a preset mode, and determining target sending data of the master device.
In some embodiments, the performing, in a preset manner, interleaving and encoding processing on data to be received by each of the plurality of slave devices includes:
determining the continuous bit number of the data to be received of each slave device when the interleaving coding processing is carried out;
and carrying out interleaving coding processing on the data to be received of each slave device according to the continuous bit number.
In some embodiments, the plurality of slave devices comprises N slave devices, each data field comprises N bits of data, N and N are integers greater than 1;
correspondingly, the interleaving and coding the data to be received of each of the plurality of slave devices according to the continuous bit number includes:
and when N is equal to N, when the interleaving coding processing is carried out on the data to be received of each of the plurality of slave devices according to the continuous bit number, sequentially writing each N bits in the processed data into one data field.
In some embodiments, the interleaving and coding the data to be received of each of the plurality of slave devices according to the continuous number of bits includes:
when N is less than N, when interleaving and coding the data to be received of each of the plurality of slave devices according to the continuous bit number, if the sum of the continuous bit numbers acquired from the plurality of slave devices each time is less than or equal to N/2 bits, writing the continuous bit number acquired from the plurality of slave devices into one data field at least twice;
writing the number of consecutive bits obtained from the plurality of slave devices one at a time into one of the data fields if the sum of the number of consecutive bits obtained from the plurality of slave devices each time is greater than N/2 bits and less than or equal to N bits.
In some embodiments, the method further comprises:
if the sum of the continuous bit digits obtained from the plurality of slave devices each time is larger than N/2 bits and smaller than N bits, determining that a preset number of blank data bits are reserved in the data field;
wherein the preset number is obtained by calculating a difference value between the N bits and the sum of the continuous bit numbers obtained from the plurality of slave devices each time.
In some embodiments, the interleaving and coding the data to be received of each of the plurality of slave devices according to the continuous number of bits includes:
sequentially acquiring the continuous bit numbers of the plurality of slave devices from the first bit of the data to be received of each slave device in the sequence from the first slave device to the nth slave device as the continuous bit numbers acquired from the plurality of slave devices for the first time;
sequentially acquiring the successive numbers of bits of the plurality of slave devices in order from the nth slave device to the first slave device after acquiring the successive numbers of bits from the plurality of slave devices for the first time as the successive numbers of bits acquired from the plurality of slave devices for the second time;
after the continuous bit number is obtained from the plurality of slave devices for the second time, the steps of sequentially obtaining the continuous bit number of the plurality of slave devices in the order from the first slave device to the nth slave device and sequentially obtaining the continuous bit number of the plurality of slave devices in the order from the nth slave device to the first slave device are repeatedly executed, so that the interleaving and coding processing of the data to be received of each of the plurality of slave devices is realized.
In some embodiments, the method further comprises:
when N is larger than N, grouping the plurality of slave devices according to a preset priority, so that the number of the slave devices included in each group is smaller than or equal to N;
and sequentially carrying out interleaving coding processing on the data to be received of each of the plurality of slave devices included in each group according to the sequence of the preset priority from high to low.
In some embodiments, the bus comprises at least one of: an I2C bus, an SPI bus, and a UART bus.
In a second aspect, an embodiment of the present application provides a data transmission apparatus, where the apparatus includes:
the device comprises a determining module, a sending module and a receiving module, wherein the determining module is used for determining target sending data of a master device and a plurality of corresponding slave devices; the target sending data comprises a plurality of data fields, and each data field comprises at least one bit of data of each slave device;
a sending module, configured to send the target sending data to the plurality of slave devices through a bus.
In a third aspect, the present application provides an electronic device, where the device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the data transmission method provided in one or more of the foregoing technical solutions.
In a fourth aspect, the present application provides a computer storage medium having a computer program stored thereon; the computer program can implement the data transmission method provided by one or more of the above technical solutions after being executed.
The embodiment of the application provides a data transmission method, a data transmission device, electronic equipment and a computer storage medium, wherein data and a plurality of corresponding slave devices are sent by determining a target of a master device; the target sending data comprises a plurality of data fields, and each data field comprises at least one bit of data of each slave device; and transmitting the target sending data to the plurality of slave devices through a bus. In this way, in the embodiment of the present application, each data field in the target transmission data includes at least one bit of data of each of the plurality of slave devices, so that when the target transmission data is transmitted to the plurality of slave devices, each of the plurality of slave devices can obtain corresponding valid bit of data from each data field; thus, the timeliness of the communication between the plurality of slave devices and the master device can be improved, and the risk of communication data loss can be reduced.
Drawings
Fig. 1 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a data transmission system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a master device and a slave device under an I2C bus according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of an interleaving encoding process performed under an I2C bus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a master-slave device under an SPI bus according to an embodiment of the present application;
fig. 6 is a schematic flowchart of an interleaving encoding process performed under an SPI bus according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a structure of a master-slave device under a UART bus according to an embodiment of the present disclosure;
fig. 8 is a schematic flowchart illustrating an interleaving encoding process performed under a UART bus according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are illustrative of the relevant application and are not limiting of the application. It should be noted that, for the convenience of description, only the parts related to the related applications are shown in the drawings.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
It should be noted that the terms "first \ second \ third" referred to in the embodiments of the present application are only used for distinguishing similar objects and do not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may be interchanged under the permission of a specific order or sequence, so that the embodiments of the present application described herein can be implemented in an order other than that shown or described herein.
In some embodiments of the present Application, the data transmission method may be implemented by using a Processor in the data transmission Device, and the Processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In an embodiment of the present application, referring to fig. 1, a flowchart of a data transmission method provided in an embodiment of the present application is shown. As shown in fig. 1, the process may include the following steps:
step 101, determining target sending data of a master device and a plurality of corresponding slave devices; the target transmission data comprises a plurality of data fields, and each data field comprises at least one bit of data of each slave device.
In the embodiment of the present application, the data transmission method may be applied to a data transmission system, where the system includes a master device and a plurality of slave devices. For the target transmission data of the master device, the target slave devices corresponding to the current target transmission data, that is, the multiple slave devices according to the embodiment of the present application, may be determined from the large number of slave devices. In this way, for the plurality of slave devices, the plurality of slave devices are all connected to the master device through the same bus, that is, the master device can perform data communication with each slave device through the bus; specifically, referring to fig. 2, a schematic structural diagram of a data transmission system provided in the embodiment of the present application is shown. As shown in fig. 2, the master device performs data communication with four slave devices (slave device 0 to slave device 3 in the corresponding drawing) via a bus.
It should be noted that the master device has a control right of the bus, and after determining the target transmission data of the master device and the corresponding plurality of slave devices, the target transmission data of the master device may be transmitted to each of the plurality of slave devices through the bus.
Illustratively, the master device may be a processor chip such as a CPU or a Micro Controller Unit (MCU); the slave equipment can be data acquisition equipment or digital-to-analog conversion output equipment and the like; the bus may include at least one of: an Integrated Circuit (I2C) bus, a Serial Peripheral Interface (SPI) bus, and a Universal Asynchronous Receiver/Transmitter (UART) bus; but is not limited thereto.
In some embodiments, determining the target transmission data of the master device may include: determining data to be received of each of a plurality of slave devices; and carrying out interleaving coding processing on the data to be received of each of the plurality of slave devices according to a preset mode, and determining target sending data of the master device.
For example, the data to be received of each slave device may be obtained according to the control instruction, the acquisition instruction, the setting instruction, or other relevant data generated by the master device itself, or may be obtained according to the data forwarded to the master device by other devices; the embodiments of the present application do not limit this.
In the embodiment of the present application, the data to be received of each slave device may include a plurality of bits of data; here, the number of bits of bit data included in the data to be received of each slave device is not limited; it should be noted that, for different slave devices, the number of bits of the bit data included in the data to be received may be the same or different.
Further, after determining respective data to be received of the multiple slave devices, the data to be received of the multiple slave devices may be encoded according to a preset manner, and the encoded data may be determined as target transmission data of the master device. The present embodiment does not limit the type of the encoding method, and may be, for example, an interleaving encoding method or another type of encoding method; the interleaving encoding method is further explained as an example.
In some embodiments, performing interleaving encoding processing on data to be received of each of the plurality of slave devices according to a preset manner may include: determining the continuous bit number of the data to be received of each slave device when the interleaving coding processing is carried out; and carrying out interleaving coding processing on the data to be received of each of the plurality of slave devices according to the continuous bit number.
Here, the continuous bit number represents the bit number at the time of performing interleave coding processing on respective data to be received of a plurality of slave devices; for example, the value of the number of consecutive bits may refer to the number of the slave devices, which is not limited in the embodiment of the present application; for example, in the case where the number of slave devices is 4, the number of consecutive bits may be 4 or 8, and so on.
It can be understood that, in the case that the number of the slave devices is 4, if the value of the number of consecutive bits is 8, it indicates that two bits in the data to be received of each of the plurality of slave devices need to be interleaved and coded each time; if the number of slave devices is 4, if the value of the number of consecutive bits is 4, it means that it is necessary to perform interleaving encoding processing on one bit in the data to be received of each of the plurality of slave devices every time.
Step 102, transmitting the target transmission data to a plurality of slave devices through the bus.
In the embodiment of the application, after the target sending data of the master device is obtained according to the above steps, the target sending data of the master device can be sent to the plurality of slave devices through the bus, so that the cooperative control of each slave device is realized.
Illustratively, each data field in the target transmission data comprises at least one bit of data of each of the plurality of slave devices; therefore, after each slave device receives the target sending data of the master device, the effective bit data can be obtained from each data field, and the respective data to be received of each slave device can be obtained by combining the effective bit data; subsequently, further operations may be performed on the respective data to be received of each slave device, for example, the data to be received may be processed and then output.
As can be appreciated, since each of the plurality of slave devices can receive respective valid data from each of the data fields included in the target transmission data, the time interval for each slave device to acquire data can be reduced; further, since the bus distance between each slave device and the master device has a small influence on the timeliness of obtaining valid data, if this influence is ignored, the embodiments of the present application can ensure the timeliness when a plurality of slave devices communicate with the master device, so that each slave device can receive respective data to be received at the same time, and the master device can synchronously control a plurality of slave devices while reducing the risk of communication data loss.
An embodiment of the present application provides a data transmission method, including: determining target sending data of a master device and a plurality of corresponding slave devices; the target sending data comprises a plurality of data fields, and each data field comprises at least one bit of data of each of a plurality of slave devices; the target transmit data is transmitted to the plurality of slave devices over the bus. It can be seen that, in the embodiment of the present application, each data field in the target transmission data includes at least one bit of data of each of the multiple slave devices, so that when the target transmission data is transmitted to the multiple slave devices, each of the multiple slave devices can obtain corresponding valid bit of data from each data field; thus, the timeliness of the communication between the plurality of slave devices and the master device can be improved, and the risk of communication data loss can be reduced.
In another embodiment of the present application, based on the data transmission method described in the foregoing embodiments, a plurality of slave devices (e.g., N slave devices) may be set here, each data field includes N bits of data, and N are both integers greater than 1. The process of the interleaving encoding process will be exemplarily described below for three different cases, N is equal to N, N is less than N, and N is greater than N.
In some embodiments, performing an interleaving encoding process on data to be received of each of the plurality of slave devices according to a continuous bit number may include: when N is equal to N, when interleaving coding processing is carried out on the data to be received of each of the plurality of slave devices according to the number of continuous bits, each N bits in the processed data are written into a data field in sequence.
It should be noted that N is equal to N, i.e. the number of the slave devices is equal to the number of bits of data included in each data field; illustratively, assuming that the number of the plurality of slave devices is 8, accordingly, each data field includes 8 bits of data, each bit of data included in the data field is obtained from respective data to be received of the 8 slave devices, specifically, the first bit of data in the data field is obtained from the data to be received of the 1 st slave device, the second bit of data is obtained from the data to be received of the 2 nd slave device, and so on; it can be seen that in the present case, each data field comprises a respective one-bit data of a plurality of slave devices. At this time, when interleaving and encoding the data to be received of each of the plurality of slave devices according to the number of consecutive bits, one data field may be sequentially written into each 8 bits of the processed data.
In some embodiments, performing an interleaving encoding process on data to be received of each of the plurality of slave devices according to a continuous bit number may include: sequentially acquiring the continuous bit number of the plurality of slave devices from the first bit of the data to be received of each slave device in the sequence from the first slave device to the nth slave device as the continuous bit number acquired from the plurality of slave devices for the first time; after acquiring continuous bit numbers from the plurality of slave devices for the first time, sequentially acquiring the continuous bit numbers of the plurality of slave devices in the order from the nth slave device to the first slave device as continuous bit numbers acquired from the plurality of slave devices for the second time; after acquiring the continuous bit number from the plurality of slave devices for the second time, the steps of sequentially acquiring the continuous bit numbers of the plurality of slave devices in the order from the first slave device to the nth slave device and sequentially acquiring the continuous bit numbers of the plurality of slave devices in the order from the nth slave device to the first slave device are repeatedly executed, so that the interleaving and coding processing of the data to be received of each of the plurality of slave devices is realized.
It is to be understood that, in the case where N is equal to N, in order to ensure that each data field includes at least one bit of data of each of the plurality of slave devices, one bit of data of the data to be received of each of the plurality of slave devices may be interleaved and coded at a time.
It should be noted that, when N is equal to N, interleaving and coding may be performed on the respective data to be received of the multiple slave devices according to the number of non-consecutive bits; for example, after acquiring the first bit of the multiple slave devices from the multiple slave devices for the first time, acquiring the third bit of the multiple slave devices, and so on, after the odd-numbered bits of the multiple slave devices are acquired, acquiring the second bit and the fourth bit of the multiple slave devices, and so on, until the interleaving encoding processing of the respective data to be received of the multiple slave devices is completed; and then sequentially writing each 8-bit in the processed data into a data field. It is understood that the 1 st bit data of each slave device is included in the first data field; the 3 rd bit data of each slave device is included in the second data field.
In some embodiments, performing an interleaving encoding process on data to be received of each of the plurality of slave devices according to a continuous bit number may include: when N is less than N, when interleaving coding processing is carried out on the respective data to be received of the plurality of slave devices according to the continuous bit number, if the sum of the continuous bit numbers obtained from the plurality of slave devices each time is less than or equal to N/2 bit, the continuous bit numbers obtained from the plurality of slave devices at least twice are written into one data field; if the sum of the continuous bit number obtained from the plurality of slave devices at a time is greater than N/2 bits and less than or equal to N bits, writing the continuous bit number obtained from the plurality of slave devices at a time into one data field.
It should be further noted that N is smaller than N, which means that the number of the slave devices is smaller than the number of bits of data bits included in each data field; in this case, when interleaving and encoding data to be received of each of the plurality of slave devices according to the number of consecutive bits, it is necessary to further determine whether the sum of the number of consecutive bits acquired from the plurality of slave devices each time is greater than N/2 bits; if not, writing the continuous bit number obtained from the plurality of slave devices at least twice into a data field; otherwise, if yes, the number of consecutive bits obtained from the plurality of slave devices at a time is written into one data field. If the above determination is negative, the number of consecutive bits acquired from a plurality of slave devices at a time may be written into one data field.
Illustratively, the number of the plurality of slave devices is 2, and each data field includes 8-bit data. Firstly, whether the sum of the continuous bit numbers obtained from a plurality of slave devices each time is more than 4 bits needs to be judged, if not, the continuous bit numbers obtained from the plurality of slave devices at least twice can be written into a data field; therefore, compared with the method that the continuous bit number obtained from a plurality of slave devices each time is written into one data field, a certain storage space rate can be saved; if yes, the number of consecutive bits obtained from a plurality of slave devices at a time is written into one data field.
In some embodiments, the method may further include: if the sum of the continuous bit digits obtained from the plurality of slave devices each time is larger than N/2 bits and smaller than N bits, determining that a preset number of blank data bits are reserved in the data field; the preset number is obtained by calculating the difference value of the N bits and the sum of the continuous bit number obtained from the plurality of slave devices each time.
Illustratively, each data field includes 8-bit data, and if it is determined that the sum of the number of consecutive bits obtained from the plurality of slave devices each time is greater than 4 bits and less than 8 bits, a preset number of blank data bits are reserved in the data field after writing the number of consecutive bits obtained from the plurality of slave devices each time into one data field; here, the preset number is equal to 8 minus the sum of the number of consecutive bits obtained from the plurality of slave devices each time, and assuming that the number of consecutive bits obtained from the plurality of slave devices each time is 6, the preset number takes a value of 8 to 6=2, that is, 2 blank data bits are reserved in the data field.
Exemplarily, when N is smaller than N, interleaving and coding the data to be received of each of the plurality of slave devices according to the number of non-consecutive bits; here, assuming that the number of the plurality of slave devices is 4, at this time, the 1 st and 3 rd bit data of each slave device may be sequentially acquired in the order from the 1 st slave device to the 4 th slave device; sequentially acquiring the 2 nd bit data and the 4 th bit data of each slave device; then, sequentially acquiring the 5 th bit data and the 7 th bit data of each slave device until the interleaving coding processing of the data to be received of each slave device is completed; and then sequentially writing each 8-bit in the processed data into a data field. It is understood that the 1 st and 3 rd bit data of the four slave devices are included in the first data field; the 2 nd and 4 th bit data of the four slaves are included in the second data field.
Illustratively, when N is less than N, the magnitude relationship of N to N/2 may continue to be determined; based on the size relationship, the respective bit data number of the plurality of slave devices included in each data field is further determined.
If N is greater than N/2, each data field may include one bit of data and a plurality of blank data bits of each of the plurality of slave devices, where the number of blank data bits is N-N; for example, assuming that the number of the plurality of slave devices is 6, each data field includes one bit of data and two blank bits of data of the respective plurality of slave devices.
If N is less than N/2, each data field may include at least two bits of data for each of the plurality of slave devices; for example, assuming that the number of the plurality of slave devices is 4, each data field may include two bits of data of each of the plurality of slave devices, or may include one bit of data and four blank bits of data of each of the plurality of slave devices. Assuming that the number of the plurality of slave devices is 2, each data field may include four bits of data of each of the plurality of slave devices, may also include three bits of data and two bits of blank data of each of the plurality of slave devices, may also include two bits of data and four bits of blank data of each of the plurality of slave devices, and so on.
In some embodiments, the method may further include: when N is larger than N, grouping the plurality of slave devices according to a preset priority, so that the number of the slave devices included in each group is smaller than or equal to N; and sequentially carrying out interleaving coding processing on the data to be received of each of the plurality of slave devices included in each group according to the sequence from high to low of the preset priority.
It should be further noted that N is greater than N, which means that the number of the slave devices is greater than the number of bits of data bits included in each data field; in this case, before interleaving and encoding data to be received of each of the plurality of slave devices according to the number of consecutive bits, the plurality of slave devices need to be grouped according to a preset priority to obtain a plurality of groups, where the number of slave devices included in each group is less than or equal to N.
Illustratively, each slave device has a corresponding preset priority; grouping the plurality of slave devices according to a preset priority may include: the method comprises the steps that firstly, a plurality of slave devices are sequenced according to the preset priority of each slave device in the plurality of slave devices, and the sequenced slave devices are grouped according to the set number; here, the value of the set number is less than or equal to N.
Exemplarily, after a plurality of packets are obtained, interleaving and coding the data to be received of each of the plurality of slave devices included in each packet in sequence according to a sequence from high to low of a preset priority; if the number of the slave devices included in a certain packet of the plurality of packets is equal to N, the corresponding interleaving encoding process is similar to the corresponding interleaving encoding process when N is equal to N; similarly, if the number of the plurality of slave devices included in a certain packet of the plurality of packets is less than N, the corresponding interleaving encoding process is similar to the corresponding interleaving encoding process when N is less than N, and details thereof are not repeated here.
In order to further embody the purpose of the present application, the following takes a master device and four slave devices as an example, and further describes the interleaving encoding process under three different types of buses.
Fig. 3 is a schematic structural diagram of a master-slave device under an I2C bus according to an embodiment of the present disclosure, and as shown in fig. 3, the master device is connected to the slave device 0, the slave device 1, the slave device 2, and the slave device 3 through the I2C bus; here, the I2C bus includes a Serial Data line (SDA) and a Serial Clock Line (SCL); SDA is responsible for transferring serial data between devices and SCL is responsible for generating synchronous clock pulses.
Fig. 4 is a schematic flowchart of a process of performing interleaving encoding processing under an I2C bus according to an embodiment of the present application, and as can be seen from fig. 3 and fig. 4, packet _ data0 represents data to be received by slave device 0, packet _ data1 represents data to be received by slave device 1, packet _ data2 represents data to be received by slave device 2, and Packet _ data3 represents data to be received by slave device 3; packet _ data _ new represents data obtained by performing interleaving coding processing on data to be received of each of the four slave devices, namely target sending data; wherein each data field in the target transmission data comprises 8-bit data.
Illustratively, as can be seen from the dashed S-shaped line in the figure, the process of performing the interleaving encoding process under the I2C bus is as follows: sequentially acquiring first bits of the four slave devices from the first bit of the Packet _ data0 in the sequence from the slave device 0 to the slave device 3 as the number of continuous bits acquired from the four slave devices for the first time; after acquiring the number of continuous bits from the four slave devices for the first time, sequentially acquiring second bits of the four slave devices in the order from the slave device 3 to the slave device 0 as the number of continuous bits acquired from the four slave devices for the second time; and the like until the number of continuous bits obtained from the four slave devices at the Nth time is obtained.
It can be seen that the sum of the number of consecutive bits obtained from four slave devices at a time is 4; since each data field in the target transmission data includes 8-bit data, the number of consecutive bits obtained from four slave devices every two times can be written into one data field; as shown, the first data field includes the consecutive number of bits (1,1,1,1) obtained from four slave devices for the first time and the consecutive number of bits (2,2,2,2) obtained from four slave devices for the second time; further, by sequentially putting the content in each Data field included in the target sending Data into the Data frame Data in the I2C bus transmission protocol, the real-time communication between the master device and the plurality of slave devices under the I2C bus can be realized.
Fig. 5 is a schematic structural diagram of a master-slave device under an SPI bus according to an embodiment of the present application, and as shown in fig. 5, the master device is connected to the slave device 0, the slave device 1, the slave device 2, and the slave device 3 through the SPI bus; here, the SPI bus includes four signal lines, respectively, a slice Select line (CS), a serial data input line (SDI), a serial data output line (SDO), and a Serial Clock Line (SCLK).
Fig. 6 is a schematic flow diagram of an interleaving encoding process performed under an SPI bus according to an embodiment of the present application, and as can be seen from fig. 5 and 6, packet _ data0 represents data to be received by slave device 0, packet _ data1 represents data to be received by slave device 1, packet _ data2 represents data to be received by slave device 2, and Packet _ data3 represents data to be received by slave device 3; packet _ data _ new represents data obtained by performing interleaving coding processing on the data to be received of each of the four slave devices, namely target transmission data; wherein each data field in the target transmission data comprises 8-bit data.
For example, as can be seen from the S-shaped dashed line in the figure, the process of performing the interleaving encoding processing under the SPI bus is similar to the process of performing the interleaving encoding processing under the I2C bus, and is not described again here. It can be seen that, by sequentially placing the content in each Data field included in the target transmission Data into the Data frame Data in the SPI bus transmission protocol, real-time communication between the master device and the plurality of slave devices under the SPI bus can be achieved.
Fig. 7 is a schematic structural diagram of a master-slave device under a UART bus according to an embodiment of the present application, and as shown in fig. 7, the master device is connected to the slave device 0, the slave device 1, the slave device 2, and the slave device 3 through SPI buses; here, the UART bus is a general serial asynchronous communication bus having two data lines, a transmission line TX _ WIRE and a reception line RX _ WIRE, respectively, and can implement full-duplex transmission and reception.
Fig. 8 is a schematic flowchart of a process of performing interleaving encoding processing under a UART bus according to an embodiment of the present application, and as can be seen from fig. 7 and 8, packet _ data0 represents data to be received by slave device 0, packet _ data1 represents data to be received by slave device 1, packet _ data2 represents data to be received by slave device 2, and Packet _ data3 represents data to be received by slave device 3; packet _ data _ new represents data obtained by performing interleaving coding processing on data to be received of each of the four slave devices, namely target sending data; wherein each data field in the target transmission data comprises 8-bit data.
For example, as can be seen from the S-shaped dashed line in the figure, the process of performing the interleaving encoding process under the UART bus is similar to the process of performing the interleaving encoding process under the I2C bus, and is not described herein again. It can be seen that, by sequentially putting the content in each Data field included in the target sending Data into the Data frame Data in the UART bus transmission protocol, the real-time communication between the master device and the plurality of slave devices under the UART bus can be realized.
In the embodiment of the present application, the above interleaving encoding processing manners for three different types of buses are only used as part of examples in the embodiment of the present application; the embodiment of the application can also realize interleaving coding processing under other types of buses, namely, the data packets of various bus transmission protocols are coded in an interleaving mode, so that the low time delay of a data channel can be improved, the timeliness of communication between a plurality of slave devices and the master device can be ensured, and the risk of communication data loss is reduced.
In another embodiment of the present application, refer to fig. 9, which illustrates a schematic structural diagram of a data transmission device provided in the embodiment of the present application. As shown in fig. 9, the data transmission device 90 includes: a determining module 201 and a sending module 202, wherein:
a determining module 201, configured to determine target sending data of a master device and a plurality of corresponding slave devices; wherein the target transmission data comprises a plurality of data fields, each data field comprising at least one bit of data of each of the plurality of slave devices;
a sending module 202, configured to send the target sending data to the multiple slave devices through a bus.
In some embodiments, referring to fig. 9, the data transmission device 90 further comprises an encoding module 203, wherein:
a determining module 201, configured to determine data to be received of each of the plurality of slave devices; the data to be received of each slave device comprises a plurality of bits of data;
and the encoding module 203 is configured to perform interleaving encoding processing on the data to be received of each of the multiple slave devices according to a preset manner, and determine target sending data of the master device.
In some embodiments, the determining module 201 is further configured to determine a continuous bit number of the data to be received of each slave device when performing the interleaving encoding process;
the encoding module 203 is further configured to perform interleaving encoding processing on the respective data to be received of the multiple slave devices according to the continuous bit number.
In some embodiments, the plurality of slave devices comprises N slave devices, each data field comprises N bits of data, N and N are integers greater than 1;
correspondingly, the encoding module 203 is further configured to, when N is equal to N, sequentially write every N bits of the processed data into one data field when performing interleaving encoding processing on the respective data to be received of the multiple slave devices according to the continuous bit number.
In some embodiments, the encoding module 203 is further configured to:
when N is less than N, when the data to be received of each of the plurality of slave devices is interleaved and coded according to the continuous bit number, if the sum of the continuous bit numbers obtained from the plurality of slave devices each time is less than or equal to N/2 bit, writing the continuous bit number obtained from the plurality of slave devices at least twice into one data field;
writing the number of consecutive bits obtained from the plurality of slave devices one at a time into one of the data fields if the sum of the number of consecutive bits obtained from the plurality of slave devices each time is greater than N/2 bits and less than or equal to N bits.
In some embodiments, the determining module 201 is further configured to:
if the sum of the continuous bit digits obtained from the plurality of slave devices each time is larger than N/2 bits and smaller than N bits, determining that a preset number of blank data bits are reserved in the data field;
wherein the preset number is obtained by calculating a difference value between the N bits and the sum of the continuous bit numbers obtained from the plurality of slave devices each time.
In some embodiments, the encoding module 203 is further configured to:
sequentially acquiring the continuous bit numbers of the plurality of slave devices from the first bit of the data to be received of each slave device in the sequence from the first slave device to the nth slave device as the continuous bit numbers acquired from the plurality of slave devices for the first time;
sequentially acquiring the continuous bit numbers of the plurality of slave devices in the order from the nth slave device to the first slave device after acquiring the continuous bit numbers from the plurality of slave devices for the first time as the continuous bit numbers acquired from the plurality of slave devices for the second time;
after the continuous bit number is obtained from the plurality of slave devices for the second time, the steps of sequentially obtaining the continuous bit number of the plurality of slave devices in the order from the first slave device to the nth slave device and sequentially obtaining the continuous bit number of the plurality of slave devices in the order from the nth slave device to the first slave device are repeatedly executed, so that the interleaving and coding processing of the data to be received of each of the plurality of slave devices is realized.
In some embodiments, referring to fig. 9, the data transmission apparatus 90 further includes a grouping module 204, configured to group the plurality of slave devices according to a preset priority when N is greater than N, so that the number of slave devices included in each group is less than or equal to N;
the encoding module 203 is further configured to perform interleaving encoding processing on the data to be received of each of the plurality of slave devices included in each group in sequence according to the preset priority from high to low.
In some embodiments, the bus comprises at least one of: an I2C bus, an SPI bus, and a UART bus.
In practical applications, the determining module 201, the sending module 202, the encoding module 203, and the grouping module 204 may be implemented by a processor located in an electronic device, and the processor may be at least one of an ASIC, a DSP, a DSPD, a PLD, an FPGA, a CPU, a controller, a microcontroller, and a microprocessor.
In addition, each functional module in this embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the related art, or all or part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Specifically, the computer program instructions corresponding to a data transmission method in the present embodiment may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the computer program instructions corresponding to a data transmission method in the storage medium are read or executed by an electronic device, any one of the data transmission methods of the foregoing embodiments is implemented.
Based on the same technical concept of the foregoing embodiment, referring to fig. 10, it shows an electronic device 300 provided in an embodiment of the present application, which may include: a memory 301 and a processor 302; wherein the content of the first and second substances,
a memory 301 for storing computer programs and data;
a processor 302 for executing the computer program stored in the memory to implement any one of the data transmission methods of the previous embodiments.
In practical applications, the memory 301 may be a volatile memory (RAM); or a non-volatile memory (non-volatile memory) such as a ROM, a flash memory (flash memory), a Hard Disk (HDD), or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the processor 302.
The processor 302 may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor. It is understood that the electronic devices for implementing the above-mentioned processor functions may be other electronic devices for different data transmission systems, and the embodiments of the present application are not particularly limited.
In some embodiments, functions of or modules included in the apparatus provided in the embodiment of the present application may be used to execute the method described in the foregoing method embodiment, and for specific implementation, reference may be made to the description of the foregoing method embodiment, and for brevity, details are not described here again.
The foregoing description of the various embodiments is intended to highlight different aspects of the various embodiments that are the same or similar, which can be referenced with one another and therefore are not repeated herein for brevity.
The methods disclosed in the method embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in various product embodiments provided by the application can be combined arbitrarily to obtain new product embodiments without conflict.
The features disclosed in the various method or apparatus embodiments provided herein may be combined in any combination to arrive at new method or apparatus embodiments without conflict.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (12)

1. A method of data transmission, the method comprising:
determining target sending data of a master device and a plurality of corresponding slave devices; wherein the target transmission data comprises a plurality of data fields, each data field comprising at least one bit of data of each of the plurality of slave devices;
and transmitting the target sending data to the plurality of slave devices through a bus.
2. The data transmission method according to claim 1, wherein the determining the target transmission data of the master device comprises:
determining data to be received of each of the plurality of slave devices; the data to be received of each slave device comprises a plurality of bits of data;
and performing interleaving coding processing on the data to be received of each of the plurality of slave devices according to a preset mode, and determining target sending data of the master device.
3. The data transmission method according to claim 2, wherein the interleaving and coding the data to be received of each of the plurality of slave devices according to the preset manner includes:
determining the continuous bit number of the data to be received of each slave device when the interleaving coding processing is carried out;
and carrying out interleaving coding processing on the data to be received of each of the plurality of slave devices according to the continuous bit number.
4. The data transmission method according to claim 3, wherein the plurality of slave devices comprises N slave devices, each data field comprises N bits of data, and N are integers greater than 1;
correspondingly, the interleaving and coding the data to be received of each of the plurality of slave devices according to the continuous bit number includes:
and when N is equal to N, when the interleaving coding processing is carried out on the data to be received of each of the plurality of slave devices according to the continuous bit number, sequentially writing every N bits in the processed data into one data field.
5. The data transmission method according to claim 4, wherein the performing of the interleaving encoding process on the data to be received of each of the plurality of slave devices according to the number of consecutive bits comprises:
when N is less than N, when interleaving and coding the data to be received of each of the plurality of slave devices according to the continuous bit number, if the sum of the continuous bit numbers acquired from the plurality of slave devices each time is less than or equal to N/2 bits, writing the continuous bit number acquired from the plurality of slave devices into one data field at least twice;
writing the number of consecutive bits obtained from the plurality of slave devices one at a time into one of the data fields if the sum of the number of consecutive bits obtained from the plurality of slave devices each time is greater than N/2 bits and less than or equal to N bits.
6. The data transmission method of claim 5, further comprising:
if the sum of the continuous bit digits obtained from the plurality of slave devices each time is larger than N/2 bits and smaller than N bits, determining that a preset number of blank data bits are reserved in the data field;
wherein the preset number is obtained by calculating a difference value between the N bits and the sum of the continuous bit numbers obtained from the plurality of slave devices each time.
7. The data transmission method according to any one of claims 4 to 6, wherein the interleaving and coding the data to be received of each of the plurality of slave devices according to the number of consecutive bits comprises:
sequentially acquiring the continuous bit numbers of the plurality of slave devices from the first bit of the data to be received of each slave device in the sequence from the first slave device to the nth slave device as the continuous bit numbers acquired from the plurality of slave devices for the first time;
sequentially acquiring the successive numbers of bits of the plurality of slave devices in order from the nth slave device to the first slave device after acquiring the successive numbers of bits from the plurality of slave devices for the first time as the successive numbers of bits acquired from the plurality of slave devices for the second time;
after the continuous bit number is obtained from the plurality of slave devices for the second time, the steps of sequentially obtaining the continuous bit number of the plurality of slave devices in the order from the first slave device to the nth slave device and sequentially obtaining the continuous bit number of the plurality of slave devices in the order from the nth slave device to the first slave device are repeatedly executed, so that the interleaving and coding processing of the data to be received of each of the plurality of slave devices is realized.
8. The data transmission method of claim 4, wherein the method further comprises:
when N is larger than N, grouping the plurality of slave devices according to a preset priority, so that the number of the slave devices included in each group is smaller than or equal to N;
and sequentially carrying out interleaving coding processing on the data to be received of each of the plurality of slave devices included in each group according to the sequence of the preset priority from high to low.
9. The data transmission method according to claim 1, wherein the bus comprises at least one of: an I2C bus, an SPI bus, and a UART bus.
10. A data transmission apparatus, characterized in that the apparatus comprises:
the device comprises a determining module, a sending module and a receiving module, wherein the determining module is used for determining target sending data of a master device and a plurality of corresponding slave devices; the target sending data comprises a plurality of data fields, and each data field comprises at least one bit of data of each slave device;
and the sending module is used for sending the target sending data to the plurality of slave devices through a bus.
11. An electronic device, characterized in that the device comprises a memory, a processor and a computer program stored on the memory and executable on the processor, which when executing the program implements the method of any of claims 1 to 9.
12. A computer storage medium on which a computer program is stored, characterized in that the computer program realizes the method of any one of claims 1 to 9 when executed by a processor.
CN202211031802.XA 2022-08-26 2022-08-26 Data transmission method, device, electronic equipment and computer storage medium Active CN115441991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211031802.XA CN115441991B (en) 2022-08-26 2022-08-26 Data transmission method, device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211031802.XA CN115441991B (en) 2022-08-26 2022-08-26 Data transmission method, device, electronic equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN115441991A true CN115441991A (en) 2022-12-06
CN115441991B CN115441991B (en) 2023-08-04

Family

ID=84244304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211031802.XA Active CN115441991B (en) 2022-08-26 2022-08-26 Data transmission method, device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN115441991B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793994A (en) * 1996-01-31 1998-08-11 3Com Corporation Synchronous event posting by a high throughput bus
US20030112250A1 (en) * 2001-12-12 2003-06-19 Wasserman Michael A. Frame buffer organization and reordering
US6647428B1 (en) * 2000-05-05 2003-11-11 Luminous Networks, Inc. Architecture for transport of multiple services in connectionless packet-based communication networks
CN103077123A (en) * 2013-01-15 2013-05-01 华为技术有限公司 Data writing and reading methods and devices
CN103399827A (en) * 2013-07-25 2013-11-20 华为技术有限公司 Storage device and executive system and method of access operations
US20140068125A1 (en) * 2012-08-30 2014-03-06 Lsi Corporation Memory throughput improvement using address interleaving
US20140247834A1 (en) * 2013-03-04 2014-09-04 Blackberry Limited Increased bandwidth encoding scheme
US20140317667A1 (en) * 2013-04-18 2014-10-23 Samsung Electronics Co., Ltd. Apparatus and method for transmitting signal in digital video broadcasting system
US20190171595A1 (en) * 2017-12-05 2019-06-06 Qualcomm Incorporated Bit-interleaved bi-directional transmissions on a multi-drop bus for time-critical data exchange
CN112152641A (en) * 2020-09-28 2020-12-29 Oppo广东移动通信有限公司 Data interleaving method and device and data sending equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793994A (en) * 1996-01-31 1998-08-11 3Com Corporation Synchronous event posting by a high throughput bus
US6647428B1 (en) * 2000-05-05 2003-11-11 Luminous Networks, Inc. Architecture for transport of multiple services in connectionless packet-based communication networks
US20030112250A1 (en) * 2001-12-12 2003-06-19 Wasserman Michael A. Frame buffer organization and reordering
US20140068125A1 (en) * 2012-08-30 2014-03-06 Lsi Corporation Memory throughput improvement using address interleaving
CN103077123A (en) * 2013-01-15 2013-05-01 华为技术有限公司 Data writing and reading methods and devices
US20140247834A1 (en) * 2013-03-04 2014-09-04 Blackberry Limited Increased bandwidth encoding scheme
US20140317667A1 (en) * 2013-04-18 2014-10-23 Samsung Electronics Co., Ltd. Apparatus and method for transmitting signal in digital video broadcasting system
CN103399827A (en) * 2013-07-25 2013-11-20 华为技术有限公司 Storage device and executive system and method of access operations
US20190171595A1 (en) * 2017-12-05 2019-06-06 Qualcomm Incorporated Bit-interleaved bi-directional transmissions on a multi-drop bus for time-critical data exchange
CN112152641A (en) * 2020-09-28 2020-12-29 Oppo广东移动通信有限公司 Data interleaving method and device and data sending equipment

Also Published As

Publication number Publication date
CN115441991B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
RU2597467C2 (en) Method and device for adaptation of reliability of data transmission in serial bus system
US9513988B2 (en) Method and device for increasing the data transmission capacity in a serial bus system
CN106462516A (en) Dynamically adjustable multi-line bus shared by multi-protocol devices
RU2596582C2 (en) Method and device for memory size adapted serial data transfer
EP0798894B1 (en) Management communication bus for networking devices
TWI406135B (en) Data transmission systems and programmable serial peripheral interface controller
US9672910B2 (en) Memory architecture for storing data in a plurality of memory chips
WO2016145401A1 (en) Farewell reset and restart method for coexistence of legacy and next generation devices over a shared multi-mode bus
US20190356412A1 (en) Fast termination of multilane double data rate transactions
US11853252B2 (en) Processing system, related integrated circuit, device and method
US11573919B2 (en) Multi-slave serial communication
WO2005031506A2 (en) System for allocating minimum and maximum bandwidths
CN106533976B (en) data packet processing method and device
US20070282932A1 (en) Bus inverting code generating apparatus and method of generating bus inverting code using the same
CN115441991A (en) Data transmission method and device, electronic equipment and computer storage medium
WO2019067178A1 (en) Serial bus width expansion on a dynamic basis
KR20170117326A (en) Direct memory access control device for at least one processing unit having a random access memory
WO2012149775A1 (en) Data processing method and device
CN201918981U (en) Dual-phase harvard code bus signal coding-decoding circuit
CN110505038B (en) Data transmission method and related device
CN116980362B (en) Multitasking method and device for SPI architecture
CN113177013B (en) Baud rate-based serial communication method and multi-serial chip
CN112688906B (en) Auto-negotiation method and device
KR20160100363A (en) CCIe RECEIVER LOGIC REGISTER WRITE ONLY WITH RECEIVER CLOCK
CN117389919A (en) GPIO interface input control device and method and chip

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
GR01 Patent grant
GR01 Patent grant