Patent ID: 8103942

Claim:
A data transmission apparatus comprising: a packet generation section that generates a packet upon request; a frame encoding section that generates a frame having a predetermined length by dividing the packet or adding dummy data to the packet and generates an error-correcting-code-added frame by adding an error correcting code to the frame; a transmission section that transmits the generated error-correcting-code-added frame through a transmission line; a reception section that receives the error-correcting-code-added frame through the transmission line; a frame decoding section that performs an error detection and an error correction for the error-correcting-code-added frame; and a packet extraction section that extracts the packet by removing the error correcting code from the error-correcting-code-added frame for which the error detection and the error correction have been performed; the frame encoding section comprising: a frame forming section that forms the frame having the predetermined length; a DC balance converting section that performs a DC balance conversion for the formed frame; and an error correcting code adding section that adds the error correcting code to the frame for which the DC balance conversion has been performed and outputs the error-correcting-code-added frame to the transmission section; the frame decoding section comprising: an error detection/correction section that performs the error detection and the error correction for the error-correcting-code-added frame; an error correcting code removing section that removes the error correcting code from the error-correcting-code-added frame; and a DC inverse balance converting section that performs a DC inverse balance conversion for the frame from which the error correcting code has been removed and outputs the resultant frame to the packet extraction section.