Hardware layout and configuration UM1855
52/100 DocID027351 Rev 3
Figure 13. Routing of STPMS2L dual-channel sigma-delta modulators
2.29.2 STPMS2L settings
STPMS2L operating parameters are set through its configuration terminals MS0, MS1, MS2
and MS3. On STM32L476G-EVAL, both devices are configured as follows:
• voltage channel range: differential voltage +/- 300mV
• current channel range: differential voltage +/- 300mV
• internal voltage reference is used
• input bandwidth: 0 to 1 kHz
• temperature compensation: flattest +30ppm/°C
• DAT output: voltage and current samples multiplexed
• DATn output: not used
• HW mode selected for settings
2.29.3 STPMS2L power metering
STPMS2L in U3 position simulates low-voltage AC power metering, with capacitive load
impedance, to give different phase to voltage and current.