This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G3507: High-side current sense with using two OPA in differential mode, without external resistors

Part Number: MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG

I'm trying to measure differential voltage of current sense resistor in a 3.3V line (same supply as MSPM0G MCU). I want it to act like a simple current-sense amplifier, with 32x gain, read by internal ADC. V1 will be source side, and V2 will be on the load side of the current sense resistor. I followed the design from reference manual:
image.png

I have a few questions regarding parameters in Sysconfig. 

OPA_0: acting as the left OPA in above schematic

PSEL (non inverting channel) = IN0+ pin

NSEL (Inverting channel) = OPA[x-1]_RBOT

MSEL (Input MUX) = open

Gain = (how should I set the gain for this OPA_0?)

Enable OPA Output Pin = output disabled

Chopping Configuration = ADC Averaging

================================

OPA_1: acting as the right OPA in above schematic

PSEL (non inverting channel) = IN1+ pin

NSEL (Inverting channel) = RTAP

MSEL (Input MUX) = OPA[x-1]_RTOP

Gain = Non-Inverting: 32x / Inverting: -31x

Enable OPA Output Pin = output disabled (ADC channel 13 will read the output)

Chopping Configuration =ADC Averaging

The only problem as much as I understand, is the gain selections in Sysconfig for OPA_0. Is the total gain set in options for OPA_1? What should I enter for OPA_0 gain option (default is Non-Inverting: Not vaild / Inverting: Not valid)?

  • Hi,

    Gain = (how should I set the gain for this OPA_0?)

    No, the first input is voltage follower, the GAIN is 1.

    What should I enter for OPA_0 gain option (default is Non-Inverting: Not vaild / Inverting: Not valid)?

    This can be left with default, as it does not impact the circuit.

    I'm trying to measure differential voltage of current sense resistor in a 3.3V line (same supply as MSPM0G MCU).

    I see you mentioned high side current, please make sure the Vcm is not over the OPA spec, especially for OPA0:

    B.R.

    Sal