# US 11,281,514 B2 · Processing system, related integrated circuit, device and method

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

- Number: US 11,281,514 B2
- Document ID: US11281514B2
- Status: Granted
- Kind: B2
- Application number: 16/693,103
- Filed: 2019-11-22
- Published: 2020-05-28
- Granted: 2022-03-22
- Earliest claimed: 2018-11-27
- Assignees: Stmicroelectronics Application GmbH
- Applicants: STMicroelectronics Application GmbH
- Inventors: Roberto Colombo
- Web page: https://patentgrep.com/patent/US11281514B2

## CPC

- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- H03K 5/19: Monitoring patterns of pulse trains (indicating amplitude G01R19/00; indicating frequency G01R23/00; measuring characteristics of individual pulses G01R29/02)
- G06F 1/10: Distribution of clock signals {, e.g. skew}
- G06F 11/0706: {the processing taking place on a specific hardware platform or in a specific software environment}
- G06F 11/0739: {in a data processing system embedded in automotive or aircraft systems}
- H03K 19/0075: {by using two redundant chains}
- G06F 1/12: Synchronisation of different clock signals {provided by a plurality of clock generators}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

A processing system includes a timer circuit and a processing circuit. The timer circuit is configured to generate a system time signal. The processing circuit is configured to receive the system time signal, detect whether the system time signal reaches or exceeds a given reference value, and start execution of a given processing operation in response to the detection. The timer circuit has associated an error code calculation circuit configured to compute a first set of error detection bits as a function of bits of the system time signal. The processing circuit has an associated error detection circuit configured to: compute a second set of error detection bits as a function of the bits of the system time signal received, compare the first set of error detection bits with the second set of error detection bits, and generate an error signal in response to the comparison.

## Claims

### Claim 1

A processing system comprising:
a timer circuit configured to generate, in response to a clock signal, a system time signal comprising a plurality of bits indicative of a time tick-count;
a processing circuit configured to:
receive the system time signal from the timer circuit,
detect whether the system time signal reaches or exceeds a given reference value, and start execution of a given processing operation when the detection indicates that the system time signal has reached or has exceeded the given reference value;
an error code calculation circuit configured to compute a first set of error detection bits as a function of the plurality of bits of the system time signal transmitted to the processing circuit;
a first error detection circuit configured to:
compute a second set of error detection bits as a function of the plurality of bits of the system time signal received by the processing circuit,
compare the first set of error detection bits with the second set of error detection bits, and
generate a first error signal when the comparison indicates the first set of error detection bits does not correspond to the second set of error detection bits; and
a second error detection circuit configured to:
compute a third set of error detection bits as a function of the plurality of bits of the system time signal transmitted to the processing circuit,
compare the first set of error detection bits with the third set of error detection bits, and
generate a second error signal when the comparison indicates that the first set of error detection bits does not correspond to the third set of error detection bits.

### Claim 2 (depends on 1)

The processing system of claim 1, wherein:
a physical distance between the error code calculation circuit and the timer circuit is smaller than a physical distance between the error code calculation circuit and the processing circuit;
a physical distance between the first error detection circuit and the processing circuit is smaller than a physical distance between the first error detection circuit and the timer circuit; and
a physical distance between the second error detection circuit and the timer circuit is smaller than a physical distance between the second error detection circuit and the processing circuit.

### Claim 3 (depends on 1)

The processing system of claim 1, wherein the first error detection circuit comprises two redundant error detection circuits.

### Claim 4 (depends on 1)

The processing system of claim 1, wherein the error code calculation circuit is configured to compute the first set of error detection bits by using an error correction code, and wherein the first error detection circuit is configured to:
correct single bit errors of the system time signal; and
generate the first error signal when the system time signal has a double bit error.

### Claim 5 (depends on 1)

The processing system of claim 1, wherein the timer circuit comprises:
a digital counter configured to generate a count value in response to the clock signal;
a digital comparator configured to generate a comparison signal by comparing the count value with a first reference value; and
an accumulator configured to increase the system time signal in response to the comparison signal.

### Claim 6 (depends on 1)

The processing system of claim 1, wherein the processing circuit comprises:
a digital or analog processing circuit;
a further digital comparator configured to generate an interrupt signal for the digital or analog processing circuit by comparing the system time signal with a second reference value; and
a programmable register configured to store the second reference value.

### Claim 7 (depends on 6)

The processing system of claim 6, wherein the processing circuit further comprises:
an adder configured to increase the second reference value by a given amount in response to the interrupt signal.

### Claim 8 (depends on 1)

The processing system of claim 1, further comprising:
a trigger generator configured to generate a trigger signal comprising a trigger when the system time signal increases by a given amount, and a watchdog timer configured to generate a third error signal when a time between two consecutive triggers in the trigger signal is greater than a given first maximum time; or
a further timer circuit configured to generate a fourth error signal when a time between two consecutive triggers in the trigger signal is not between a lower threshold and an upper threshold.

### Claim 9 (depends on 8)

The processing system of claim 8, further comprising the trigger generator and the watchdog timer.

### Claim 10 (depends on 9)

The processing system of claim 9, further comprising the further timer circuit.

### Claim 11 (depends on 8)

The processing system of claim 8, wherein the watchdog timer or the further timer circuit operate in response to the clock signal, and wherein the processing system further comprises:
an analog clock monitor unit configured to generate a fifth error signal when the clock signal remains low or high for a given second maximum time.

### Claim 12 (depends on 1)

The processing system of claim 1, wherein the processing system is implemented in an integrated circuit.

### Claim 13 (depends on 12)

The processing system of claim 12, wherein the integrated circuit is a micro-controller.

### Claim 14 (depends on 1)

The processing system of claim 1, wherein the system time signal comprises 32 or 64 bits.

### Claim 15

A device comprising a plurality of processing systems, wherein each processing system of the plurality of processing systems comprises:
a timer circuit configured to generate, in response to a clock signal, a system time signal comprising a plurality of bits indicative of a time tick-count;
a processing circuit configured to:
receive the system time signal from the timer circuit,
detect whether the system time signal reaches or exceeds a given reference value, and
start execution of a given processing operation when the detection indicates that the system time signal has reached or has exceeded the given reference value;
an error code calculation circuit configured to compute a first set of error detection bits as a function of the plurality of bits of the system time signal transmitted to the processing circuit;
a first error detection circuit configured to:
compute a second set of error detection bits as a function of the plurality of bits of the system time signal received by the processing circuit,
compare the first set of error detection bits with the second set of error detection bits, and
generate a first error signal when the comparison indicates the first set of error detection bits does not correspond to the second set of error detection bits; and
a trigger generator configured to generate a trigger signal comprising a trigger when the system time signal increases by a given amount, and a watchdog timer configured to generate a third error signal when a time between two consecutive triggers in the trigger signal is greater than a given first maximum time, or
a further timer circuit configured to generate a fourth error signal when a time between two consecutive triggers in the trigger signal is not between a lower threshold and an upper threshold.

### Claim 16 (depends on 15)

The device of claim 15, wherein the device is a motor vehicle.

### Claim 17

A method of operating a processing system, the method comprising:
generating via a timer circuit of the processing system a system time signal;
computing a first set of error detection bits as a function of bits of the system time signal using an error code calculation;
transmitting the system time signal and the first set of error detection bits to a processing circuit of the processing system;
computing a second set of error detection bits as a function of the bits of the system time signal received by the processing circuit of the processing system using a first error detection circuit;
comparing the first set of error detection bits with the second set of error detection bits, and when the comparison indicates that the first set of error detection bits does not correspond to the second set of error detection bits, generating a first error signal;
computing a third set of error detection bits as a function of the bits of the system time signal using a second error detection circuit;
comparing the first set of error detection bits with the third set of error detection bits;
generating a second error signal when the comparison indicates that the first set of error detection bits does not correspond to the third set of error detection bits; and
detecting whether the system time signal reaches or exceeds a given reference value, and when the detection indicates that the system time signal has reached or has exceeded the given reference value, starting execution of a given processing operation of the processing circuit of the processing system.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
correcting single bit errors of the system time signal; and
generating the first error signal when the system time signal has a double bit error.

### Claim 19 (depends on 17)

The method of claim 17, further comprising:
generating a trigger signal comprising a trigger when the system time signal increases by a given amount; and
generating a third error signal when a time between two consecutive triggers in the trigger signal is greater than a given first maximum time.

### Claim 20 (depends on 17)

The method of claim 17, further comprising providing the first or second error signals to an error collection circuit.
