# US 10,956,356 B1 · Clock control to increase robustness of a serial bus interface

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

- Number: US 10,956,356 B1
- Document ID: US10956356B1
- Status: Granted
- Kind: B1
- Application number: 16/698,683
- Filed: 2019-11-27
- Granted: 2021-03-23
- Earliest claimed: 2019-11-27
- Assignees: Robert Bosch GmbH
- Applicants: Robert Bosch GmbH
- Inventors: Sekar Kulandaivel; Shalabh Jain; Jorge Guajardo Merchan
- Web page: https://patentgrep.com/patent/US10956356B1

## CPC

- G06F 13/4291: {using a clocked protocol}
- G06F 1/04: Generating or distributing clock signals or signals derived directly therefrom
- G06F 2213/0002: Serial port, e.g. RS232C
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer system for performing control of an electronic control unit (ECU) having a processor for executing computer-readable instructions and a memory for maintaining the computer-executable instructions, the computer-executable instructions when executed by the processor perform the following functions by a processor. The functions include configuring a communication controller to while operating in a secure mode, transiting to an unsecure mode, executing a program in the unsecure mode that utilizes the communication controller; and in response to detecting a clock off request while a transmit buffer of the communication controller is not empty, inhibiting the clock off request until the transmit buffer is empty.

## Claims

### Claim 1

A computer-implemented method for controlling a clock enable signal associated with a communication system, the method comprising:
by a processor,
configuring, while operating in a secure mode, a communication controller to communicate according to a protocol;
transitioning to an unsecure mode;
executing a program in the unsecure mode that communicates via the protocol utilizing the communication controller;
receiving a request to stop a clock of the communication controller; and
in response to a transmit buffer of the communication controller being not empty, inhibiting stopping the clock, and responsive to the transmit buffer being empty, stopping the clock.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the processor includes a secure co-processor that requires a special privilege for execution of instructions, and inhibiting stopping the clock is via execution of a protected software routine on the secure co-processor.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the processor includes a hardware security module (HSM) that generates an interrupt for the processor, and inhibiting stopping the clock is via execution of a protected software routine on the HSM.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1 further comprising, in response to reception of the request to stop the clock of the communication controller, transitioning to the secure mode, wherein the transition from unsecure mode to the secure mode is via an interrupt or a system call.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the unsecure mode is operation in a virtual machine environment.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein if the transmit buffer of the communication controller is not empty, inhibiting stopping the clock, and if the transmit buffer is empty, stopping the clock is implemented by translating a high level software program into instructions that can be executed on the processor, and inserting the instructions for every request to stop the clock.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1 wherein transitioning to an unsecure mode is transitioning from a user mode to a supervisor mode or a user mode to a kernel mode.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1 wherein transitioning to an unsecure mode is transitioning from executing instructions by the processor to executing instructions by a co-processor monolithically integrated with the processor.

### Claim 9

A method for controlling a clock signal associated with a communication system, the method comprising:
receiving a clock signal;
receiving a status signal indicative of an active or inactive communication system;
receiving a clock disable signal;
passing thru the clock signal in response to the status signal being active; and
inhibiting the clock signal in response to the status signal being inactive;
in response to a transmit buffer of the communication system being not empty, inhibiting stopping the clock, and responsive to the transmit buffer being empty, stopping the clock.

### Claim 10 (depends on 9)

The method claim 9, wherein the method is executed on a secure co-processor that requires a special privilege for execution of instructions, and inhibiting the clock signal is via execution of a protected software routine on the secure co-processor.

### Claim 11 (depends on 9)

The method claim 9, wherein the method is executed on a processor that includes a hardware security module (HSM) that generates an interrupt for the processor, and inhibiting the clock signal is via execution of a protected software routine on the HSM.

### Claim 12 (depends on 9)

The method claim 9, wherein the method further comprises, in response to reception of the clock disable signal, transitioning to a secure mode, wherein the transition from unsecure mode to the secure mode is via an interrupt or a system call.

### Claim 13 (depends on 12)

The method claim 12, wherein on transitioning to the secure mode is transitioning from executing instructions by a processor to executing instructions by a co-processor monolithically integrated with the processor.

### Claim 14 (depends on 12)

The method claim 12, wherein on transitioning to the secure mode is transitioning from a user mode to a supervisor mode or from a user mode to a kernel mode.

### Claim 15 (depends on 12)

The method of claim 12, wherein receiving a status signal is a protected software routine that consists of a peripheral state check function to verify a state of the communication system to be inactive before inhibiting the clock signal.

### Claim 16

A computer system for performing control of an electronic control unit (ECU) having a processor for executing computer-readable instructions and a memory for maintaining the computer-executable instructions, the computer-executable instructions when executed by the processor perform the following functions:
by a processor,
configuring a communication controller to execute a peripheral state check while operating in a secure mode,
transitioning to an unsecure mode,
executing a program in the unsecure mode that utilizes the communication controller; and
in response to detecting a clock off request while a transmit buffer of the communication controller is not empty, inhibiting the clock off request until the transmit buffer is empty.

### Claim 17 (depends on 16)

The computer system of claim 16, wherein the processor includes a secure co-processor that requires a special privilege for execution of instructions, and inhibiting stopping the clock is via execution of a protected software routine on the secure co-processor.

### Claim 18 (depends on 16)

The computer system of claim 16, wherein the processor includes a hardware security module (HSM) that generates an interrupt for the processor, and inhibiting stopping the clock is via execution of a protected software routine on the HSM.

### Claim 19 (depends on 16)

The computer system of claim 16 further comprising, in response to reception of the request to stop the clock of the communication controller, transitioning to the secure mode, wherein the transition from unsecure mode to the secure mode is via an interrupt or a system call.

### Claim 20 (depends on 16)

The computer system of claim 16, wherein transitioning to an unsecure mode is transitioning from executing instructions by the processor to executing instructions by a co-processor monolithically integrated with the processor.
