# US 2024/0202148 A1 · Computer system and method for transmitting data between a memory and a peripheral

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

- Number: US 2024/0202148 A1
- Document ID: US20240202148A1
- Status: Published application
- Kind: A1
- Application number: 18/537,453
- Filed: 2023-12-12
- Published: 2024-06-20
- Earliest claimed: 2022-12-16
- Assignees: STMicroelectronics International N.V.
- Applicants: STMicroelectronics International N.V.
- Inventors: Jean-Christophe BATLLO; Zied GRISSA; Delphine LE GOASCOZ; Gwendhal BORREMANS
- Web page: https://patentgrep.com/patent/US20240202148A1

## CPC

- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer system includes a central processing unit, a peripheral circuit configured to process data having a first format, a memory configured to store data intended for the peripheral circuit, the data having a second format distinct from the first format. The system includes a direct memory access controller configured, during a transmission of data from the memory towards the peripheral circuit, to recover data intended for the peripheral circuit and stored in the memory, to modify the format of the recovered data to obtain data having the first format, and to transmit the data according to the first format to the peripheral circuit. The central processing unit is configured to initialize a data transmission from the memory towards the peripheral circuit via the direct memory access controller.

## Claims

### Claim 1

A computer system, comprising:
a central processing unit;
a peripheral circuit configured to process data having a first format;
a memory configured to store data intended for the peripheral circuit, the data having a second format distinct from the first format; and
a direct memory access controller configured, during a transmission of data from the memory towards the peripheral, to:
recover data intended for the peripheral and stored in the memory;
modify the format of the recovered data to obtain data having the first format;
transmit the recovered data with the first format to the peripheral circuit, the central processing unit being configured to initialize a data transmission from the memory towards the peripheral circuit via the direct memory access controller.

### Claim 2 (depends on 1)

The computer system according to claim 1, wherein the data intended for the peripheral includes digital words encoded over several bytes, the bytes of the digital words being ordered in the memory according to the second format, the direct memory access controller is configured to recover the bytes of the digital words in the memory and to order them according to the first format before transmitting them to the peripheral circuit.

### Claim 3 (depends on 2)

The computer system according to claim 2, wherein the bytes of the digital words are stored at data addresses of the memory, the central processing unit being configured to program the direct memory access controller to enable the latter to determine the addresses of the digital words to access the memory according to the second format.

### Claim 4 (depends on 2)

The computer system according to claim 2, wherein the memory is configured to store N-byte digital words, N being an integer, the peripheral circuit being configured to receive and then process M-byte digital words, M being an integer multiple of N, the direct memory access controller being configured to assemble M/N N-byte digital words stored in the memory so as to obtain a M-byte digital word, then to transmit this M-byte digital word to the peripheral.

### Claim 5 (depends on 4)

The computer system according to claim 4, wherein N is equal to two and M is equal to four.

### Claim 6 (depends on 1)

The computer system according to claim 1, wherein the peripheral circuit is an encryption/decryption circuit configured to encrypt/decrypt a digital message stored in the memory and to calculate an authentication signature from a prefix and data of a header associated to the digital message, the memory being configured to separately store the data of the header and the prefix.

### Claim 7 (depends on 6)

The computer system according to claim 6, wherein the direct memory access controller is configured to concatenate the prefix and the data of the header so as to obtain a reformatted header, then to transmit the reformatted header to the encryption/decryption circuit.

### Claim 8 (depends on 7)

The computer system according to claim 7, wherein the stored data of the header includes digital words encoded over several bytes, the bytes of these digital words being ordered in the memory according to the second format, the direct memory access controller is configured to recover the bytes of these digital words from the data of the header in the memory and to order them according to the first format before transmitting them to the peripheral circuit.

### Claim 9

A method, comprising:
initializing, by a central processing unit of computer system, data transmission from a memory of the computer system towards a peripheral circuit of the computer system via a direct memory access controller of the system, the memory configured to store data intended for the peripheral circuit, the peripheral circuit configured to process data having a first format;
recovering, by the direct memory access controller, the data intended for the peripheral circuit and stored in the memory;
modifying, by the direct memory access controller, a format of the recovered data to obtain data having the first format; and
transmitting, by the direct memory access controller, the data according to the first format to the peripheral circuit.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the data intended for the peripheral circuit includes digital words encoded over several bytes, the bytes of the digital words being ordered in the memory according to the second format, the method comprising:
recovering, by the direct memory access controller, the bytes of the digital words in the memory;
ordering the bytes of the digital words according to the first format by the direct memory access controller; and
transmitting by the direct memory access controller the bytes of the digital words ordered according to the first format to the peripheral circuit.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the bytes of the digital words are stored at data addresses of the memory, the recovery of the bytes of the digital words in the memory including determining, by the direct memory access controller, the addresses of the bytes of the digital words to access in the memory according to the second format.

### Claim 12 (depends on 10)

The method according to claim 10, wherein the memory is configured to store N-byte digital words, N being an integer, the peripheral circuit being configured to receive and then process M-byte digital words, M being an integer multiple of N, the method comprising assembling, by the direct memory access controller, M/N N-byte digital words stored in the memory so as to obtain a M-byte digital word, then transmitting this M-byte digital word to the peripheral circuit.

### Claim 13 (depends on 12)

The method according to claim 12, wherein N is equal to two and M is equal to four.

### Claim 14 (depends on 9)

The method according to claim 9, wherein the peripheral circuit is an encryption/decryption circuit configured to encrypt/decrypt a digital message stored in the memory and to calculate an authentication signature from a prefix and data of a header associated to the digital message, the memory being configured to separately store the data of the header and the prefix.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the modification of the format of the data by the direct memory access controller includes a concatenation of the prefix and of the data of the header so as to obtain a reformatted header, this reformatted header being transmitted afterwards to the encryption/decryption circuit by the direct memory access controller.

### Claim 16 (depends on 15)

The method according to claim 15, wherein the stored data of the header includes digital words encoded over several bytes, the bytes of these digital words being ordered in the memory according to the second format, the method comprising:
recovering, by the direct memory access controller, the bytes of the digital words of the header in the memory;
ordering the bytes of the digital words of the header according to the first format by the direct memory access controller; and
transmitting by the direct memory access controller the bytes of the digital words of the header ordered according to the first format to the peripheral circuit.

### Claim 17

A method, comprising:
recovering, with a direct memory access controller of a system, data intended for the peripheral circuit of the system and stored in a memory of the system, the peripheral circuit being configured to process data having a first format, the memory configured to store data intended for the peripheral circuit;
modifying, with the direct memory access controller, a format of the recovered data from the second format to the first format; and
transmitting, with the direct memory access controller, the recovered data with the first format to the peripheral circuit.

### Claim 18 (depends on 17)

The method of claim 17, comprising initializing, with a central processing unit of the system, a data transmission from the memory to the peripheral circuit via the direct memory access controller.

### Claim 19 (depends on 18)

The method of claim 18, wherein the data intended for the peripheral circuit includes digital words encoded over several bytes, the bytes of the digital words being ordered in the memory according to the second format, the method comprising:
recovering, by the direct memory access controller, the bytes of the digital words in the memory;
ordering the bytes of the digital words according to the first format by the direct memory access controller; and
transmitting by the direct memory access controller the bytes of the digital words ordered according to the first format to the peripheral circuit.

### Claim 20 (depends on 19)

The method according to claim 19, wherein the bytes of the digital words are stored at data addresses of the memory, the recovery of the bytes of the digital words in the memory including determining, by the direct memory access controller, the addresses of the bytes of the digital words to access in the memory according to the second format.
