Patent ID: 7730387

Claim:
A data transmitting apparatus, comprising: a CRC inserter for adding a CRC code to input data to create a packet; a scrambling code generator for generating either a first scrambling code or a second scrambling code as selected by a control signal; an encoder using the scrambling code generated by the scrambling code generator to encode the packet created by the CRC inserter; and a transmitting unit for transmitting the encoded packet, wherein the scrambling code generator comprises: a linear feedback shift register generating a cyclic code according to a predetermined generator polynomial; and a length counter for counting bits of the encoded packet and resetting the linear feedback shift register to a predetermined initial value after either a first number of bits or a second number of bits as selected by the control signal; and wherein the first scrambling code includes the first number of bits output from the linear feedback shift register and the second scrambling code includes the second number of bits output from the linear feedback shift register.