SLAA705A July   2016  – November 2019 MSP430FR2310 , MSP430FR2311

 

  1.   How to Use the Smart Analog Combo and Transimpedance Amplifier on MSP430FR2311
    1.     Trademarks
    2. 1 Introduction
    3. 2 Configuration of the Integrated Operational Amplifiers
      1. 2.1 Configuration of SAC_OA
        1.       Example 1. Code Example for Configuring SAC_OA
      2. 2.2 Configuration of TIA
        1.       Example 2. Code Example for Configuring TIA
    4. 3 Application Examples
      1. 3.1 SAC_OA as a Transimpedance Amplifier
      2. 3.2 TIA Module as a Transimpedance Amplifier
      3. 3.3 A Current Sensing System Demo
    5. 4 References
  2.   Revision History

Example 2. Code Example for Configuring TIA

//Configure Op-Amp functionality for the external pins GPIO_setAsPeripheralModuleFunctionInputPin(GPIO_PORT_P1, GPIO_PIN5 | GPIO_PIN6 | GPIO_PIN7, GPIO_TERNARY_MODULE_FUNCTION); //Select low power low speed mode TRI_selectPowerMode(TRI0_BASE, TRI_LOW_SPEED_LOW_POWER); //Enable TIA TRI_enable(TRI0_BASE);