# US 2024/0004805 A1 · Peripheral interconnect controller

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

- Number: US 2024/0004805 A1
- Document ID: US20240004805A1
- Status: Published application
- Kind: A1
- Application number: 18/039,362
- Filed: 2021-12-01
- Published: 2024-01-04
- Earliest claimed: 2020-12-01
- Assignees: Nordic Semiconductor ASA
- Applicants: Nordic Semiconductor ASA
- Inventors: Pål HÅLAND; Carsten WULFF
- Web page: https://patentgrep.com/patent/US20240004805A1

## CPC

- G06F 13/12: using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F 13/122: {where hardware performs an I/O function other than control of data transfer}
- G05B 19/0423: {Input/output}
- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F 9/45512: {Command shells}
- G06F 13/128: {for dedicated transfers to a network (for protocol converters G06F13/387)}
- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- 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)
- 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)
- 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

There is disclosed an electronic device and a method of operating an electronic device. It has peripherals which each have one or more event outputs or task inputs, connected to a peripheral interconnect. The device also has a controller for configuring the peripheral interconnect and a memory, which are communicatively coupled to a bus system. The peripheral interconnect receives configuration data from the controller, which selectively connects peripheral event outputs and task inputs. The controller uses the bus system to access a sequence of instructions in a script stored in the memory. Each instruction in the sequence identifies a peripheral task input, event output and a second peripheral event output. Each subsequent instruction in the sequence is implemented in response to detecting an event signalled from the second peripheral event output identified by the preceding instruction in the sequence.

## Claims

### Claim 1

An electronic device comprising:
a plurality of peripherals each peripheral comprising one or more event outputs or task inputs;
a peripheral interconnect, coupled to each of the peripheral event outputs and peripheral task inputs;
a controller for configuring the peripheral interconnect;
a memory; and
a bus system, communicatively coupled to the controller and to the memory,
wherein the peripheral interconnect comprises:
an input for receiving configuration data from the controller; and
circuitry, responsive to the received configuration data, for selectively connecting peripheral event outputs to peripheral task inputs, and
wherein the controller is configured to:
access, over the bus system, a script comprising a sequence of instructions, stored in the memory, the sequence comprising a first instruction and one or more subsequent instructions, wherein each instruction identifies a first peripheral event output, a peripheral task input, and a second peripheral event output;
implement each instruction of the sequence of instructions by sending respective configuration data to the peripheral interconnect for configuring the peripheral interconnect to connect the first peripheral event output identified by the instruction to the peripheral task input identified by the instruction; and
implement each subsequent instruction in the sequence of instructions in response to detecting an event signalled from the second peripheral event output identified by the preceding instruction in the sequence of instructions.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein the plurality of peripherals includes a hardware timer, wherein the hardware timer comprises:
a configuration input for receiving configuration data representative of a time;
a timer event output; and
circuitry, responsive to the received configuration data, for signalling a timer event from the timer event output at said time.

### Claim 3 (depends on 2)

The electronic device of claim 2, wherein each instruction of the script further identifies a respective time, and the controller is configured to send configuration data to the hardware timer for configuring the hardware timer to signal a respective timer event at the respective time.

### Claim 4 (depends on 3)

The electronic device of claim 3, wherein the controller is configured to send the respective configuration data to the hardware timer sequentially when implementing each instruction of the script.

### Claim 5 (depends on 1)

The electronic device of claim 1, wherein the peripheral interconnect supports a plurality of simultaneous channels, each channel connecting a respective event output to a respective task input, and wherein the controller is configured, when implementing each instruction of the script, to instruct the peripheral interconnect to use a common channel for connecting the first peripheral event output to the peripheral task input.

### Claim 6 (depends on 1)

The electronic device of claim 1, having a script stored in the memory.

### Claim 7 (depends on 6)

The electronic device of claim 6, wherein the script occupies a contiguous address range in the memory, with the sequence of instructions stored in sequence through an address space of the memory.

### Claim 8 (depends on 1)

The electronic device of claim 1, wherein the controller is configured to access the script by reading from a contiguous block of the memory and to access each successive instruction of the sequence of instructions by incrementing an address pointer through the memory.

### Claim 9 (depends on 1)

The electronic device of claim 1, further comprising a processor, communicatively coupled to the controller and to the memory, and wherein the controller is implemented by software instructions, stored in the memory, for execution by the processor.

### Claim 10 (depends on 9)

The electronic device of claim 9, wherein the controller is configured to execute one or more software helper functions, stored in the memory, that are associated with the script, wherein each instruction in the script identifies one or more of the first peripheral event output, the peripheral task input, and the second peripheral event output, by a pointer to a respective software helper function, wherein the respective software helper function comprises data that identifies the respective event output or task input.

### Claim 11 (depends on 9)

The electronic device of claim 9, wherein the controller is configured, when implementing each instruction, to detect an event signalled from the second peripheral event output, identified by the instruction, by polling a register associated with the second peripheral event output.

### Claim 12 (depends on 1)

The electronic device of claim 1, wherein the controller is implemented by hardware circuitry, independently of any processor of the electronic device.

### Claim 13 (depends on 12)

The electronic device of claim 12, wherein the controller is a bus master on the bus system and is configured to use direct memory access to read the script from the memory.

### Claim 14 (depends on 12)

The electronic device of claim 12, wherein the controller comprises a controller task input coupled to the peripheral interconnect, and wherein the controller is configured, when implementing each instruction, to send configuration data to the peripheral interconnect for configuring the peripheral interconnect to connect the second peripheral event output, identified by the instruction, to the controller task input, so as to detect an event signalled from the second peripheral event output over the peripheral interconnect.

### Claim 15 (depends on 1)

The electronic device of claim 1, wherein the plurality of peripherals includes a radio peripheral, wherein the radio peripheral comprises:
radio transceiver circuitry; and
one or more task inputs, each associated with a different operation of the radio transceiver circuitry, wherein the radio transceiver circuitry is configured to perform a respective operation in response to receiving an electrical signal at the respective task input of the plurality of task inputs.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein the radio peripheral comprises one or more event outputs, each associated with a different event detected by the radio transceiver circuitry, and wherein the radio transceiver circuitry is configured to output an electrical signal from the respective event output in response to detecting the respective event.

### Claim 17 (depends on 15)

The electronic device of claim 15, wherein the memory stores a script for configuring the peripheral interface for performing a radio ranging procedure by connecting a hardware timer of the device to a plurality of different task inputs of the radio peripheral at different respective times.

### Claim 18 (depends on 15)

The electronic device of claim 15, wherein the radio peripheral supports a Bluetooth™ radio protocol.

### Claim 19 (depends on 1)

The electronic device of claim 1, wherein the device is an integrated-circuit system-on-chip.

### Claim 20

A method of operating an electronic device, wherein the electronic device comprises:
a plurality of peripherals each peripheral comprising one or more event outputs or task inputs;
a peripheral interconnect, coupled to each of the peripheral event outputs and peripheral task inputs;
a controller for configuring the peripheral interconnect;
a memory; and
a bus system, communicatively coupled to the controller and to the memory,
wherein the peripheral interconnect comprises:
an input for receiving configuration data from the controller; and
circuitry, responsive to the received configuration data, for selectively connecting peripheral event outputs to peripheral task inputs,
the method comprising the controller:
accessing, over the bus system, a script comprising a sequence of instructions, stored in the memory, the sequence comprising a first instruction and one or more subsequent instructions, wherein each instruction identifies a first peripheral event output, a peripheral task input, and a second peripheral event output;
implementing each instruction of the sequence of instructions by sending respective configuration data to the peripheral interconnect for configuring the peripheral interconnect to connect the first peripheral event output identified by the instruction to the peripheral task input identified by the instruction; and
implementing each subsequent instruction in the sequence of instructions in response to detecting an event signalled from the second peripheral event output identified by the preceding instruction in the sequence of instructions.
