Communication device, communication method, program, and communication system
Abstract
There is provided a communication device that performs communication through a bus, including: a transmitting and receiving unit configured to transmit and receive a signal to and from at least one other communication device; and an error detection unit configured to, when the transmitting and receiving unit transmits and receives the signal, detect whether an error has occurred in the signal using a specific error detection method according to transmission and reception of the signal. The signal is transmitted and received between a first communication device, which is the communication device having a communication initiative through the bus, and a second communication device, which is the communication device configured to perform communication under control of the first communication device.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A slave communication device configured to perform communication through a bus, comprising:
transmitting and receiving circuitry configured to transmit and receive a signal to and from a master communication device; and error detection circuitry configured to detect whether an error has occurred in the signal, wherein, after a transaction of transmitting a common command code, the error detection circuitry is configured to:
determine whether a format of data received after the transaction of transmitting a common command code is different from a predefined format, and
in a case where the format of data received is different from the predefined format, determine that an error has occurred.
2 . The slave communication device according to claim 1 , wherein the predefined format is specified by the common command code.
3 . The slave communication device according to claim 1 , wherein the error detection circuitry is configured to determine that the error has occurred in a case where the format of data received indicates a read and the predefined format indicates a write.
4 . The slave communication device according to claim 1 , wherein the error detection circuitry is configured to determine that the error has occurred in a case where the format of data received indicates a write and the predefined format indicates a read.
5 . The slave communication device according to claim 1 , wherein, in a case where the error detection circuitry determines that the error has occurred, the slave communication device is configured to wait until a stop condition is detected.
6 . The slave communication device according to claim 1 , wherein, in a case where the error detection circuitry determines that the error has occurred, the slave communication device is configured to wait until a repeated start condition is detected.
7 . The slave communication device according to claim 1 , wherein the common command code indicates a directed read or a directed write format.
8 . A communication method performed by a slave communication device configured to perform communication through a bus, wherein the slave communication device includes transmitting and receiving circuitry configured to transmit and receive a signal to and from a master communication device, and error detection circuitry, the communication method comprising:
transmitting and receiving the signal between the slave communication device and the master communication device; and after a transaction of transmitting a common command code:
determining whether a format of data received after the transaction of transmitting a common command code is different from a predefined format, and
in a case where the format of data received is different from the predefined format, determining that an error has occurred.
9 . The communication method according to claim 8 , wherein the predefined format is specified by the common command code.
10 . The communication method according to claim 8 , comprising determining that the error has occurred in a case where the format of data received indicates a read and the predefined format indicates a write.
11 . The communication method according to claim 8 , comprising determining that the error has occurred in a case where the format of data received indicates a write and the predefined format indicates a read.
12 . The communication method according to claim 8 , wherein, in a case it is determined that the error has occurred, waiting until a stop condition is detected.
13 . The communication method according to claim 8 , wherein, in a case where it is determined that the error has occurred, waiting until a repeated start condition is detected.
14 . A communication system comprising:
a master communication device configured to perform communication through a bus; and a slave communication device configured to perform communication through the bus under control of the master communication device, the slave communication device including:
transmitting and receiving circuitry configured to transmit and receive a signal to and from a master communication device, and
error detection circuitry configured to detect whether an error has occurred in the signal,
wherein, after a transaction of transmitting a common command code, the error detection circuitry is configured to:
determine whether a format of data received after the transaction of transmitting a common command code is different from a predefined format, and
in a case where the format of data received is different from the predefined format, determine that an error has occurred.
15 . The communication system according to claim 14 , wherein the predefined format is specified by the common command code.
16 . The communication system according to claim 14 , wherein the error detection circuitry is configured to determine that the error has occurred in a case where the format of data received indicates a read and the predefined format indicates a write.
17 . The communication system according to claim 14 , wherein the error detection circuitry is configured to determine that the error has occurred in a case where the format of data received indicates a write and the predefined format indicates a read.
18 . The communication system according to claim 14 , wherein, in a case where the error detection circuitry determines that the error has occurred, the slave communication device is configured to wait until a stop condition is detected.
19 . The communication system according to claim 14 , wherein, in a case where the error detection circuitry determines that the error has occurred, the slave communication device is configured to wait until a repeated start condition is detected.
20 . The communication system according to claim 14 , wherein the common command code indicates a directed read or a directed write format.Join the waitlist — get patent alerts
Track US2019109671A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.