Patent ID: 9240231
Filing Date: 2016-01-19
CPC Classification: G11C

Claim Text:
1. A recording apparatus comprising: an output unit configured to output a clock signal to a storage device; a communication unit configured to output a command and data to the storage device in response to the clock signal and receive data from the storage device in response to a timing signal; a generating unit configured to generate the timing signal by delaying the clock signal; a control unit configured to control the communication unit and the generating unit so that a predetermined command instructing predetermined data for adjusting a delay amount of the clock signal to be sent is output multiple times to the storage device and each piece of data sent by the storage device in response to the multiple predetermined commands is received in accordance with the timing signal having a different delay amount for each of the multiple predetermined commands, and configured to determine whether or not the communication unit successfully received the predetermined data in accordance with the respective timing signals having different delay amounts; a detection unit configured to detect, in order of the delay amounts, a range of the delay amounts of the timing signals for which it has been determined that the predetermined data has been successfully received; and a setting unit configured to set, in a case where a plurality of the ranges have been detected by the detection unit, a single delay amount in a single predetermined range among the plurality of ranges, as the delay amount of the timing signal.