# US 2025/0383979 A1 · Storage controller, storage device including the same, and operating method thereof

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

- Number: US 2025/0383979 A1
- Document ID: US20250383979A1
- Status: Published application
- Kind: A1
- Application number: 18/957,010
- Filed: 2024-11-22
- Published: 2025-12-18
- Earliest claimed: 2024-06-13
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Hyungjin KIM; Junyeol LEE; Chulseung LEE
- Web page: https://patentgrep.com/patent/US20250383979A1

## CPC

- G06F 12/0223: {User address space allocation, e.g. contiguous or non contiguous base addressing}
- G06F 13/1694: {Configuration of memory controller to different memory types}
- G06F 13/1668: {Details of memory controller}
- G06F 13/4243: {with synchronous protocol}
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A storage device comprising a storage controller including a plurality of first data pins and configured to send a command through a command/address (CA) line, the command including a first data pattern; and a memory device including a plurality of second data pins connected to the plurality of first data pins through a plurality of data lines, and configured to, in response to receiving the command from the storage controller, generate a second data pattern corresponding to the first data pattern based on the command, and send the second data pattern to the storage controller through the plurality of data lines, and the storage controller configured to receive a third data pattern in response to the memory device sending the second data pattern, and determine a connection structure between the plurality of first data pins and the plurality of second data pins based on the second and third data patterns.

## Claims

### Claim 1

A storage device, comprising:
a storage controller including a plurality of first data pins, the storage controller configured to send a command through a command/address (CA) line, the command including a first data pattern; and
a memory device including a plurality of second data pins connected to the plurality of first data pins through a plurality of data lines, the memory device configured to, in response to receiving the command from the storage controller,
generate a second data pattern corresponding to the first data pattern based on the command, and
send the second data pattern to the storage controller through the plurality of data lines, and the storage controller configured to
receive a third data pattern in response to the memory device sending the second data pattern, and
determine a connection structure between the plurality of first data pins and the plurality of second data pins based on the second data pattern and the third data pattern.

### Claim 2 (depends on 1)

The storage device according to claim 1, wherein
the storage controller is further configured to determine, based on the second data pattern and the third data pattern, whether or not to activate a swap circuit connected to the plurality of data lines, and
the swap circuit is configured to change, if the swap circuit is activated, a signal arrangement of data input to the swap circuit.

### Claim 3 (depends on 2)

The storage device according to claim 2, wherein the storage controller is further configured to:
determine, based on the command, the second data pattern to be generated in the memory device; and
determine whether or not to activate the swap circuit by comparing an arrangement of the determined second data pattern with an arrangement of the third data pattern.

### Claim 4 (depends on 2)

The storage device according to claim 2, wherein the storage controller is further configured to deactivate the swap circuit if the second data pattern and the third data pattern are same.

### Claim 5 (depends on 2)

The storage device according to claim 2, wherein the storage controller is further configured to send a swap enable signal to the swap circuit for activating the swap circuit, if the second data pattern and the third data pattern are different.

### Claim 6 (depends on 5)

The storage device according to claim 5, wherein the swap circuit comprises a plurality of multiplexers,
each of the plurality of multiplexers are connected to the plurality of data lines, and
the storage controller is further configured to send to the plurality of multiplexers, if the second data pattern and the third data pattern are different from each other, a selection signal for selecting a data line to be connected to each of the plurality of multiplexers from among the plurality of data lines.

### Claim 7 (depends on 5)

The storage device according to claim 5, wherein
the storage controller comprises the swap circuit, the swap circuit is further configured to
receive first data to be sent to the memory device, the first data including a first arrangement of data signals, and
output second data to the plurality of first data pins, the second data including a second arrangement of data signals changed from the first arrangement of data signals included in the first data,
the memory device is configured to receive third data through the plurality of data lines, the third data including a third arrangement of data signals changed from the second arrangement of data signals included in the second data, and
the third data is same as the first data.

### Claim 8 (depends on 5)

The storage device according to claim 5, wherein
the storage controller comprises the swap circuit,
the storage controller is further configured to receive, through the plurality of data lines, second data with an arrangement of data signals changed from an arrangement of data signals included in first data to be sent from the memory device to the storage controller,
the swap circuit is further configured to receive the second data, and output third data with an arrangement of data signals changed from the arrangement of data signals included in the second data, and
the third data is same as the first data.

### Claim 9 (depends on 5)

The storage device according to claim 5, wherein
the memory device comprises the swap circuit,
the swap circuit is further configured to
receive first data to be sent from the memory device to the storage controller, the first data including a first arrangement of data signals, and
output second data to the plurality of second data pins, the second data including a second arrangement of data signals changed from the first arrangement of data signals included in the first data,
the storage controller is further configured to receive third data through the plurality of data lines, the third data including a third arrangement of data signals changed from the second arrangement of data signals included in the second data, and
the third data is same as the first data.

### Claim 10 (depends on 5)

The storage device according to claim 5, wherein
the memory device comprises the swap circuit,
the memory device is configured to receive, through the plurality of data lines, second data with an arrangement of data signals changed from an arrangement of data signals included in first data to be sent from the storage controller to the memory device,
the swap circuit is further configured to receive the second data, and output third data with an arrangement of data signals changed from the arrangement of data signals included in the second data, and
the third data is same as the first data.

### Claim 11 (depends on 1)

The storage device according to claim 1, wherein
the plurality of second data pins of the memory device are in a same order as the plurality of first data pins of the storage controller, or in a reverse order from the plurality of first data pins of the storage controller, and
the second data pattern includes a same number of bits as a number of the plurality of data lines.

### Claim 12 (depends on 1)

The storage device according to claim 1, wherein
the second data pattern includes a plurality of patterns,
each of the plurality of patterns includes a same number of bits as a number of the plurality of data lines,
any one of the same number of bits as the number of the plurality of data lines is a first bit,
bits other than the any one of the same number of bits as the number of the plurality of data lines are second bits, and
the second bits are opposite bits of the first bit.

### Claim 13 (depends on 12)

The storage device according to claim 12, wherein
the number of the plurality of patterns is a same as or one less than the number of the plurality of data lines, and
each of the plurality of patterns is different.

### Claim 14 (depends on 1)

The storage device according to claim 1, wherein
the second data pattern includes a same number of unique identification patterns as a number of the plurality of data lines,
the third data pattern includes a plurality of patterns,
each of the plurality of patterns includes a same number of bits as the number of the plurality of data lines, and
as the plurality of first data pins sequentially receive the plurality of patterns, each of the plurality of first data pins receives a pattern corresponding to any one of the unique identification patterns.

### Claim 15 (depends on 1)

The storage device according to claim 1, wherein
the command is a read training command, and
the second data pattern is stored in a register of the memory device and sent from the register to the storage controller.

### Claim 16 (depends on 1)

The storage device according to claim 1, wherein the storage controller is connected to each of a plurality of memory devices comprising the memory device.

### Claim 17 (depends on 16)

The storage device according to claim 16, wherein each of the plurality of memory devices is selectively connected to a channel, the channel including the command/address line and the plurality of data lines to communicate with the storage controller.

### Claim 18

A storage controller, comprising:
a plurality of first data pins;
processing circuitry configured to generate a first data pattern; and
a logic circuit configured to,
send a command including the generated first data pattern to a memory device through a command/address line;
receive, in response to receiving a second data pattern from the memory device through a plurality of data lines, a third data pattern, the second data pattern generated based on the command; and
determine, based on the second data pattern and the third data pattern, a connection structure between the plurality of first data pins and a plurality of second data pins of the memory device, the plurality of first data pins being connected to the plurality of second data pins through the plurality of data lines.

### Claim 19 (depends on 18)

The storage controller according to claim 18, wherein
the processing circuitry is further configured to determine, based on the command, the second data pattern to be generated in the memory device, and
the logic circuit is further configured to determine whether or not to activate a swap circuit connected to the plurality of data lines by comparing an arrangement of the determined second data pattern and an arrangement of the third data pattern.

### Claim 20

A method of operating a storage device including a storage controller and a memory device, the method comprising:
sending, by the storage controller, a command including a first data pattern, through a command/address line;
generating, by the memory device, in response to receiving the command from the storage controller, a second data pattern corresponding to the first data pattern based on the command;
sending, by the memory device, the second data pattern to the storage controller through a plurality of data lines;
receiving, by the storage controller, in response to the memory device sending the second data pattern, a third data pattern; and
determining, by the storage controller, based on the second data pattern and the third data pattern, a connection structure between a plurality of first data pins of the storage controller and a plurality of second data pins of the memory device, the plurality of first data pins and the plurality of second data pins being connected to each other through the plurality of data lines.
