SPRADA5 April   2024 TMS320F28P550SJ , TMS320F28P559SJ-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
    1. 1.1 Supplementary Information
    2. 1.2 Features
    3. 1.3 Block Diagram
    4. 1.4 Operation Modes
  5. 2Use Cases
    1. 2.1 Buffer Mode for High-Impedance Source
    2. 2.2 Battery Voltage and Current Monitoring
    3. 2.3 Low-Side Shunt Current Monitoring
    4. 2.4 Three-Phase Low-Side Current Sensing
    5. 2.5 Bidirectional Current Sensing
    6. 2.6 Non-Inverting Amplifier for Low-Voltage Sensors
    7. 2.7 Non-Inverting Amplifier for Bipolar Signals
    8. 2.8 Standalone Mode for Various Applications
  6. 3Summary
  7. 4References

Standalone Mode for Various Applications

The PGA modules are designed to be used as standalone operational amplifiers to provide a well-integrated, cost-effective signal conditioning system designed for various applications. This mode gives the designers the flexibility to configure the PGA module with customized gain value. Other analog peripherals, such as DAC and CMPSS modules, can be used in conjunction with the PGA to unlock new uses for existing peripherals. The circuit diagram of PGA in this mode is shown in Figure 2-11.

GUID-20240325-SS0I-7BRT-BZCD-LXVTKWCL3ZFF-low.svg Figure 2-11 Circuit Diagram of Standalone Mode

The following code snippet shows the code to configure the PGA module in standalone mode.

//
// P-MUX selection
//
#define PGA_PMUXINPUT   PGA_PMUX_POS

//
// N-MUX selection
//
#define PGA_NMUXINPUT PGA_NMUX_NEG

//
// M-MUX selection
//
#define PGA_MMUXINPUT PGA_MMUX_NAKED_OPAMP