# US 11,366,778 B2 · System and method for communication between a master device and a 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,366,778 B2
- Document ID: US11366778B2
- Status: Granted
- Kind: B2
- Application number: 16/874,055
- Filed: 2020-05-14
- Published: 2020-08-27
- Granted: 2022-06-21
- Earliest claimed: 2018-03-26
- Assignees: Stmicroelectronics Application GmbH; STMicroelectronics Design and Application S.R.O.
- Applicants: Stmicroelectronics Design and Application S.R.O.; Stmicroelectronics Application GmbH
- Inventors: Fred Rennig; Ludek Beran
- Web page: https://patentgrep.com/patent/US11366778B2

## CPC

- G06F 13/362: with centralised access control
- G05B 19/042: using digital processors (G05B19/05 takes precedence)
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 11/0739: {in a data processing system embedded in automotive or aircraft systems}
- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F 13/4068: {Electrical coupling}
- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- H04L 12/40006: {Architecture of a communication node (current supply arrangements H04L12/10; intermediate storage or scheduling H04L49/90)}
- H04L 12/40013: {Details regarding a bus controller}
- H04L 12/40078: {Bus configuration (home automation networks H04L12/2803; arrangements for maintenance or administration H04L41/00)}
- H04L 12/403: with centralised control, e.g. polling
- G05B 2219/1215: Leader-follower system
- G05B 2219/2231: Leader-follower
- G05B 2219/31179: Leader sends message with address of follower to all followers, follower answers, interrupt
- H03M 13/09: Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
- H04L 2012/40215: {Controller Area Network CAN}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A device includes a master device, a set of slave devices and a bus. The master device is configured to transmit first messages carrying a set of operation data message portions indicative of operations for implementation by slave devices of the set of slave devices, and second messages addressed to slave devices in the set of slave devices. The second messages convey identifiers identifying respective ones of the slave devices to which the second messages are addressed requesting respective reactions towards the master device within respective expected reaction intervals. The slave devices are configured to receive the first messages transmitted from the master device, read respective operation data message portions in the set of operation data message portions, implement respective operations as a function of the respective operation data message portions read, and receive the second messages transmitted from the master device.

## Claims

### Claim 1

A first slave device comprising:
a controller configured to be coupled to a bus, the controller configured to:
receive, via the bus, a first message from a master device, the first message specifying a requested operation to be performed by the first slave device,
receive, via the bus, a second message from the master device, and
when the second message includes a device identifier associated with the first slave device,
transmit, via the bus, a reaction message to the master device in response to the second message within a predetermined reaction interval.

### Claim 2 (depends on 1)

The first slave device of claim 1, wherein the controller is further configured to perform the requested operation in response to the first message.

### Claim 3 (depends on 2)

The first slave device of claim 2, wherein the controller is further configured to perform the requested operation in response to the first message when the first message includes identifying information associated with the first slave device.

### Claim 4 (depends on 1)

The first slave device of claim 1, wherein the controller is further configured to perform a further requested operation in response to the second message when the second message includes the device identifier associated with the first slave device.

### Claim 5 (depends on 1)

The first slave device of claim 1, wherein the first slave device comprises an actuator, and the requested operation comprises providing a setting to the actuator.

### Claim 6 (depends on 5)

The first slave device of claim 5, wherein the actuator comprises an LED driving circuit, and the actuator setting comprises an LED light driver command.

### Claim 7 (depends on 5)

The first slave device of claim 5, wherein the controller and the actuator are disposed on a single chip.

### Claim 8 (depends on 1)

The first slave device of claim 1, further comprising an oscillator coupled to the controller.

### Claim 9 (depends on 8)

The first slave device of claim 8, wherein the first slave device is capable of communicating with the master device when a frequency of oscillation of the oscillator deviates from a nominal oscillation frequency.

### Claim 10 (depends on 9)

The first slave device of claim 9, wherein the frequency of oscillation deviates up to 2% from the nominal oscillation frequency.

### Claim 11 (depends on 8)

The first slave device of claim 8, wherein:
the oscillator comprises a first frequency of oscillation;
a second slave device coupled to the bus comprises a second oscillator having a second frequency of oscillation; and
the first slave device is capable of communicating with the master device when the first frequency of oscillation is different from the second frequency of oscillation.

### Claim 12 (depends on 11)

The first slave device of claim 11, wherein the first frequency of oscillation deviates from the second frequency of oscillation up to 4%.

### Claim 13 (depends on 1)

The first slave device of claim 1, wherein the controller is configured to receive the first message and the second message, and transmit the reaction message according to a Controller Area Network (CAN) bus protocol or a CAN Flexible Data-Rate (CAN FD) bus protocol.

### Claim 14 (depends on 1)

The first slave device of claim 1, wherein the first message is a broadcast message.

### Claim 15 (depends on 1)

The first slave device of claim 1, wherein the controller is configured to ignore the second message when the second message is directed to a different slave device and does not include the device identifier associated with the first slave device.

### Claim 16 (depends on 1)

The first slave device of claim 1, wherein the controller is further configured to enter a fail-safe state when a communication is not received from the master device for a predetermined period of time.

### Claim 17 (depends on 1)

The first slave device of claim 1, further comprising a transceiver configured to couple the controller to the bus.

### Claim 18 (depends on 17)

The first slave device of claim 17, wherein the bus comprises a differential wiring bus, and the transceiver comprises a differential transceiver.

### Claim 19 (depends on 17)

The first slave device of claim 17, wherein the controller and the transceiver are disposed on a single chip.

### Claim 20 (depends on 1)

The first slave device of claim 1, wherein the bus comprises a differential wiring bus.

### Claim 21

A method of operating a first slave device, the method comprising:
receiving, by the first slave device, a first message from a master device via a bus, the first message specifying a requested operation to be performed by the first slave device;
receiving, by the first slave device, a second message from the master device via the bus; and
when the second message includes a device identifier associated with the first slave device,
transmitting, by the first slave device, a reaction message to the master device in response to the second message via the bus within a predetermined reaction interval.

### Claim 22 (depends on 21)

The method of claim 21, further comprising performing, by the first slave device, the requested operation in response to the first message.

### Claim 23 (depends on 21)

The method of claim 21, further comprising performing, by the first slave device, a further requested operation in response to the second message when the second message includes the device identifier associated with the first slave device.

### Claim 24 (depends on 23)

The method of claim 23, wherein the requested operation comprises providing, by the first slave device, a setting to an actuator.

### Claim 25 (depends on 24)

The method of claim 24, wherein the actuator comprises an LED driving circuit, and the actuator setting comprises an LED light driver command.

### Claim 26 (depends on 21)

The method of claim 21, further wherein receiving the first message, receiving the second message and transmitting the reaction message are performed according to a Controller Area Network (CAN) bus protocol or a CAN Flexible Data-Rate (CAN FD) bus protocol.

### Claim 27 (depends on 21)

The method of claim 21, further comprising ignoring, by the first slave device, the second message when the second message is directed to a different slave device and does not include the device identifier associated with the first slave device.

### Claim 28 (depends on 21)

The method of claim 21, further comprising entering, by the first slave device, a fail-safe state when a communication is not received from the master device for a predetermined period of time.

### Claim 29

An integrated circuit comprising:
a controller disposed on the integrated circuit and configured to be coupled to a bus,
wherein the integrated circuit comprises a single chip, and the controller is configured to:
receive, via the bus, a first message from a first device, wherein the first message specifies a requested operation to be performed by the integrated circuit, and the first device is external to the integrated circuit,
receive, via the bus, a second message from the first device, and when the second message includes a device identifier associated with the integrated circuit, transmit, via the bus, a reaction message to the first device in response to the second message within a predetermined reaction interval.

### Claim 30 (depends on 29)

The integrated circuit of claim 29, wherein the integrated circuit further comprises an actuator, and the requested operation comprises providing a setting to the actuator.

### Claim 31 (depends on 30)

The integrated circuit of claim 30, wherein the actuator comprises an LED driving circuit, and the setting to the actuator comprises an LED light driver command.

### Claim 32 (depends on 29)

The integrated circuit of claim 29, further comprising an oscillator disposed on the integrated circuit and coupled to the controller, wherein the controller is capable of communicating with the first device when a frequency of oscillation of the oscillator deviates from a nominal oscillation frequency.

### Claim 33 (depends on 32)

The integrated circuit of claim 32, wherein the frequency of oscillation deviates up to 2% from the nominal oscillation frequency.

### Claim 34 (depends on 29)

The integrated circuit of claim 29, further comprising a transceiver configured to couple the controller to the bus.

### Claim 35

A slave device comprising:
a communication and protocol controller configured to:
receive, a unicast message from a master device via a differential wiring bus,
when the unicast message includes a device identifier associated with the slave device, encode a reaction message, and
cause the reaction message to be transmitted to the master device via the differential wiring bus within a predetermined reaction interval, wherein the communication and protocol controller is configured to transmit the reaction message using a bus protocol that does not guarantee communication slots.

### Claim 36 (depends on 35)

The slave device of claim 35, further comprising a transceiver coupled to the communication and protocol controller and configured to be coupled to the differential wiring bus, the transceiver configured to receive the unicast message and transmit the reaction message.

### Claim 37 (depends on 35)

The slave device of claim 35, wherein the communication and protocol controller is configured to encode the reaction message according to a Controller Area Network (CAN) bus protocol or a CAN Flexible Data-Rate (CAN FD) bus protocol.

### Claim 38 (depends on 35)

The slave device of claim 35, wherein the communication and protocol controller is further configured to activate a watchdog timer upon causing the reaction message to be transmitted.

### Claim 39 (depends on 38)

The slave device of claim 38, wherein the communication and protocol controller is configured to activate the watchdog timer by resetting the watchdog timer.

### Claim 40 (depends on 38)

The slave device of claim 38, wherein the communication and protocol controller is further configured to, after the watchdog timer is activated:
reset the watchdog timer when the communication and protocol controller receives a valid message from the master device via the differential wiring bus before an expiration of the watchdog timer, and
cause the slave device to enter a fail-safe mode upon the expiration of the watchdog timer.

### Claim 41 (depends on 35)

The slave device of claim 35, wherein the communication and protocol controller comprises application-specific hardware.

### Claim 42 (depends on 35)

The slave device of claim 35, wherein the slave device is a light-radiation source driver.

### Claim 43

A method of operating a slave device, the method comprising:
receiving, by the slave device, a unicast message from a master device via a differential wiring bus; and
when the unicast message includes a device identifier associated with the slave device:
encoding a reaction message, and
causing the reaction message to be transmitted to the master device via the differential wiring bus within a predetermined reaction interval, wherein the reaction message is transmitted using a bus protocol that does not guarantee communication slots.

### Claim 44 (depends on 43)

The method of claim 43, wherein encoding the reaction message comprises encoding the reaction message according to a Controller Area Network (CAN) bus protocol or a CAN Flexible Data-Rate (CAN FD) bus protocol.

### Claim 45 (depends on 43)

The method of claim 43, further comprising activating a watchdog timer upon causing the reaction message to be transmitted.

### Claim 46 (depends on 45)

The method of claim 45, further comprising:
after activating the watchdog timer:
resetting the watchdog timer upon receiving a valid message from the master device via the differential wiring bus before an expiration of the watchdog timer, and
causing the slave device to enter a fail-safe mode upon the expiration of the watchdog timer.
