# US 2023/0168813 A1 · Temperature-based scrambling for error control in memory systems

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

- Number: US 2023/0168813 A1
- Document ID: US20230168813A1
- Status: Published application
- Kind: A1
- Application number: 17/456,980
- Filed: 2021-11-30
- Published: 2023-06-01
- Earliest claimed: 2021-11-30
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Christopher Joseph Bueb
- Web page: https://patentgrep.com/patent/US20230168813A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0623: {in relation to content}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F 2211/007: Encryption, En-/decode, En-/decipher, En-/decypher, Scramble, (De-)compress
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and devices for temperature-based scrambling for error control in memory systems are described. Techniques are described for a memory system to scramble data using different scrambling code parameters when writing the data at different temperatures. Scrambling the data using scrambling code parameters that are based on the temperatures at the time or writing the data may reduce errors introduced into the data by operating the memory cells at extreme temperatures.

## Claims

### Claim 1

A method, comprising:
receiving a command to write a set of data to a memory system;
selecting, based at least in part on receiving the command and a temperature of the memory system, a scrambling code from a set of scrambling codes for scrambling the set of data, each scrambling code of the set of scrambling codes corresponding to a respective temperature range of the memory system;
scrambling the set of data using the selected scrambling code; and
storing the scrambled set of data in the memory system.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
storing, in the memory system, an indication of the selected scrambling code used to scramble the set of data.

### Claim 3 (depends on 2)

The method of claim 2, wherein the indication comprises an index of a table that includes the set of scrambling codes, the index pointing to an entry in the table that includes the selected scrambling code.

### Claim 4 (depends on 2)

The method of claim 2, wherein the indication comprises the selected scrambling code.

### Claim 5 (depends on 2)

The method of claim 2, wherein the indication is stored in a codeword associated with the stored scrambled set of data.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
receiving a second command to read the set of data from the memory system;
retrieving, from the memory system, the scrambled set of data;
identifying, based at least in part on receiving the second command, the scrambling code that was used to scramble the set of data;
descrambling the scrambled set of data using the identified scrambling code; and
transmitting the descrambled set of data to a host system.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
retrieving, from the memory system, an indication of the scrambling code that was used to scramble the set of data, based at least in part on receiving the second command, wherein identifying the scrambling code is based at least in part on retrieving the indication.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
generating, using an error control operation, an error control code for the scrambled set of data after the set of data has been scrambled; and
storing the error control code in the memory system.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
scrambling the generated error control code before storing the scrambled error control code in the memory system.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
receiving a second command to read the set of data from the memory system;
retrieving, from the memory system, the scrambled set of data and the error control code for the scrambled set of data;
performing a second error control operation on the scrambled set of data using the error control code to obtain a corrected scrambled set of data based at least in part on retrieving the scrambled set of data and the error control code;
identifying, based at least in part on receiving the second command, the scrambling code that was used to scramble the set of data;
descrambling the corrected scrambled set of data using the identified scrambling code; and
transmitting the descrambled corrected set of data to a host system.

### Claim 11 (depends on 1)

The method of claim 1, wherein the set of scrambling codes are each configured to prioritize one or more voltage levels stored in the memory system over other voltage levels stored in the memory system.

### Claim 12 (depends on 1)

The method of claim 1, wherein the scrambled set of data is stored in multi-level cells of the memory system.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
identifying, based at least in part on receiving the command, the temperature of the memory system, wherein selecting the scrambling code is based at least in part on identifying the temperature.

### Claim 14

An apparatus, comprising:
a controller associated with a memory system, wherein the controller is configured to cause the apparatus to:
receive a command to write a set of data to the memory system;
select, based at least in part on receiving the command and a temperature of the memory system, a scrambling code from a set of scrambling codes for scrambling the set of data, each scrambling code of the set of scrambling codes corresponding to a respective temperature range of the memory system;
scramble the set of data using the selected scrambling code; and
store the scrambled set of data in the memory system.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the controller is further configured to cause the apparatus to:
store, in the memory system, an indication of the selected scrambling code used to scramble the set of data.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the controller is further configured to cause the apparatus to:
receive a second command to read the set of data from the memory system;
retrieve, from the memory system, the scrambled set of data;
identify, based at least in part on receiving the second command, the scrambling code that was used to scramble the set of data;
descramble the scrambled set of data using the identified scrambling code; and
transmit the descrambled set of data to a host system.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the controller is further configured to cause the apparatus to:
retrieve, from the memory system, an indication of the scrambling code that was used to scramble the set of data, based at least in part on receiving the second command, wherein identifying the scrambling code is based at least in part on retrieving the indication.

### Claim 18 (depends on 14)

The apparatus of claim 14, wherein the controller is further configured to cause the apparatus to:
generate, using an error control operation, an error control code for the scrambled set of data after the set of data has been scrambled; and
store the error control code in the memory system.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the controller is further configured to cause the apparatus to:
scramble the generated error control code before storing the scrambled error control code in the memory system.

### Claim 20 (depends on 18)

The apparatus of claim 18, wherein the controller is further configured to cause the apparatus to:
receive a second command to read the set of data from the memory system;
retrieve, from the memory system, the scrambled set of data and the error control code for the scrambled set of data;
perform a second error control operation on the scrambled set of data using the error control code to obtain a corrected scrambled set of data based at least in part on retrieving the scrambled set of data and the error control code;
identify, based at least in part on receiving the second command, the scrambling code that was used to scramble the set of data;
descramble the corrected scrambled set of data using the identified scrambling code; and
transmit the descrambled corrected set of data to a host system.

### Claim 21

A non-transitory computer-readable medium storing code, the code comprising instructions executable by a processor to:
receive a command to write a set of data to a memory system;
select, based at least in part on receiving the command and a temperature of the memory system, a scrambling code from a set of scrambling codes for scrambling the set of data, each scrambling code of the set of scrambling codes corresponding to a respective temperature range of the memory system;
scramble the set of data using the selected scrambling code; and
store the scrambled set of data in the memory system.

### Claim 22 (depends on 21)

The non-transitory computer-readable medium of claim 21, wherein the instructions are further executable by the processor to:
receive a second command to read the set of data from the memory system;
retrieve, from the memory system, the scrambled set of data;
identify, based at least in part on receiving the second command, the scrambling code that was used to scramble the set of data;
descramble the scrambled set of data using the identified scrambling code; and
transmit the descrambled set of data to a host system.

### Claim 23 (depends on 22)

The non-transitory computer-readable medium of claim 22, wherein the instructions are further executable by the processor to:
retrieve, from the memory system, an indication of the scrambling code that was used to scramble the set of data, based at least in part on receiving the second command, wherein identifying the scrambling code is based at least in part on retrieving the indication.

### Claim 24 (depends on 21)

The non-transitory computer-readable medium of claim 21, wherein the instructions are further executable by the processor to:
generate, using an error control operation, an error control code for the scrambled set of data after the set of data has been scrambled; and
store the error control code in the memory system.

### Claim 25 (depends on 24)

The non-transitory computer-readable medium of claim 24, wherein the instructions are further executable by the processor to:
scramble the generated error control code before storing the scrambled error control code in the memory system.
