CN102819512A - Full-duplex communication device based on SPI and method thereof - Google Patents
Full-duplex communication device based on SPI and method thereof Download PDFInfo
- Publication number
- CN102819512A CN102819512A CN2012102159333A CN201210215933A CN102819512A CN 102819512 A CN102819512 A CN 102819512A CN 2012102159333 A CN2012102159333 A CN 2012102159333A CN 201210215933 A CN201210215933 A CN 201210215933A CN 102819512 A CN102819512 A CN 102819512A
- Authority
- CN
- China
- Prior art keywords
- data
- main device
- signal
- crq
- main
- 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
Links
Images
Landscapes
- Communication Control (AREA)
- Bidirectional Digital Transmission (AREA)
Abstract
The invention relates to a full-duplex communication device based on an SPI (serial peripheral interface) and a method thereof. The device comprises a main component, a slave component, a data line used for the mutual communication between the main component and the slave component, a synchronous clock signal line, a slave component selecting signal line and a signal line which is used for requesting the slave component to receive data by the main component and requesting the main component to receive data by the slave component, and the lines are arranged between the main component and the slave component. The communication method comprises the steps that data are sent simultaneously by the main component and the slave component to each other, data are sent from the main component to the slave component, data are sent from the slave component to the main component, and data frames are used for the communication between the main component and the slave component. According to the full-duplex communication device based on the SPI and the method thereof, a full-duplex communication mode is realized, under the condition that the communication rate is invariable, communication efficiency is improved, system response time is improved, and communication data throughput is increased by one time in an ideal condition; and the integrality and the accuracy of respective data frame when data are sent by both of the SPI communication sides at the same time are guaranteed through data verification and the like.
Description
?
Technical field
The present invention relates to a kind of communication device and method thereof, be specifically related to a kind of full-duplex communication devices and methods therefor based on SPI.
Background technology
SPI (Serial Peripheral Interface--Serial Peripheral Interface (SPI)) bus system is a kind of synchronous serial Peripheral Interface, and it can make MCU and various peripherals communicate with exchange message with serial mode.4 lines of the general use of SPI: clock cable (CLK), main frame input/slave output data line MISO, main frame output/slave input data line MOSI and the effective slave selection wire of low level CS; Because SPI only takies four lines on the pin of chip, practiced thrift the pin of chip, simultaneously for saving the space on the layout of PCB; Provide convenience; Simultaneously, data rate is also than comparatively fast, and top speed can reach several Mbps.Use and the fast characteristic of data rate from this being simple and easy to just; This communication protocol that present increasing chip is integrated, SPI communication at present is commonly the half-duplex operation mode, and this communication mode is limited in phase same rate, the data volume of being sent in the unit interval; Can cause a large amount of communication delays like this; Consume the communication resource, cause system response time to reduce, and then have influence on user's use.Even some SPI Communication Realization full-duplex communication, but also have the current control do not have appointment, do not have acknowledgement mechanism to confirm whether to receive shortcomings such as data.
Summary of the invention
To the problems referred to above that present SPI communication exists, technical matters to be solved by this invention provides a kind of high efficiency full-duplex communication device and communication means method thereof based on SPI, realizes with following technical scheme:
A kind of full-duplex communication device based on SPI, comprise main device with from device, and be arranged on main device and signal wire from being used for main device between the device and intercoming mutually from device.
Said signal wire comprises: data line MISO and MOSI, and synchronizing clock signals line CLK selects signal wire CS from device, and the main device request receives the signal wire M_REQ of data from device, and receives data signal line S_REQ from device request main device; Said signal wire M_REQ is controlled by main device, is connected in the I/O mouth of main device and between the down trigger mouth of device, and said signal wire S_REQ is by from device control, is connected in between the down trigger mouth of the I/O mouth of device and main device.
A kind of communication means based on the said device of claim 1, comprise main device and the step, main device of sending data to the other side simultaneously from device to send the step of data from device, from the device to the main device, send step and the main device of data with from the employed Frame of communicating by letter between the device; Said Frame data structure comprises the commencing signal represented by the User Defined special character, be used to represent number of frames, the data length that is used to represent these frame data length, the data content of the cycle counter of current transmission frame number, the integrality that is used to detect data and accuracy proof test value, be used to represent to receive successful acknowledge character ACK.
Concrete, said main device with comprise to the step that the other side sends data simultaneously from device:
(1) after main device and the data that are ready to send separately from device, drags down the level of M_CRQ and S_CRQ signal wire simultaneously, trigger the other side and interrupt;
(2) main device receives from the S_CRQ that device sends and has no progeny, and main device is through synchronizing clock signals line CLK tranmitting data register signal;
(3) main device sends the main device data through MOSI, sends from device data through MISO from device synchronization; When byte send finish after, draw high the level of signal wire S_CRQ from device, main device and handle the byte that receives from device respectively;
(4) if do not send from frame data of device and to finish, the then level of degrade signal line S_CRQ, repeating step (2) and (3) then again;
(5) main device or from device after data send to finish, if in setting-up time, do not receive the other side's ack signal, then resend these frame data; Then waits pending data to send to finish afterwards again through one to delay to the other side when predetermined and reply ack signal if receive the other side's ack signal and be in the data transmit status this moment; If it is overtime to be in the idle and predetermined time delay of data transmission this moment, then need not to wait for, send ack signal immediately.
Concrete, said main device comprises to the step of sending data from device:
When (1) main device need send data to from device, the level triggers of degrade signal line M_CRQ was interrupted from device;
(2) from device is received, have no progeny and at first judge oneself state, if be in the data transmit status at this moment from device, the data of then waiting for current byte are sent and are accomplished; If being in idle condition at this moment from device then prepares to receive data, interrupt from device degrade signal line S_REQ level triggers main device;
(3) main device is received behind the signal of device signal line S_CRQ, through synchronizing clock signals line CLK tranmitting data register signal, sends data to from device through data line MOSI again; From drawing high the level of signal wire S_CRQ after device is received data, if receiving, a frame do not finish, then repeated execution of steps (2) and (3);
(4) receive frame data from device after, verification through the back return ack signal and draw high the S_CRQ signal by data line MISO; Main device receives the level of drawing high M_CRQ behind the ack signal.
Concrete, saidly comprise to the step that main device sends data from device:
(1) when device need send data to main device; At first judge oneself state; As be in the then level triggers main device interruption of degrade signal line S_CRQ of idle condition from device, wait for that then triggering main device again after current byte data reception finishes interrupts if be in data receiving state this moment;
(2) main device passes through synchronizing clock signals line CLK tranmitting data register signal after receiving signal wire S_CRQ signal, sends data to main device from device through data line MISO simultaneously; A byte data is sent to finish and is afterwards drawn high the level of signal wire S_CRQ from device, before frame data do not send and do not finish, and repeated execution of steps (1) and (2);
(3) after main device was received frame data, verification was returned ack signal through the back by data line MOSI;
(4) receive the ack signal that main device returns from device, draw high the level of signal wire S_CRQ; Main device is drawn high the level of signal wire M_CRQ more then.
Further; When the proof test value that receives when main device or from device and the proof test value of internal calculation are inconsistent; Then corresponding main device or do not send ack signal from device, corresponding main device or do not receive that from device ack signal then resends corresponding Frame by the method for above-mentioned correspondence in setting-up time.
Further; Main device is to from device transmission data the time; In setting-up time, do not receive from the signal of device signal line S_CRQ behind the main device degrade signal line M_CRQ level, then main device resends these frame data according to main device to the method for sending data from device.
Further; When from the device to the main device, sending data; Behind device degrade signal line S_CRQ level, in setting-up time, do not receive the CLK clock signal of main device, then resend these frame data by the method for from the device to the main device, sending data from device.
Concrete; The said step that resends corresponding Frame and resend these frame data is: finish the transmission of this secondary data; With these frame data receiving unit deletions, and main device and state from device reset to original state, prepare to resend data.
Preferably, main device is used to add up the error counter that frame data send errors number with being provided with from device, when the numerical value of error counter during greater than preset threshold, then these frame data is abandoned, simultaneously the generation error report information.
In sum; The present invention has following remarkable beneficial effect: the communication mode of full duplex has been realized in (1); Under the constant situation of traffic rate, improve communication efficiency, promoted system response time, the data throughout of communicating by letter under the perfect condition is promoted one times; (2), guarantee the two integrality and the accuracys of Frame separately sent out when sending data simultaneously of SPI communication through the transmitting-receiving of data check and ack signal.
Description of drawings
Fig. 1 be main device with from device communication interface synoptic diagram;
Fig. 2 sends schematic diagram data simultaneously for main device with from device;
Fig. 3 is that main device is to sending schematic diagram data from device;
Fig. 4 is for to send schematic diagram data from device to main device;
Fig. 5 is for the main device of adding fault-tolerant design and from the device communication scheme.
Embodiment
Below will combine accompanying drawing and embodiment that the present invention is explained in further detail for the ease of it will be appreciated by those skilled in the art that.
The present invention has disclosed a kind of full-duplex communication device based on SPI, and is as shown in Figure 1, comprise main device with from device, and be arranged on main device and signal wire from being used for main device between the device and intercoming mutually from device.Said signal wire comprises: data line MISO and MOSI, and synchronizing clock signals line CLK selects signal wire CS from device, and the main device request receives the signal wire M_REQ of data from device, and receives data signal line S_REQ from device request main device.
Signal wire M_REQ is connected in the I/O mouth of main device and between the down trigger mouth of device, by main device control, signal wire S_REQ is connected in between the down trigger mouth of the I/O mouth of device and main device, by controlling from device.
Simultaneously; The present invention has also disclosed a kind of communication means based on said apparatus, comprise main device and the step, main device of sending data to the other side simultaneously from device to send the step of data from device, from the device to the main device, send step and the main device of data with from the employed Frame of communicating by letter between the device; Said Frame data structure comprises the commencing signal represented by the User Defined special character, be used to represent number of frames, the data length that is used to represent these frame data length, the data content of the cycle counter of current transmission frame number, the integrality that is used to detect data and accuracy proof test value, be used to represent to receive successful acknowledge character ACK.
As shown in Figure 2, main device and comprise from the step of sending data to the other side simultaneously between the device:
(1) after main device and the data that are ready to send separately from device, drags down the level of M_CRQ and S_CRQ signal wire simultaneously, trigger the other side and interrupt;
(2) main device receives from the S_CRQ that device sends and has no progeny, and main device is through synchronizing clock signals line CLK tranmitting data register signal;
(3) main device sends the main device data through MOSI, sends from device data through MISO from device synchronization; When byte send finish after, draw high the level of signal wire S_CRQ from device, main device and handle the byte that receives from device respectively;
(4) if do not send from frame data of device and to finish, the then level of degrade signal line S_CRQ, repeating step (2) and (3) then again;
(5) main device or from device after data send to finish, if in setting-up time, do not receive the other side's ack signal, then resend these frame data; If receive the other side's ack signal and be in the data transmit status this moment and reply ack signal through after the predetermined time delay (Tframe_delay) to the other side again after then waiting pending data to send to finish; If it is overtime to be in the idle and predetermined time delay (Tframe_delay) of data transmission this moment, then need not to wait for, send ack signal immediately.
So far, main device with send frame data to the other side simultaneously from device and finish.
Main device as shown in Figure 3 comprises to the step of sending data from device:
When (1) main device need send data to from device, the level triggers of degrade signal line M_CRQ was interrupted from device;
(2) from device is received, have no progeny and at first judge oneself state, if be in the data transmit status at this moment from device, the data of then waiting for current byte are sent and are accomplished; If being in idle condition at this moment from device then prepares to receive data, interrupt from device degrade signal line S_REQ level triggers main device;
(3) main device is received behind the signal of device signal line S_CRQ, through synchronizing clock signals line CLK tranmitting data register signal, sends data to from device through data line MOSI simultaneously; From drawing high the level of signal wire S_CRQ after device is received data, after handling the byte that has received from device, if if a frame does not receive to finish, then repeated execution of steps (2) and (3);
(4) if main device continue to send data (that is to say data are sent finish) in a time cycle, receive these frame data from device this moment after, verification is returned ack signal and is drawn high the S_CRQ signal by data line MISO through the back; Draw high M_CRQ after main device receives ack signal simultaneously.
As shown in Figure 4, the step of from the device to the main device, sending data comprises:
(1) when device need send data to main device; At first judge oneself state; As be in the then level triggers main device interruption of degrade signal line S_CRQ of idle condition from device, wait for that then triggering main device again after current byte data reception finishes interrupts if be in data receiving state this moment;
(2) main device passes through synchronizing clock signals line CLK tranmitting data register signal after receiving the S_CRQ signal, sends data to main device from device through data line MISO simultaneously; A byte data is sent the back that finishes and is drawn high S_CRQ from device, before frame data do not send and finish, and repeated execution of steps (1) and (2);
(3) after main device was received frame data, verification was returned ack signal through the back by data line MOSI;
(4) receive the ack signal that main device returns from device, draw high the level of signal wire S_CRQ; Main device is drawn high the level of signal wire M_CRQ more then.
For guaranteeing the integrality of data in the communication process; When the proof test value that receives when main device or from device and the proof test value of internal calculation are inconsistent; Then corresponding main device or do not send ack signal from device, corresponding main device or do not receive that from device ack signal then resends corresponding Frame according to the method for above-mentioned correspondence in setting-up time.
In order further to guarantee the integrality of data in the communication process, two kinds of situation in addition also need resend these frame data:
Main device is to sending data step from device; In setting-up time, do not receive from the signal of device signal line S_CRQ behind the main device degrade signal line M_CRQ level, then main device then resends these frame data according to main device to the method for sending data from device.
From the device to the main device, send data step, behind device degrade signal line S_CRQ level, in setting-up time, do not receive the CLK clock signal of main device, then resend these frame data by the method for from the device to the main device, sending data.
Present embodiment with main device to send data instance from device; As shown in Figure 5; After main device has sent data; Tbyte_Timeout (send the maximum delay that perhaps receives a byte time delay) does not receive the S_CRQ signal from device in the time, then main device need resend these frame data.
The step that resends corresponding Frame and resend these frame data is: finish the transmission of this secondary data, with the deletion of these frame data receiving unit, and main device and state from device reset to original state, prepare to resend data.
For process frames of data is better sent wrong problem; Main device of the present invention is used to add up the error counter that frame data send errors number with being provided with from device; When the numerical value of error counter during greater than preset threshold; Then these frame data are abandoned, simultaneously the generation error report information.
It is to be noted; No matter main device still will send data from device, all must trigger main frame by the S_CRQ from device earlier and interrupt, then by device output CLK clock signal; And with the sending of data, and the M_CRQ signal of main device only representes that main frame need send data.
The foregoing description need to prove for the preferred version that the present invention realizes, conceives under the prerequisite not breaking away from the present invention, and any conspicuous replacement and subtle change are all within protection scope of the present invention.
Claims (10)
1. full-duplex communication device based on SPI, comprise main device with from device, and be arranged on main device with from being used for main device between the device and, it is characterized in that from the signal wire that device intercoms mutually:
Said signal wire comprises: data line MISO and MOSI, and synchronizing clock signals line CLK selects signal wire CS from device, and the main device request receives the signal wire M_REQ of data from device, and receives data signal line S_REQ from device request main device;
Said signal wire M_REQ is controlled by main device, is connected in the I/O mouth of main device and between the down trigger mouth of device, and said signal wire S_REQ is by from device control, is connected in between the down trigger mouth of the I/O mouth of device and main device.
2. duplex communication method based on SPI is characterized in that: comprise main device and the step, main device of sending data to the other side simultaneously from device to send the step of data from device, from the device to the main device, send step and the main device of data with from the employed Frame of communicating by letter between the device;
Said Frame data structure comprises the proof test value of the commencing signal of the sign that is begun to send as data by the User Defined special character, the number of frames, the data length that is used to represent these frame data length, the data content that are used to represent the cycle counter of current transmission frame number, the integrality that is used to detect data and accuracy and is used to represent to receive successful acknowledge character ACK.
3. the duplex communication method based on SPI according to claim 2 is characterized in that: said main device with comprise to the step that the other side sends data simultaneously from device:
(1) after main device and the data that are ready to send separately from device, drags down the level of M_CRQ and S_CRQ signal wire simultaneously, trigger the other side and interrupt;
(2) main device receives from the S_CRQ that device sends and has no progeny, and main device is through synchronizing clock signals line CLK tranmitting data register signal;
(3) main device sends the main device data through MOSI, sends from device data through MISO from device synchronization; When byte send finish after, draw high the level of signal wire S_CRQ from device, main device and handle the byte that receives from device respectively;
(4) if do not send from frame data of device and to finish, the then level of degrade signal line S_CRQ, repeating step (2) and (3) then again;
(5) main device or from device after data send to finish, if in setting-up time, do not receive the other side's ack signal, then resend these frame data; If receive the other side's ack signal and be in this moment the data transmit status then waits pending data to send to finish afterwards again through a setting the time delay to the other side and reply ack signal; If the time delay that is in the data transmission free time and sets is overtime this moment, then need not to wait for, send ack signal immediately.
4. the duplex communication method based on SPI according to claim 2 is characterized in that: said main device comprises to the step of sending data from device:
When (1) main device need send data to from device, the level triggers of degrade signal line M_CRQ was interrupted from device;
(2) from device is received, have no progeny and at first judge oneself state, if be in the data transmit status at this moment from device, the data of then waiting for current byte are sent and are accomplished; If being in idle condition at this moment from device then prepares to receive data, interrupt from device degrade signal line S_REQ level triggers main device;
(3) main device is received behind the signal of device signal line S_CRQ, through synchronizing clock signals line CLK tranmitting data register signal, sends data to from device through data line MOSI again; From drawing high the level of signal wire S_CRQ after device is received data, if receiving, a frame do not finish, then repeated execution of steps (2) and (3);
(4) receive frame data from device after, verification through the back return ack signal and draw high the S_CRQ signal by data line MISO; Main device receives the level of drawing high M_CRQ behind the ack signal.
5. the duplex communication method based on SPI according to claim 2 is characterized in that: saidly comprise to the step that main device sends data from device:
(1) when device need send data to main device; At first judge oneself state; As be in the then level triggers main device interruption of degrade signal line S_CRQ of idle condition from device, wait for that then triggering main device again after current byte data reception finishes interrupts if be in data receiving state this moment;
(2) main device passes through synchronizing clock signals line CLK tranmitting data register signal after receiving signal wire S_CRQ signal, sends data to main device from device through data line MISO simultaneously; A byte data is sent to finish and is afterwards drawn high the level of signal wire S_CRQ from device, before frame data do not send and do not finish, and repeated execution of steps (1) and (2);
(3) after main device was received frame data, verification was returned ack signal through the back by data line MOSI;
(4) receive the ack signal that main device returns from device, draw high the level of signal wire S_CRQ; Main device is drawn high the level of signal wire M_CRQ more then.
6. according to the described duplex communication method of claim 3-5 based on SPI; It is characterized in that: when the proof test value that receives when main device or from device and the proof test value of internal calculation are inconsistent; Then corresponding main device or do not send ack signal from device, corresponding main device or do not receive that from device ack signal then resends corresponding Frame according to method corresponding described in the claim 3-5 in setting-up time.
7. the duplex communication method based on SPI according to claim 4; It is characterized in that: in setting-up time, do not receive from the signal of device signal line S_CRQ behind the main device degrade signal line M_CRQ level, then main device then resends these frame data according to method described in the claim 4.
8. the duplex communication method based on SPI according to claim 5; It is characterized in that: behind the level of device degrade signal line S_CRQ; In setting-up time, do not receive the CLK clock signal of main device, then resend these frame data according to method described in the claim 5.
9. according to the described duplex communication method based on SPI of claim 6-8, it is characterized in that: the said step that resends corresponding Frame and resend these frame data is:
Finish the transmission of this secondary data,, and main device and state from device reset to original state, prepare to resend data these frame data receiving unit deletions.
10. the duplex communication method based on SPI according to claim 9; It is characterized in that: main device is used to add up the error counter that frame data send errors number with being provided with from device; When the numerical value of error counter during greater than preset threshold; Then these frame data are abandoned, simultaneously the generation error report information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210215933.3A CN102819512B (en) | 2012-06-28 | 2012-06-28 | A kind of full-duplex communication device based on SPI and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210215933.3A CN102819512B (en) | 2012-06-28 | 2012-06-28 | A kind of full-duplex communication device based on SPI and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102819512A true CN102819512A (en) | 2012-12-12 |
CN102819512B CN102819512B (en) | 2015-11-18 |
Family
ID=47303630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210215933.3A Active CN102819512B (en) | 2012-06-28 | 2012-06-28 | A kind of full-duplex communication device based on SPI and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102819512B (en) |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103206308A (en) * | 2013-04-18 | 2013-07-17 | 东风汽车公司 | Method for safety monitoring system of gasoline ECU (engine control unit) |
CN103744825A (en) * | 2013-12-31 | 2014-04-23 | 北京中宇新泰科技发展有限公司 | Bidirectional real-time communication method of extendable and compatible SPI (Serial Peripheral Interface) |
CN103744814A (en) * | 2014-01-06 | 2014-04-23 | 深圳市芯海科技有限公司 | High speed communication method by two lines |
CN105260260A (en) * | 2015-09-21 | 2016-01-20 | 上海斐讯数据通信技术有限公司 | SPI data transmission device with data check function and data check method |
CN105308585A (en) * | 2013-06-05 | 2016-02-03 | 大陆-特韦斯贸易合伙股份公司及两合公司 | Method for communicating data, communication controller and circuit arrangement |
WO2016046361A1 (en) * | 2014-09-26 | 2016-03-31 | Valeo Systemes Thermiques | Transmission of synchronous data via a serial data bus, in particular a spi bus |
CN107122282A (en) * | 2017-03-28 | 2017-09-01 | 中国第汽车股份有限公司 | A kind of Functional Safety Communication method based on spi bus |
CN108055186A (en) * | 2018-01-30 | 2018-05-18 | 浙江鸿泉车联网有限公司 | A kind of principal and subordinate processor communication means and device |
CN109902046A (en) * | 2019-02-01 | 2019-06-18 | 福瑞泰克智能系统有限公司 | A kind of communication means, relevant device and system for Serial Peripheral bus system |
CN110334046A (en) * | 2019-07-11 | 2019-10-15 | 南方电网科学研究院有限责任公司 | SPI full-duplex communication method, device and system |
CN110765058A (en) * | 2019-09-12 | 2020-02-07 | 深圳震有科技股份有限公司 | Method, system, equipment and medium for realizing SPI slave function by GPIO |
CN110955625A (en) * | 2019-11-22 | 2020-04-03 | 上海麦腾物联网技术有限公司 | Full-duplex real-time communication method and device based on SPI |
CN111130710A (en) * | 2019-12-10 | 2020-05-08 | 常州新途软件有限公司 | SPI-based duplex communication method |
CN111966623A (en) * | 2020-07-14 | 2020-11-20 | 西安爱生无人机技术有限公司 | Method for real-time full-duplex reliable communication between MCU and multiple FPGAs by using SPI |
CN112100100A (en) * | 2020-08-26 | 2020-12-18 | 广州华欣电子科技有限公司 | SPI communication method and SPI equipment |
CN112506838A (en) * | 2021-02-03 | 2021-03-16 | 青岛鼎信通讯股份有限公司 | SPI clock synchronization method applied to IR46 electric meter calibrating device |
CN112822002A (en) * | 2021-01-04 | 2021-05-18 | 北京地平线信息技术有限公司 | SPI (Serial peripheral interface) -based communication method and device, electronic equipment and storage medium |
CN113079073A (en) * | 2020-01-06 | 2021-07-06 | 广州汽车集团股份有限公司 | Full-duplex communication device based on SPI and communication method thereof |
CN113176751A (en) * | 2021-04-28 | 2021-07-27 | 青岛歌尔智能传感器有限公司 | Data transmission method, device and computer readable storage medium |
WO2022017102A1 (en) * | 2020-07-20 | 2022-01-27 | 广州汽车集团股份有限公司 | Arbitration line-based full-duplex spi communication method |
CN114116559A (en) * | 2022-01-20 | 2022-03-01 | 浙江中控技术股份有限公司 | High-speed bus method suitable for PLC application |
CN114338260A (en) * | 2020-09-28 | 2022-04-12 | 宝能汽车集团有限公司 | Display control system and method of vehicle digital instrument and vehicle |
CN115118409A (en) * | 2022-06-24 | 2022-09-27 | 重庆长安新能源汽车科技有限公司 | SPI communication method |
CN115941382A (en) * | 2022-11-10 | 2023-04-07 | 星河智联汽车科技有限公司 | Flow control method and device for SPI communication, terminal equipment and storage medium |
CN116795744A (en) * | 2023-08-15 | 2023-09-22 | 三峡智控科技有限公司 | LS2K1000LA and MCU communication control method |
CN118535510A (en) * | 2024-04-28 | 2024-08-23 | 重庆赛力斯凤凰智创科技有限公司 | Data transmission method, device, vehicle-mounted terminal and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990312B (en) * | 2019-11-11 | 2021-01-22 | 无锡量子感知研究所 | Chip-level data communication method for detection while drilling |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060143348A1 (en) * | 2004-12-29 | 2006-06-29 | Wilson Matthew T | System, method, and apparatus for extended serial peripheral interface |
CN1851682A (en) * | 2006-03-28 | 2006-10-25 | 华为技术有限公司 | Method for realizing serial peripheral unit interface |
US20070061342A1 (en) * | 2005-09-09 | 2007-03-15 | Thomas Magdeburger | Data structures and circuit for multi-channel data transfers using a serial peripheral interface |
CN101552733A (en) * | 2009-05-15 | 2009-10-07 | 深圳华为通信技术有限公司 | Data transmission realizing method and system based on SPI |
CN101681326A (en) * | 2007-05-25 | 2010-03-24 | 罗伯特.博世有限公司 | Data transmission method between master and slave devices |
-
2012
- 2012-06-28 CN CN201210215933.3A patent/CN102819512B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060143348A1 (en) * | 2004-12-29 | 2006-06-29 | Wilson Matthew T | System, method, and apparatus for extended serial peripheral interface |
US20070061342A1 (en) * | 2005-09-09 | 2007-03-15 | Thomas Magdeburger | Data structures and circuit for multi-channel data transfers using a serial peripheral interface |
CN1851682A (en) * | 2006-03-28 | 2006-10-25 | 华为技术有限公司 | Method for realizing serial peripheral unit interface |
CN101681326A (en) * | 2007-05-25 | 2010-03-24 | 罗伯特.博世有限公司 | Data transmission method between master and slave devices |
CN101552733A (en) * | 2009-05-15 | 2009-10-07 | 深圳华为通信技术有限公司 | Data transmission realizing method and system based on SPI |
Cited By (35)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103206308A (en) * | 2013-04-18 | 2013-07-17 | 东风汽车公司 | Method for safety monitoring system of gasoline ECU (engine control unit) |
US10050764B2 (en) | 2013-06-05 | 2018-08-14 | Continental Teves Ag & Co. Ohg | Method for communicating data, communication controller and circuit arrangement |
CN105308585A (en) * | 2013-06-05 | 2016-02-03 | 大陆-特韦斯贸易合伙股份公司及两合公司 | Method for communicating data, communication controller and circuit arrangement |
CN103744825A (en) * | 2013-12-31 | 2014-04-23 | 北京中宇新泰科技发展有限公司 | Bidirectional real-time communication method of extendable and compatible SPI (Serial Peripheral Interface) |
CN103744814A (en) * | 2014-01-06 | 2014-04-23 | 深圳市芯海科技有限公司 | High speed communication method by two lines |
CN103744814B (en) * | 2014-01-06 | 2017-01-11 | 深圳市芯海科技有限公司 | High speed communication method by two lines |
WO2016046361A1 (en) * | 2014-09-26 | 2016-03-31 | Valeo Systemes Thermiques | Transmission of synchronous data via a serial data bus, in particular a spi bus |
FR3026515A1 (en) * | 2014-09-26 | 2016-04-01 | Valeo Systemes Thermiques | TRANSMITTING SYNCHRONOUS DATA THROUGH A SERIAL DATA BUS, IN PARTICULAR A SPI BUS |
US11106619B2 (en) | 2014-09-26 | 2021-08-31 | Valeo Systemes Thermiques | Transmission of synchronous data via a serial data bus, in particular a SPI bus |
CN105260260A (en) * | 2015-09-21 | 2016-01-20 | 上海斐讯数据通信技术有限公司 | SPI data transmission device with data check function and data check method |
CN107122282A (en) * | 2017-03-28 | 2017-09-01 | 中国第汽车股份有限公司 | A kind of Functional Safety Communication method based on spi bus |
CN107122282B (en) * | 2017-03-28 | 2019-12-31 | 中国第一汽车股份有限公司 | A Functional Safety Communication Method Based on SPI Bus |
CN108055186B (en) * | 2018-01-30 | 2020-08-25 | 浙江鸿泉车联网有限公司 | Master-slave processor communication method and device |
CN108055186A (en) * | 2018-01-30 | 2018-05-18 | 浙江鸿泉车联网有限公司 | A kind of principal and subordinate processor communication means and device |
CN109902046A (en) * | 2019-02-01 | 2019-06-18 | 福瑞泰克智能系统有限公司 | A kind of communication means, relevant device and system for Serial Peripheral bus system |
CN110334046A (en) * | 2019-07-11 | 2019-10-15 | 南方电网科学研究院有限责任公司 | SPI full-duplex communication method, device and system |
CN110765058A (en) * | 2019-09-12 | 2020-02-07 | 深圳震有科技股份有限公司 | Method, system, equipment and medium for realizing SPI slave function by GPIO |
CN110955625A (en) * | 2019-11-22 | 2020-04-03 | 上海麦腾物联网技术有限公司 | Full-duplex real-time communication method and device based on SPI |
CN111130710A (en) * | 2019-12-10 | 2020-05-08 | 常州新途软件有限公司 | SPI-based duplex communication method |
CN113079073A (en) * | 2020-01-06 | 2021-07-06 | 广州汽车集团股份有限公司 | Full-duplex communication device based on SPI and communication method thereof |
CN111966623A (en) * | 2020-07-14 | 2020-11-20 | 西安爱生无人机技术有限公司 | Method for real-time full-duplex reliable communication between MCU and multiple FPGAs by using SPI |
WO2022017102A1 (en) * | 2020-07-20 | 2022-01-27 | 广州汽车集团股份有限公司 | Arbitration line-based full-duplex spi communication method |
CN112100100A (en) * | 2020-08-26 | 2020-12-18 | 广州华欣电子科技有限公司 | SPI communication method and SPI equipment |
CN114338260A (en) * | 2020-09-28 | 2022-04-12 | 宝能汽车集团有限公司 | Display control system and method of vehicle digital instrument and vehicle |
CN112822002A (en) * | 2021-01-04 | 2021-05-18 | 北京地平线信息技术有限公司 | SPI (Serial peripheral interface) -based communication method and device, electronic equipment and storage medium |
CN112506838A (en) * | 2021-02-03 | 2021-03-16 | 青岛鼎信通讯股份有限公司 | SPI clock synchronization method applied to IR46 electric meter calibrating device |
CN113176751A (en) * | 2021-04-28 | 2021-07-27 | 青岛歌尔智能传感器有限公司 | Data transmission method, device and computer readable storage medium |
CN114116559A (en) * | 2022-01-20 | 2022-03-01 | 浙江中控技术股份有限公司 | High-speed bus method suitable for PLC application |
CN114116559B (en) * | 2022-01-20 | 2022-05-17 | 浙江中控技术股份有限公司 | High-speed bus method suitable for PLC application |
CN115118409A (en) * | 2022-06-24 | 2022-09-27 | 重庆长安新能源汽车科技有限公司 | SPI communication method |
CN115941382A (en) * | 2022-11-10 | 2023-04-07 | 星河智联汽车科技有限公司 | Flow control method and device for SPI communication, terminal equipment and storage medium |
CN116795744A (en) * | 2023-08-15 | 2023-09-22 | 三峡智控科技有限公司 | LS2K1000LA and MCU communication control method |
CN116795744B (en) * | 2023-08-15 | 2023-12-19 | 三峡智控科技有限公司 | LS2K1000LA and MCU communication control method |
CN118535510A (en) * | 2024-04-28 | 2024-08-23 | 重庆赛力斯凤凰智创科技有限公司 | Data transmission method, device, vehicle-mounted terminal and storage medium |
CN118535510B (en) * | 2024-04-28 | 2025-02-18 | 重庆赛力斯凤凰智创科技有限公司 | Data transmission method, device, vehicle-mounted terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102819512B (en) | 2015-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102819512A (en) | Full-duplex communication device based on SPI and method thereof | |
CN102088386B (en) | Universal serial bus (USB) for master-slave interconnection module of circuit system | |
CN106951388B (en) | PCIe-based DMA data transmission method and system | |
KR101812835B1 (en) | Serial interface | |
CN102231143A (en) | Safe and reusable single program initiation (SPI) peripheral interface circuit | |
CN110955625A (en) | Full-duplex real-time communication method and device based on SPI | |
CN103838700A (en) | level multiplexing control serial communication device and communication method thereof | |
Liu et al. | A flexible hardware architecture for slave device of i2c bus | |
CN106610910A (en) | System, device and method for mutual signal transmission between different communication interfaces | |
CN102722462A (en) | Synchronous communication device and control method thereof | |
CN110334046A (en) | SPI full-duplex communication method, device and system | |
CN102073611B (en) | I2C bus control system and method | |
EP2815555B1 (en) | Communication bridging between devices via multiple bridge elements | |
CN110297612B (en) | MIPI data processing chip and method | |
CN108304335A (en) | A method of the indefinite long message of serial ports is received by DMA | |
CN108920401B (en) | Multi-master multi-slave I2C communication method, system and node equipment | |
CN112269749B (en) | I2C communication system | |
CN113792003A (en) | Single bus communication unit, system and method | |
CN101094110A (en) | System and method for setting up, detecting and displaying interval time of characters inside Modbus RTU frame and between frames | |
CN102929830A (en) | Software simulation rapid communication protocol | |
CN103077144A (en) | Serial peripheral interface (SPI) communication interface for ensuring data integrity, and communication method thereof | |
CN103885910A (en) | Method and system for multiple devices for IIC communication in main mode | |
CN101140551B (en) | A device for realizing asynchronous serial communication of digital signal processor | |
CN103593316A (en) | Method for reducing I2C bus time occupied by MCU interruption | |
CN106372019B (en) | A system bus device response timeout processing method and timeout processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 516006 Guangdong province Huizhou City Zhongkai high tech Development Zone, Zhujiang Road No. 1 Applicant after: HUIZHOU DESAY SV AUTOMOTIVE CO., LTD. Address before: 516006 Guangdong province Huizhou City Zhongkai high tech Development Zone, Zhujiang Road No. 1 Applicant before: Huizhou Desay SV Auto. Electronics Co., Ltd. |
|
COR | Change of bibliographic data | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |