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

A Current Sensing System Demo

The out-of-box demo provided with the MSP430FR2311 LaunchPad development kit implements a complete current sensing system example. It shows how to use the integrated op-amp (SAC_OA) as a transimpedance amplifier along with the timer, ADC, and external LED to implement a light sensor for ultra-low-power applications.

Figure 12 shows the block diagram of the demo. The transimpedance amplifier is made of the SAC_OA module. It converts the current from the photodiode to a voltage. 1-µA input current produces a voltage of 2.5 V. This voltage is then read by the analog-to-digital converter (ADC) and fed to a timer module to drive an external LED with PWM. The duty cycle of the PWM is proportional to the current from the photodiode. As more light reaches the photodiode, the LED becomes brighter.

fig12_Block_Diagram_OoBox.gifFigure 12. Block Diagram of the Out-of-Box Demo

To demonstrate how to reduce power consumption, the device is kept in lower-power mode most of time. A timer is set up to wake up the device every 50 ms for the measurements. The complete Code Composer Studio™ IDE project for the demo can be downloaded from the TI web site.

Figure 13 shows the output voltage of the transimpedance amplifier when it is dynamically enabled and disabled. After the OA is enabled, a small delay is needed before starting the ADC module so that the ADC module does sample the transient pulse when the op amp is enabled.

fig13_Output_Voltage_On_Off.pngFigure 13. Output Voltage When the Op Amp is Dynamically Turned On and Off

Figure 14 shows the power consumption of the demo. This data was captured using EnergyTrace™ technology. The power profile data indicates a battery life of 380 days when a CR2032 battery is used.

fig14_Power_Consumption_OoB.pngFigure 14. Power Consumption of the Out-of-Box Demo

This demonstration provides functional blocks that can be used for applications such as smoke detectors and gas detectors.