# US 11,119,959 B2 · Data communication and processing method of master device and slave device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,119,959 B2
- Document ID: US11119959B2
- Status: Granted
- Kind: B2
- Application number: 16/776,525
- Filed: 2020-01-30
- Published: 2020-08-13
- Granted: 2021-09-14
- Earliest claimed: 2019-02-13
- Assignees: Realtek Semiconductor Corp.
- Applicants: Realtek Semiconductor Corp.
- Inventors: Jeong-Fa Sheu; Sheng-Pin Lin; Han-Yi Hung; Chien-Wei Lee
- Web page: https://patentgrep.com/patent/US11119959B2

## CPC

- G06F 13/362: with centralised access control
- G06F 13/4291: {using a clocked protocol}
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- G06F 13/4004: {Coupling between buses}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data communication and processing method of a master device and a slave device is provided, wherein the method includes the steps of: using the master device to transmit a frame to the slave device via a communication medium, wherein the frame includes a plurality of fields, the plurality of fields includes a bursting size field and a data field, and contents within the bursting size field indicate a data amount of the data field; and using the slave device to receive the frame and store contents of the data field, or output data to the data field according to the data amount indicated by the contents within the bursting size field of the frame. In addition, a method for replacing preamble bits with a postamble bit to improve transmission efficiency is provided.

## Claims

### Claim 1

A data communication and processing method of a master device and a slave device, comprising: using the master device to transmit a first frame to the slave device Via a communication medium, wherein the first frame comprises a plurality of fields, the plurality of fields comprise a bursting size field and a data field, and contents within the bursting size field indicate a data amount of the data field and using the slave device to receive the first frame and store contents of the data field, or output data to be read by the master device to the data field of the first frame according to the data amount of the data field indicated by the contents within the bursting size field, wherein a first field of the plurality of fields is a start field, and there is no preamble bit before the start field of the first frame, wherein a last field of the plurality of fields is a postamble field, the postamble field has at least one postamble bit, and a level corresponding to said at least one postamble bits identical to a level on the communication medium when the master device and the slave device enter an idle state.

### Claim 2 (depends on 1)

The data communication and processing method of claim 1, wherein the data field is capable of being set to have one of a plurality of default data amounts, and the bursting size field is configured to indicate a default data amount corresponding to the data field.

### Claim 3 (depends on 1)

The data communication and processing method of claim 1, wherein a bit value of a first bit of the start field is different from a bit value of said at least one postamble bit.

### Claim 4 (depends on 3)

The data communication and processing method of claim 3, wherein said at least one postamble bit is a last bit of the first frame, and the first bit of the start field is a first bit of the first frame.

### Claim 5 (depends on 1)

The data communication and processing method of claim 1, further comprising:
using the slave device to obtain address information of a storage element of the slave device from the data field;
using the master device to transmit a second frame to the slave device via the communication medium;
using the slave device to receive the second frame and obtain data from a data field of the second frame; and
writing the data into the storage element according to the address information.

### Claim 6 (depends on 5)

The data communication and processing method of claim 5, further comprising:
using the master device to transmit a third frame to the slave device via the communication medium;
using the slave device to receive the third frame and obtain another data from a data field of the third frame; and
writing the other data into the storage element at an address following the address information; wherein the first frame, the second frame and the third frame are continuous frames.

### Claim 7 (depends on 1)

The data communication and processing method of claim 1, further comprising:
using the slave device to obtain address information of a storage element of the slave device from the data field of the first frame;
using the slave device to read data located at the address information; and
using the master device to transmit a second frame to the slave device via the communication medium, and using the slave device to output the data to a data field of the second frame.

### Claim 8 (depends on 7)

The data communication and processing method of claim 7, further comprising:
using the slave device to read other data located at an address following the address information; and
using the master device to transmit a third frame to the slave device via the communication medium, and using the slave device to output the other data to a data field of the third frame; wherein the first frame, the second frame and the third frame are continuous frames.

### Claim 9 (depends on 1)

The data communication and processing method of claim 1, wherein a first field of the plurality of fields is a start field comprising a plurality of start bits, and the slave device determines whether the plurality of start bits are received, wherein the slave device determines that the first frame is received after determining that the plurality of start bits are correctly received; where the first frame is omitted if the plurality of start bits are not all correctly received.

### Claim 10

A data processing method of a slave device, comprising:
receiving a first frame from a master device, wherein the first frame comprises a plurality of fields, the plurality of fields comprise a bursting size field and a data field, and contents within the bursting size field indicate a data amount of the data field;
according to the data amount of the data field indicated by the contents within the bursting size field, storing contents of the data field, or outputting data to be read by the master device to the data field of the first frame;
wherein a first field of the plurality of fields is a start field comprising a plurality of start bits, and the step of receiving the first frame from the master device comprises:
determining whether the plurality of start bits are received, and determining that the first frame is received after determining that the plurality of start bits are correctly received; where the first frame is omitted if the plurality of start bits are not all correctly received.

### Claim 11 (depends on 10)

The data processing method of claim 10, wherein the data field is capable of being set to have one of a plurality of default data amounts, and the bursting size field is configured to indicate a default data amount corresponding to the data field.

### Claim 12 (depends on 10)

The data processing method of claim 10, further comprising:
obtaining address information of a storage element of the slave device from the data field;
receiving a second frame from the master device;
obtaining data from a data field of the second frame; and
writing the data into the storage element according to the address information.

### Claim 13 (depends on 12)

The data processing method of claim 12, further comprising:
receiving a third frame from the master device;
obtaining other data from a data field of the third frame; and
writing the other data into the storage element at an address following the address information of the data; wherein the first frame, the second frame and the third frame are continuous frames.

### Claim 14 (depends on 10)

The data processing method of claim 10, further comprising:
obtaining address information of a storage element of the slave device from the data field;
using the slave device to read data located at the address information;
receiving a second frame from the master device; and
using the slave device to output the data to a data field of the second frame.

### Claim 15 (depends on 14)

The data processing method of claim 14, further comprising:
using the slave device to read other data located at an address following the address information;
receiving a third frame from the master device; and
using the slave device to output the other data to a data field of the third frame.

### Claim 16 (depends on 15)

The data processing method of claim 15, wherein the first frame, the second frame and the third frame are continuous frames.

### Claim 17

A slave device for data processing, comprising, receiving a first frame from a master device via a communication medium, wherein the first frame comprises a plurality of fields, the plurality of fields comprise a bursting size field and a data field, and contents within the bursting size field indicate a data amount of the data field; and according to the data amount of the data field indicated by the contents within the bursting size field, storing contents of the data field, or outputting data to be read by the master device to the data field of the first frame; wherein a first field of the plurality of fields is a start field, and there is no preamble bit before the start field of the first frame, wherein a last field of the plurality of fields is a postamble field, the postamble field has at least one postamble bit, and a level corresponding to said at least one postamble bit is identical to a level on the communication medium when the master device and the slave device enter an idle state.
