Patent ID: 11962329
Assignee: SONY SEMICONDUCTOR SOLUTIONS CORPORATION
Field: Basic communication processes (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. An encoding device comprising:
a memory storing program code; and
a processor configured to execute the program code to perform operations comprising:
dividing input data into data strings of N bits or M bits, the data strings including a first data string:
calculating a first a running disparity for the data strings;
determining whether the first data string is a control code or transfer data;
setting a flag for the first data string to a first value or a second value depending upon the running disparity when it is determined that the first data string is transfer data;
setting the flag to the second value when it is determined that the first data string is the control code;
inverting the first data string when it is determined that the first data string is transfer data and the flag is set to the second value; and
outputting the first data string.