The invention discloses a
data path switching method of a Retimer controller and a Retimer
chip, and belongs to the field of communication. In order to reduce the risk of
timeout of RC and EP in a balance stage, the method for switching the
data path of the Retimer controller comprises the following steps: when the Retimer controller simultaneously meets the condition that any channel of an uplink pseudo port and a downlink pseudo port respectively detects eight continuous TS2 sequences with speed fields of 1, the public
maximum rate is PCIe Gen6 and is greater than the current rate, and the Retimer controller is in an FLIT mode and a stateful state, setting the start field to 1. And after the negotiation is completed, the RC controller, the EP controller and the Regimer controller enter a
recovery. Speed state to switch the speed, and the switching from PCIe Gen5 to Gen6 is completed. And after switching, the Retimer and the EP are switched to a
recovery. Phase0 state, the RC is switched to a
recovery. Phase1 state, and when the Retimer controller is in the recovery. Phase0 state, a code
stream generation module generates a TS0 sequence and sends the TS0 sequence to the RC and the EP. The method is applied to the PCIe field, and the robustness of RC and EP in the balancing process is improved.