An optical receiver circuit comprising: at least one photo detector configured to convert a received light signal to an input current signal, a transimpedance amplifier circuit with an input to receive the input current signal from the at least one photo detector and being configured to convert the received input current signal to an output voltage signal to generate an output signal of the transimpedance amplifier circuit, wherein the transimpedance amplifier circuit comprises a plurality of gain amplifier stages (209, 210, 211), a DC restoration component, wherein the DC restoration component is configured to receive the output voltage signal of the transimpedance amplifier circuit for restoring the DC component of the received current signal and configured for outputting a corresponding current signal, an automatic gain control component configured for controlling via at least one programmable feedback resistor (226, 227) the equivalent transimpedance of the transimpedance amplifier circuit based on the signal output by the DC restoration component to provide a constant output voltage amplitude for different current ranges of the input current signal, wherein at least some of the gain amplifier stages (209, 210, 211) comprise a gain amplifier (212, 213, 214) and at least one local programmable feedback resistor (215, 216, 217, 218, 219, 220) for controlling the gain of the respective gain amplifier stage (209, 210, 211), and wherein the automatic gain control component is further configured to control at least some of the local programmable feedback resistors (215, 216, 217, 218, 219, 220) of the gain amplifier stages based on the signal output by the DC restoration component, and wherein the at least one programmable feedback resistor (226, 227) for controlling the equivalent transimpedance of the transimpedance amplifier circuit is arranged between the input of transimpedance amplifier circuit and the output signal of the transimpedance amplifier circuit. at least one photo detector configured to convert a received light signal to an input current signal, a transimpedance amplifier circuit with an input to receive the input current signal from the at least one photo detector and being configured to convert the received input current signal to an output voltage signal to generate an output signal of the transimpedance amplifier circuit, wherein the transimpedance amplifier circuit comprises a plurality of gain amplifier stages (209, 210, 211), a DC restoration component, wherein the DC restoration component is configured to receive the output voltage signal of the transimpedance amplifier circuit for restoring the DC component of the received current signal and configured for outputting a corresponding current signal, an automatic gain control component configured for controlling via at least one programmable feedback resistor (226, 227) the equivalent transimpedance of the transimpedance amplifier circuit based on the signal output by the DC restoration component to provide a constant output voltage amplitude for different current ranges of the input current signal, wherein at least some of the gain amplifier stages (209, 210, 211) comprise a gain amplifier (212, 213, 214) and at least one local programmable feedback resistor (215, 216, 217, 218, 219, 220) for controlling the gain of the respective gain amplifier stage (209, 210, 211), and wherein the automatic gain control component is further configured to control at least some of the local programmable feedback resistors (215, 216, 217, 218, 219, 220) of the gain amplifier stages based on the signal output by the DC restoration component, and wherein the at least one programmable feedback resistor (226, 227) for controlling the equivalent transimpedance of the transimpedance amplifier circuit is arranged between the input of transimpedance amplifier circuit and the output signal of the transimpedance amplifier circuit.