Method for composing an electronic signal comprising a stream of bits arranged in a communication frame including a header field, a data field and an error control field, in which a sequence of consecutive bits of the same value in a number equal to a predetermined stuff bit threshold limit causes at least one sequence break bit of the opposite value, stuff bit, to be inserted, and in which the error control field is calculated as a predetermined function at least of the current value of said data field, characterised in that the method comprises partitioning the data field into an effective data field, including a sequence of payload bits, and a tuning field, including a tuning bit string of predetermined length, and selecting a tuning bit string from a predetermined set of tuning bit strings in such a way that concatenation of the selected tuning bit string and the error control field calculated as a function of at least said effective data field and said selected tuning bit string does not include a series of consecutive bits of the same value equal in number to said predetermined stuff bit threshold limit, wherein said set of tuning bit strings includes all the combinations of admissible tuning bit strings of equal length, a tuning bit string being admissible if it includes a number of consecutive leading bits of the same value that is lower than a predetermined first threshold quantity of leading bits dependent on a predefined tail bit threshold limit for a sequence of consecutive tail bits having the same value in the effective data field and a number of consecutive intermediate bits of the same value that is lower than a predetermined second threshold quantity of intermediate bits, dependent on the predetermined stuff bit threshold limit, wherein selecting a tuning bit string includes: calculating a first partial error control field as a function of the header field and the effective data field; calculating a second partial error control field as a function of a tuning bit string for each tuning bit string of the predetermined set of tuning bit strings; calculating a total error control field from the first and second partial error control field for each calculated second partial error control field; in the concatenation of the header field, the effective data field and the tuning bit string with the corresponding error control field, checking whether a plurality of consecutive bits of the same value are present in the concatenation of the tuning bit string and the error control field in a number equal to the predetermined stuff bit threshold limit whereby it is necessary to insert at least one sequence break bit of opposite value, stuff bit; determining at least one valid tuning bit string among said predetermined set of tuning bit strings if the concatenation of the header field, the effective data field and said tuning bit string with the corresponding error control field does not require a sequence break bit, stuff bit, to be inserted, neither into the tuning bit string nor into the error control field; and assembling the communication frame by concatenating the header field, the effective data field and a valid tuning bit string determined in the previous step. calculating a first partial error control field as a function of the header field and the effective data field; calculating a second partial error control field as a function of a tuning bit string for each tuning bit string of the predetermined set of tuning bit strings; calculating a total error control field from the first and second partial error control field for each calculated second partial error control field; in the concatenation of the header field, the effective data field and the tuning bit string with the corresponding error control field, checking whether a plurality of consecutive bits of the same value are present in the concatenation of the tuning bit string and the error control field in a number equal to the predetermined stuff bit threshold limit whereby it is necessary to insert at least one sequence break bit of opposite value, stuff bit; determining at least one valid tuning bit string among said predetermined set of tuning bit strings if the concatenation of the header field, the effective data field and said tuning bit string with the corresponding error control field does not require a sequence break bit, stuff bit, to be inserted, neither into the tuning bit string nor into the error control field; and assembling the communication frame by concatenating the header field, the effective data field and a valid tuning bit string determined in the previous step.