# US 2021/0342283 A1 · System on chip having semaphore function and method for implementing semaphore function

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

- Number: US 2021/0342283 A1
- Document ID: US20210342283A1
- Status: Published application
- Kind: A1
- Application number: 17/376,590
- Filed: 2021-07-15
- Published: 2021-11-04
- Earliest claimed: 2014-11-10
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: DongSik CHO; Jeonghoon KIM; Rohitaswa BHATTACHARYA; Jaeshin LEE; Honggi JEONG
- Web page: https://patentgrep.com/patent/US20210342283A1

## CPC

- G06F 13/4004: {Coupling between buses}
- G06F 13/364: using independent requests or grants, e.g. using separated request and grant lines
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A system on chip, semiconductor device, and/or method are provided that include a plurality of masters, an interface, and a semaphore unit. The interface interfaces the plurality of masters with a slave device. The semaphore unit detects requests of the plurality of masters, controlling the salve device, about an access to the interface and assigns a semaphore about each of the plurality of masters by a specific operation unit according to the detection result.

## Claims

### Claim 1

A system on chip (SoC) comprising:
a first master;
a second master;
an interface configured to provide communication between an external device and the first master and/or communication between the external device and the second master; and
a controller configured to receive a first request to access the interface from the first master and a second request to access the interface from the second master, determine a first operational period for the first master and a second operational period for the second master, and schedule the first master to have access to the interface for the first operational period and the second master to have access to the interface for the second operational period,
wherein the interface uses a serial data line and a serial clock line for the communication,
wherein the external device is shared by the first master and the second master via I2C (Inter-Integrated Circuit) interface protocol.

### Claim 2 (depends on 1)

The SoC of claim 1, wherein
the first master is driven by a real time operating system, and
the second master is driven by a non-real time operating system.

### Claim 3 (depends on 1)

The SoC of claim 1, wherein
the interface is shared by the first master and the second master, and
the interface is configured to interface the first master and the second master with the external device.

### Claim 4 (depends on 1)

The SoC of claim 1, wherein the controller is configured to allow the first master and the second master to share the interface, and configured to allow the first master and the second master to access the external device.

### Claim 5 (depends on 1)

The SoC of claim 1, wherein the controller is configured to execute an atomic sequence corresponding to the first request or the second request.

### Claim 6 (depends on 1)

The SoC of claim 1, wherein the controller includes:
a first atomic sequencer configured to manage the first request for accessing to the interface; and
a second atomic sequencer configured to manage the second request for accessing to the interface.

### Claim 7 (depends on 6)

The SoC of claim 6, wherein the controller is configured to assign a priority either to the first atomic sequencer or the second atomic sequencer.

### Claim 8 (depends on 6)

The SoC of claim 6, wherein the controller is configured to assign a semaphore to the first atomic sequencer or to the second atomic sequencer.

### Claim 9 (depends on 1)

The SoC of claim 1, wherein when the second request is not granted, the second master is configured to resend the second request.

### Claim 10 (depends on 1)

The SoC of claim 1, wherein the first master is an application processor and the second master is a communication processor.

### Claim 11

A system on chip (SoC) comprising:
a plurality of masters;
an interface configured to provide communication between an external device and the plurality of masters; and
a multi-master controller configured to receive requests from the plurality of masters for accessing the interface and manages the requests by scheduling each of the plurality of masters to have access to the interface for a respective operational period,
wherein the interface uses a serial data line and a serial clock line for the communication,
wherein the external device is shared by the plurality of masters via I2C (Inter-Integrated Circuit) interface protocol, and
wherein the multi-master controller is configured to execute an atomic sequence corresponding to each of the plurality of masters.

### Claim 12 (depends on 11)

The SoC of claim 11, wherein the plurality of masters comprise at least one master driven by a real time operating system and at least one master driven by a non-real time operating system.

### Claim 13 (depends on 11)

The SoC of claim 11, wherein the interface is shared by the plurality of masters, and the interface is configured to interface each of the plurality of masters with the external device.

### Claim 14 (depends on 11)

The SoC of claim 11, wherein
the interface is shared by the plurality of masters, and
the interface is configured to interface the plurality of masters with the external device.

### Claim 15 (depends on 11)

The SoC of claim 11, wherein the multi-master controller is configured to execute an atomic sequence corresponding to a first request or a second request from among the requests.

### Claim 16 (depends on 11)

The SoC of claim 11, wherein the multi-master controller includes:
a first atomic sequencer configured to manage a first request, from among the requests, for accessing to the interface; and
a second atomic sequencer configured to manage a second request, from among the requests, for accessing to the interface.

### Claim 17 (depends on 16)

The SoC of claim 16, wherein the multi-master controller is configured to assign a priority either to the first atomic sequencer or the second atomic sequencer.

### Claim 18 (depends on 16)

The SoC of claim 16, wherein the multi-master controller is configured to assign a semaphore to the first atomic sequencer or to the second atomic sequencer.

### Claim 19 (depends on 11)

The SoC of claim 11, wherein at least one of the plurality of masters is an application processor or a communication processor.

### Claim 20

A device comprising:
a first master;
a second master;
an interface configured to provide communication between a slave and the first master and/or communication between the slave and the second master; and
a controller configured to receive a first request to access the interface from the first master and a second request to access the interface from the second master, determine a first operational period for the first master and a second operational period for the second master, and schedule the first master to have access to the interface for the first operational period and the second master to have access to the interface for the second operational period,
wherein the interface uses a serial data line and a serial clock line for the communication,
wherein the interface is shared by the first master and the second master via I2C (Inter-Integrated Circuit) interface protocol.
