A method of adapting a receiver for equalization of an input data signal, the method comprising: setting a threshold voltage to an initial threshold voltage, wherein the threshold voltage is used as a data amplitude reference for checking a data amplitude by an error slicer; performing adaptation of a variable gain amplifier, VGA by a VGA adaptation loop of a receiver equalization, RX EQ, adaptive engine using the initial threshold voltage as the data amplitude reference for checking the data amplitude by the error slicer so as to adjust a VGA gain setting to regulate the data amplitude feeding into a decision feedback equalization, DFE, circuit, wherein performing adaptation of the VGA comprises summing the signs of detected errors, slicing an error signal if an VGA update counter is larger than an error counter N VGA, increasing the VGA gain setting if the slicer output is larger than zero, and decreasing the VGA gain setting otherwise; performing adaptation of the DFE circuit using the initial threshold voltage as the data amplitude reference for checking the data amplitude by the error slicer in a DFE adaptation loop of the RX EQ adaptive engine, wherein performing adaptation of the DFE circuit comprises initializing an error counter N DFE, summing the signs of the detected errors, slicing the data signal and the error signal if a DFE update counter is smaller than the error counter N DFE, increasing a DFE weight if the product of the sliced error signal and the sliced data signal is larger than zero, and decreasing the DFE weight otherwise; and when the adaptation of the VGA is done, then freezing the VGA gain setting and performing adaptation of the threshold voltage by a threshold adaptation loop of the RX EQ adaptive engine. setting a threshold voltage to an initial threshold voltage, wherein the threshold voltage is used as a data amplitude reference for checking a data amplitude by an error slicer; performing adaptation of a variable gain amplifier, VGA by a VGA adaptation loop of a receiver equalization, RX EQ, adaptive engine using the initial threshold voltage as the data amplitude reference for checking the data amplitude by the error slicer so as to adjust a VGA gain setting to regulate the data amplitude feeding into a decision feedback equalization, DFE, circuit, wherein performing adaptation of the VGA comprises summing the signs of detected errors, slicing an error signal if an VGA update counter is larger than an error counter N VGA, increasing the VGA gain setting if the slicer output is larger than zero, and decreasing the VGA gain setting otherwise; performing adaptation of the DFE circuit using the initial threshold voltage as the data amplitude reference for checking the data amplitude by the error slicer in a DFE adaptation loop of the RX EQ adaptive engine, wherein performing adaptation of the DFE circuit comprises initializing an error counter N DFE, summing the signs of the detected errors, slicing the data signal and the error signal if a DFE update counter is smaller than the error counter N DFE, increasing a DFE weight if the product of the sliced error signal and the sliced data signal is larger than zero, and decreasing the DFE weight otherwise; and when the adaptation of the VGA is done, then freezing the VGA gain setting and performing adaptation of the threshold voltage by a threshold adaptation loop of the RX EQ adaptive engine.