Refresh in memory based on a set margin
The present disclosure includes apparatuses and methods related to refresh in memory. An apparatus can refresh an array of memory cells in response to a portion of memory cells in an array having threshold voltages that are greater than a reference voltage. The reference voltage can be determined by the threshold voltage being within a set margin of a second state.
1. A method, comprising:
measuring a voltage associated with a first number of memory cells in an array of memory cells; and
refreshing the array of memory cells in response to the voltage being within a set margin of a reference voltage, wherein the set margin is based on an amount of time to complete refreshing the array of memory cells and the set margin is based on the speed and size of a memory device to have enough time to do a refresh operation before reaching the reference voltage, and wherein the memory device includes the array of memory cells and a monitor array.
2. The method of claim 1 , wherein refreshing the array of memory cells improves read margin of the array of memory cells.
3. An Apparatus, comprising:
an array of memory cells; and
a controller configured to:
measure a voltage associated with a first number of memory cells in the array of memory cells; and
refresh the array of memory cells in response to the voltage being within a set margin of a reference voltage, wherein the set margin is based on an amount of time to complete the refresh of the array of memory cells and the set margin is based on the speed and size of a memory device to have enough time to do a refresh operation before reaching the reference voltage, and wherein the memory device includes the array of memory cells and a monitor array.