Arbitration line-based full-duplex SPI communication method

US12494889B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12494889-B2
Application numberUS-202117915667-A
CountryUS
Kind codeB2
Filing dateJun 22, 2021
Priority dateJul 20, 2020
Publication dateDec 9, 2025
Grant dateDec 9, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present disclosure provides an arbitration line-based full-duplex SPI communication method. Said method comprises: a communication requester detecting a first arbitration line corresponding to the communication requester and a second arbitration line corresponding to a communication responder, and if both the first arbitration line and the second arbitration line are at a low potential, pulling up the potential of the first arbitration line; when the communication responder detects the first arbitration line is at a high potential, pulling up the potential of the second arbitration line; when the communication requester detects the second arbitration line is at a high potential, determining the communication responder is in a communicating state; the communication requester and the communication responder sending message header data and message text data to each other. The present disclosure solves the problem of the transmission direction and communication flexibility being limited in existing SPI communication.

First claim

Opening claim text (preview).

What is claimed is: 1 . An arbitration line-based full-duplex serial peripheral interface (SPI) communication method, wherein the method comprising: step S 11 , detecting a first arbitration line corresponding to a communication requester and a second arbitration line corresponding to a communication responder by the communication requester, pulling up a potential of the first arbitration line when both the first arbitration line and the second arbitration line are at a low potential; step S 12 , pulling up the potential of the second arbitration line when the communication responder detects the first arbitration line is at a high potential; step S 13 , determining that the communication responder is in a communicating state when the communication requester detects that the second arbitration line is at a high potential; step S 14 , sending message header data to each other by the communication requester and the communication responder; and step S 15 , sending message body data to each other by the communication requester and the communication responder. 2 . The method according to claim 1 , wherein in the step S 12 , before pulling up the potential of the second arbitration line, further comprising: detecting own state is normal by the communication responder, wherein the own state comprises memory space and communication state. 3 . The method according to claim 1 , wherein the step S 14 further comprises: obtaining respectively transmission data length of a message data of other party from the message header data of the other party by the communication requester and the communication responder, and supplementing the message data having less transmission data length, so that the transmission data length of the message data of both parties are consistent. 4 . The method according to claim 3 , wherein the step S 13 further comprises: pulling down the potential of a chip selection signal and sends a clock signal to the communication responder by the communication requester when the communication requester is a master. 5 . The method according to claim 4 , wherein after obtaining respectively transmission data length of a message data of other party from the message header data of the other party by the communication requester and the communication responder, and supplementing the message data having less transmission data length, so that the transmission data length of the message data of both parties are consistent, and further comprises: sending a chip selection signal and a clock signal corresponding to the transmission data length of a supplemented message data to the communication responder by the communication requester, and pulling down the potential of the first arbitration line. 6 . The method according to claim 5 , wherein after the step S 15 , the method further comprises: pulling up the potential of the chip selection signal and stopping sending the clock signal to the communication responder by the communication requester; and pulling down the potential of the second arbitration line by the communication responder. 7 . The method according to claim 3 , wherein the step S 15 further comprises: pulling down the potential of the chip selection signal and sends a clock signal to the communication requester by the communication responder when the communication requester is a slave. 8 . The method according to claim 7 , wherein after obtaining respectively transmission data length of a message data of other party from the message header data of the other party by the communication requester and the communication responder, and supplementing the message data having less transmission data length, so that the transmission data length of the message data of both parties are consistent, and further comprises: sending a chip selection signal and a clock signal corresponding to the transmission data length of a supplemented message data to the communication requester and pulling down the potential of the second arbitration line by the communication responder. 9 . The method according to claim 8 , wherein after the step S 15 , the method further comprises: pulling up the potential of the chip selection signal and stopping sending the clock signal to the communication requester by the communication responder; and pulling down the potential of the second arbitration line by the communication requester. 10 . The method according to claim 3 , wherein obtaining respectively transmission data length of a message data of other party from the message header data of the other party by the communication requester and the communication responder, and supplementing the message data having less transmission data length, so that the transmission data length of the message data of both parties are consistent further comprises: obtaining respectively the message header data of other party by the communication requester and the communication responder; wherein the message header data carries the transmission data length of the message data; comparing respectively the transmission data length of their own message data with the transmission data length of the message data of the other party by the communication requester and the communication responder; and determining, by either party, that their own message data has less transmission data length and supplementing their own message data having less transmission data length with preset characters, so that the transmission data length of the message data of both parties are consistent. 11 . The method according to claim 1 , wherein the header data of the message comprises a protocol type field, and the protocol type field is set to an event message type or a periodic message type; when the header data of the message sent by the communication requester or the communication responder comprises a periodic message type, after a party sending the message data completes sending the message data, determines that the message data is sent successfully, the message data comprises message header data and message body data; and when the header data of the message sent by the communication requester or the communication responder comprises the event message type, a party sending the message data starts a timer corresponding to the message data, the party receiving the message data replies with an acknowledgement message ACK within a preset time, the party sending the message data determines that the message data is sent successfully and removes the message data from the sending queue. 12 . The method according to claim 11 , wherein the method further comprises: resending the message data and starting the timer again by the party sending the message data when the party sending the message data does not receive the acknowledgement message ACK replied by the party receiving the message data within the preset time; and determining that the sending of the message data fails and returning the failure information to the application layer of the party sending the message data through the callback function by the party sending the message data when the number of retransmissions reaches the preset number of failures.

Assignees

Inventors

Classifications

  • on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247) · CPC title

  • Information transfer, e.g. on bus (G06F13/14 takes precedence) · CPC title

  • H04L5/14Primary

    Two-way operation using the same type of signal, i.e. duplex · CPC title

  • specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks · CPC title

  • in which the return channel carries supervisory signals, e.g. repetition request signals · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12494889B2 cover?
The present disclosure provides an arbitration line-based full-duplex SPI communication method. Said method comprises: a communication requester detecting a first arbitration line corresponding to the communication requester and a second arbitration line corresponding to a communication responder, and if both the first arbitration line and the second arbitration line are at a low potential, pul…
Who is the assignee on this patent?
Guangzhou Automobile Group Co
What technology area does this patent fall under?
Primary CPC classification H04L5/14. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Dec 09 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).