# US 11,675,721 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,675,721 B2
- Document ID: US11675721B2
- Status: Granted
- Kind: B2
- Application number: 17/806,587
- Filed: 2022-06-13
- Published: 2022-10-06
- Granted: 2023-06-13
- Earliest claimed: 2018-03-26
- Assignees: Stmicroelectronics Application GmbH; STMicroelectronics Design and Application S.R.O.
- Applicants: STMicroelectronics Design & Application S.R.O.; STMicroelectronics Application GMBH
- Inventors: Fred Rennig; Ludek Beran
- Web page: https://patentgrep.com/patent/US11675721B2

## 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 method of operating a system that comprises a master device and a set of slave devices coupled via a differential wiring bus, the method comprising:
encoding first messages in a CAN FD format, the first messages comprising a set of operation data message portions indicative of operations for implementation by slave devices of the set of slave devices;
transmitting the first messages from the master device over the differential wiring bus;
encoding second messages addressed to the slave devices in the set of slave devices in the CAN FD format, the second messages comprising 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;
transmitting the second messages from the master device over the differential wiring bus;
receiving, by the slave devices, the first messages transmitted from the master device;
reading, by the slave devices, respective operation data message portions in the set of operation data message portions;
implementing, by the slave devices, respective operations as a function of the respective operation data message portions read;
receiving, by the slave devices, the second messages transmitted from the master device; and
reacting, by the slave devices, on the second messages within the respective expected reaction intervals by transmitting reaction messages over the differential wiring bus towards the master device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
transmitting, by the master device, initialization messages comprising initialization data indicative of which operation data message portions in the first messages transmitted over the differential wiring bus from the master device are dedicated to respective ones of the slave devices; and
receiving, by the slave devices, the initialization messages and initializing, as a function of the initialization data, reading of respective operation data message portions dedicated thereto in the set of operation data message portions.

### Claim 3 (depends on 1)

The method of claim 1, wherein the slave devices are arranged in subsets of slave devices and wherein transmitting first messages from the master device comprises transmitting first messages comprising subset identification indexes identifying the subsets of the slave devices to which the first messages are dedicated.

### Claim 4 (depends on 1)

The method of claim 1, wherein the master device transmits the first messages over the differential wiring bus at a constant rate.

### Claim 5 (depends on 1)

The method of claim 1, wherein slave devices in the set of slave devices switch to a fail-safe state as a result of expiration of respective watchdog timers.

### Claim 6 (depends on 5)

The method of claim 5, wherein the slave devices in the set of slave devices reset the respective watchdog timers as a result of receiving messages selected out of the first messages and the second messages.

### Claim 7 (depends on 1)

The method of claim 1, wherein the master device is sensitive to respective reactions requested from slave devices in the set of slave devices failing to reach the master device within the respective expected reaction intervals.

### Claim 8 (depends on 1)

The method of claim 1, wherein the master device triggers respective watchdog error signals indicative of slave devices in the set of slave devices from which respective reactions fail to reach the master device within the respective expected reaction intervals.

### Claim 9

A device, comprising:
a master device comprising:
a protocol controller circuit configured to encode first messages and second messages in a CAN FD format, and
a CAN FD transceiver circuit configured to transmit the first messages and the second messages via a differential wiring bus, wherein
the first messages comprise set of operation data message portions indicative of operations for implementation by slave devices of a set of slave devices,
the second messages are addressed to the slave devices in the set of slave devices, and
the second messages comprise 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; and
the set of slave devices comprising respective communication and protocol controller circuits configured to:
receive over the differential wiring bus 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,
receive over the differential wiring bus the second messages transmitted from the master device, and
react on the second messages within the respective expected reaction intervals by transmitting reaction messages over the differential wiring bus towards the master device.

### Claim 10 (depends on 9)

The device of claim 9, wherein:
the master device is configured to transmit initialization messages comprising initialization data indicative of which operation data message portions in the first messages transmitted over the differential wiring bus from the master device are dedicated to respective ones of the slave devices; and
the slave devices are configured to receive the initialization messages transmitted over the differential wiring bus from the master device and to initialize, as a function of the initialization data, to read respective operation data message portions dedicated thereto in the set of operation data message portions.

### Claim 11 (depends on 9)

The device of claim 9, wherein the slave devices are arranged in subsets of slave devices and wherein the master device is configured to transmit first messages comprising subset identification indexes identifying the subsets of the slave devices to which the first messages are dedicated.

### Claim 12 (depends on 9)

The device of claim 9, wherein the master device is configured to transmit the first messages over the differential wiring bus at a constant rate.

### Claim 13 (depends on 9)

The device of claim 9, wherein slave devices in the set of slave devices are configured to switch to a fail-safe state as a result of expiration of respective watchdog timers.

### Claim 14 (depends on 13)

The device of claim 13, wherein the slave devices in the set of slave devices are configured to reset the respective watchdog timers as a result of receiving messages selected out of the first messages and the second messages.

### Claim 15 (depends on 9)

The device of claim 9, wherein the master device is sensitive to respective reactions requested from slave devices in the set of slave devices failing to reach the master device within the respective expected reaction intervals.

### Claim 16

A master device configured to communicate with a set of slave devices via a differential wiring bus, the master device comprising:
a protocol controller circuit configured to be coupled to the differential wiring bus, the protocol controller circuit configured to:
encode first messages and second messages in a CAN FD format, and
transmit the first messages and the second messages, wherein
the first messages comprise a set of operation data message portions indicative of operations for implementation by slave devices in the set of slave devices, and
the second messages are addressed to the slave devices in the set of slave devices, the second messages are configured to request respective reactions towards the master device within respective expected reaction intervals, and the second messages comprise identifiers identifying respective ones of the slave devices to which the second messages are addressed.

### Claim 17 (depends on 16)

The master device of claim 16, wherein the master device:
is sensitive to respective reactions requested from slave devices in the set of slave devices failing to reach the master device within the respective expected reaction intervals; or
is configured to trigger respective watchdog error signals indicative of slave devices in the set of slave devices from which respective reactions fail to reach the master device within the respective expected reaction intervals.

### Claim 18 (depends on 16)

The master device of claim 16, wherein the master device is configured to transmit the first messages at a constant rate.

### Claim 19

A slave device for inclusion in a set of slave devices coupled to a master device via a differential wiring bus, the slave device comprising:
a communication and protocol controller circuit configured to:
receive, over the differential wiring bus, first messages encoded in a CAN FD format and carrying a set of operation data message portions indicative of operations for implementation by slave devices in the set of slave devices;
read at least one respective operation data message portion in the set of operation data message portions;
implement at least one respective operation as a function of the at least one respective operation data message portion read;
receive, over the differential wiring bus, respective second messages conveying identifiers identifying the slave device as the one of the slave devices to which the respective second messages are addressed, the respective second messages requesting respective reactions towards the master device within respective expected reaction intervals; and
react on the respective second messages within the respective expected reaction intervals, wherein reaction messages are to be transmitted from the slave device over the differential wiring bus towards the master device.

### Claim 20 (depends on 19)

The slave device of claim 19, wherein the communication and protocol controller circuit is configured to switch to a fail-safe state as a result of expiration of a respective watchdog timer.

### Claim 21 (depends on 20)

The slave device of claim 20, wherein the communication and protocol controller circuit is configured to reset the respective watchdog timer as a result of messages received from the master device via the bus.

### Claim 22 (depends on 19)

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

### Claim 23 (depends on 19)

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

### Claim 24 (depends on 23)

The slave device of claim 23, wherein the slave device is a vehicle light driver.
