41.6.10.6 Two OPAMPs Differential Amplifier
In this mode, OPAMP0 can be coupled with OPAMP1 or OPAMP1 with OPAMP2 in order to amplify a differtial signal.
To configure OPAMP0 and OPAMP1 as differential amplifier, the OPAMPCTRLx register can be configured as follows:
MUXPOS | MUXNEG | RES1MUX | POTMUX | RES2VCC | RES2OUT | RES1EN | ANAOUT | |
OPAMP0 | 000 | 010 | 00 | 000 | 0 | 0 | 0 | 0 |
OPAMP1 | 000 | 001 | 10 | 100 | 0 | 1 | 1 | 0 |
OPAMP2 | 000 | 000 | 00 | 000 | 0 | 0 | 0 | 0 |
To configure OPAMP1 and OPAMP2 as differential amplifier, the OPAMPCTRLx register can be configured as follows:
MUXPOS | MUXNEG | RES1MUX | POTMUX | RES2VCC | RES2OUT | RES1EN | ANAOUT | |
OPAMP0 | 000 | 000 | 00 | 000 | 0 | 0 | 0 | 0 |
OPAMP1 | 000 | 010 | 00 | 000 | 0 | 1 | 0 | 0 |
OPAMP2 | 000 | 001 | 10 | 100 | 0 | 1 | 1 | 0 |