# US 2021/0264066 A1 · Peripheral access on a secure-aware bus system

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

- Number: US 2021/0264066 A1
- Document ID: US20210264066A1
- Status: Published application
- Kind: A1
- Application number: 17/255,876
- Filed: 2019-06-26
- Published: 2021-08-26
- Earliest claimed: 2018-06-28
- Assignees: Nordic Semiconductor ASA
- Applicants: Nordic Semiconductor ASA
- Inventors: Ronan BARZIC; Berend DEKENS; Frank AUNE; Anders NORE
- Web page: https://patentgrep.com/patent/US20210264066A1

## CPC

- G06F 21/85: interconnection devices, e.g. bus-connected or in-line devices
- G06F 21/54: by adding security routines or objects to programs
- G06F 21/567: {using dedicated hardware}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- H04L 63/02: {for separating internal from external traffic, e.g. firewalls}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An integrated-circuit device comprises a processor, a peripheral component, a bus system, connected to the processor and to the peripheral component, and configured to carry bus transactions; and hardware filter logic. The bus system is configured to carry security-state signals for distinguishing between secure and non-secure bus transactions. The peripheral component comprises a register interface, accessible over the bus system, and comprising a hardware register and a direct-memory-access (DMA) controller for initiating bus transactions on the bus system. The peripheral component supports a secure-in-and-non-secure-out state in which the hardware filter logic is configured to prevent non-secure bus transactions from accessing the hardware register of the peripheral component, but to allow secure bus transactions to access the peripheral component. The peripheral component is configured to allow an incoming secure bus transaction to access the hardware register and to initiate a bus transaction as non-secure.

## Claims

### Claim 1

An integrated-circuit device comprising:
a processor;
a peripheral component;
a bus system, connected to the processor and to the peripheral component, and configured to carry bus transactions; and
hardware filter logic,
wherein:
the bus system is configured to carry security-state signals for distinguishing between secure bus transactions and non-secure bus transactions;
the peripheral component comprises a register interface, accessible over the bus system, the register interface comprising a hardware register;
the peripheral component comprises a direct-memory-access (DMA) controller for initiating bus transactions on the bus system; and
the peripheral component supports a secure-in-and-non-secure-out state in which:
the hardware filter logic is configured to prevent non-secure bus transactions from accessing the hardware register of the peripheral component, but to allow secure bus transactions to access the peripheral component;
the peripheral component is configured to allow an incoming secure bus transaction to access the hardware register; and
the peripheral component is configured to initiate a bus transaction on the bus system as a non-secure bus transaction.

### Claim 2 (depends on 1)

The integrated-circuit device of claim 1, wherein the hardware filter logic is configured to prevent non-secure bus transactions from reaching the peripheral component.

### Claim 3 (depends on 1)

The integrated-circuit device of claim 1, wherein the hardware filter logic is configured to intercept bus transactions at one or more interception points within the bus system, each interception point being positioned within the bus system such that bus transactions from at least two master components pass the interception point, and such that bus transactions for at least two slave components pass the interception point.

### Claim 4 (depends on 3)

The integrated-circuit device of claim 3, wherein the hardware filter logic is configured, for each intercepted bus transaction, to use i) a slave address of the intercepted bus transaction, and ii) the security state of the intercepted bus transaction, to determine whether to allow the intercepted bus transaction, in accordance with a set of filtering rules, and is configured to block intercepted bus transaction that are determined not to be allowed.

### Claim 5 (depends on 4)

The integrated-circuit device of claim 4, wherein the filtering rules determine, for each pairing of master component and slave component, whether secure bus transactions initiated by the master component are allowed to be received by the slave component, and whether non-secure bus transactions initiated by the master component should be received by the slave component.

### Claim 6 (depends on 1)

The integrated-circuit device of claim 1, wherein the peripheral component is switchable between the secure-in-and-non-secure-out state, and a non-secure state in which:
the hardware filter logic is configured to allow non-secure bus transactions to access the hardware register; and
the peripheral component is configured to initiate a bus transaction on the bus system as a non-secure bus transaction.

### Claim 7

A method of operating an integrated-circuit device, wherein the integrated-circuit device comprises:
a processor;
a peripheral component; and
a bus system, connected to the processor and to the peripheral component, and configured to carry secure bus transactions and non-secure bus transactions,
wherein the peripheral component comprises a register interface, accessible over the bus system, the register interface comprising a hardware register,
the method comprising the peripheral component being in a secure-in-and-non-secure-out state and, while the peripheral component is in the secure-in-and-non-secure-out state:
preventing non-secure bus transactions from accessing the hardware register of the peripheral component;
allowing an incoming secure bus transaction to access the hardware register; and
the peripheral component initiating a non-secure bus transaction on the bus system.

### Claim 8

An integrated-circuit device comprising:
a processor;
a peripheral component; and
a bus system, connected to the processor and to the peripheral component, and configured to carry bus transactions,
wherein:
the peripheral component comprises a register interface, accessible over the bus system, the register interface comprising a first hardware register and a second hardware register;
the bus system is configured to carry security-state signals for distinguishing between secure bus transactions and non-secure bus transactions;
the peripheral component comprises an input for receiving security-state signals from the bus system; and
the peripheral component supports a split-security state in which the peripheral component is configured to:
prevent a non-secure bus transaction from accessing the first hardware register;
allow a secure bus transaction to access the first hardware register; and
allow a non-secure bus transaction to access the second hardware register.

### Claim 9 (depends on 8)

The integrated-circuit device of claim 8, wherein the peripheral component is configured to use the security state of an incoming bus transaction, and the address of the incoming bus transaction, to determine whether to allow or prevent the bus transaction from accessing a hardware register of the peripheral component at said address.

### Claim 10 (depends on 8)

The integrated-circuit device of claim 8, wherein the peripheral component is an SPI (Serial Peripheral Interface) peripheral, or a UART (Universal Asynchronous Receiver-Transmitter) peripheral, or a two-wire interface peripheral, or an I2C (Inter-Integrated Circuit) peripheral, or an ADC (Analogue-to-Digital Converter) peripheral, or a DAC (Digital-to-Analogue Converter) peripheral, or a PWM (Pulse Width Modulation) peripheral, or a quadrature decoder peripheral, or a cryptographic co-processor, or a GPIO (General-Purpose Input-Output) control peripheral, or a peripheral-interconnect control peripheral.

### Claim 11 (depends on 8)

The integrated-circuit device of claim 8, wherein, when the peripheral component is in the split-security state, the peripheral component is configured to allow secure bus transactions to access the second hardware register.

### Claim 12 (depends on 8)

The integrated-circuit device of claim 8, wherein the peripheral component is switchable between the split-security state and a secure state, and wherein, when the peripheral component is in the secure state, the device is configured to prevent non-secure bus transactions from reaching the peripheral component.

### Claim 13 (depends on 12)

The integrated-circuit device of claim 12, wherein the device comprises a system protection unit that provides a register interface for controlling the state of the peripheral component.

### Claim 14 (depends on 12)

The integrated-circuit device of claim 12, wherein the device comprises an integral direct-memory-access (DMA) controller for initiating bus transactions on the bus system, wherein the DMA controller is configured to output security-state signals onto the bus system, wherein the peripheral component is configured to initiate non-secure bus transactions when the peripheral component is in the split-security state, and wherein the peripheral component is switchable, when in the split-security state, between initiating secure bus transactions and initiating non-secure bus transactions.

### Claim 15

A method of operating an integrated-circuit device, wherein the integrated-circuit device comprises:
a processor;
a peripheral component; and
a bus system, connected to the processor and to the peripheral component, and configured to carry secure bus transactions and non-secure bus transactions,
wherein the peripheral component comprises a register interface, accessible over the bus system, the register interface comprising a first hardware register and a second hardware register,
the method comprising:
the peripheral component receiving secure bus transactions and non-secure bus transactions from the bus system; and
the peripheral component being in a split-security state and, while in the split-security state:
preventing a non-secure bus transaction from accessing the first hardware register;
allowing a secure bus transaction to access the first hardware register; and
allowing a non-secure bus transaction to access the second hardware register.
