Patent ID: 8806291

Claim:
A data transfer device comprising: a data transmitting circuit that transmits data; and a data receiving circuit that receives the transmitted data, the data transmitting circuit including: an error detection code generating unit that generates an error detection code for detecting an error in the data; and a transmission unit that transmits the data and the generated error detection code together with retransmit enable information representing that corresponding data transmitted before the data or transmitted next the data can be retransmitted, the data receiving circuit including: a reception unit that receives the transmitted data, the transmitted error detection code and the transmitted retransmit enable information; an error detection unit that detects the error in the received data based on the received error detection code; an error data retaining unit that retains the received data in which the error is detected when the reception unit receives the transmitted retransmit enable information; an error data comparing unit that compares the error detected data retained in the error data retaining unit with the corresponding data that is retransmitted; and a reference retaining unit that retains reference data having a predetermined bit pattern, wherein the reference retaining unit sends the reference data when the received data that the error is detected is fixed data having the predetermined bit pattern, and the error data comparing unit compares the fixed data that the error is detected with the reference data being sent from the reference retaining unit.