Transimpedance amplifier

Each OPAMP can be configured as a transimpedance amplifier (current to voltage converter). In this mode the positive input is connected to ground. The negative input is connected to the output through the resistor ladder. The OPAMPCTRLx register can be configured as follows:

Table 1. Transimpedance Amplifier
  MUXPOS MUXNEG RES1MUX POTMUX RES2VCC RES2OUT RES1EN ANAOUT
OPAMP0 011 000 01 000 0 1 1 0
OPAMP1 011 000 01 000 0 1 1 0
OPAMP2 011 000 01 000 0 1 1 0
Figure 1. Transimpedance Amplifier