SLAA833A May   2018  – October 2019 MSP430FR2353 , MSP430FR2355

 

  1.   How to Use the Smart Analog Combo in MSP430™ MCUs
    1.     Trademarks
    2. 1 Introduction
      1. 1.1 Smart Analog Combo (SAC) Concept
      2. 1.2 Single-Supply Amplifier Design Consideration
      3. 1.3 Smart Analog Combo Driver Library
    3. 2 Smart Analog Combo Operation Modes
      1. 2.1 General Purpose Mode
        1.       Example 1. Code Example for Smart Analog Combo General-Purpose Mode
      2. 2.2 Buffer Mode
        1.       Example 2. Code Example for Smart Analog Combo Buffer Mode
      3. 2.3 Noninverting PGA Mode
        1.       Example 3. Code Example for Smart Analog Combo Noninverting PGA Mode
      4. 2.4 Inverting PGA Mode
        1.       Example 4. Code Example for Smart Analog Combo Inverting PGA Mode
      5. 2.5 DAC Mode
        1.       Example 5. Code Example for Smart Analog Combo DAC Mode
    4. 3 Smart Analog Combo Interconnection Configuration
      1. 3.1 Smart Analog Combo Cascading
      2. 3.2 Smart Analog Combo Interconnection With Other Peripherals
    5. 4 Smart Analog Combo Use Cases in Sensing Applications
      1. 4.1 Use Smart Analog Combo in Smoke Detector
      2. 4.2 Use Smart Analog Combo in Current Loop
    6. 5 References
  2.   Revision History

Smart Analog Combo Driver Library

All MSP430 FRAM MCUs support a driver library (DriverLib) to help users accelerate firmware development. The MSP430 driver library is a high-level easy-to-use abstracted programming interface, which keeps users above the bits and bytes of MSP430 hardware registers by providing simple function calls for every peripheral. This helps users spend less time learning and more time innovating with MSP430 MCUs. Some MSP430 MCUs like MSP430FR2355 include a complete peripheral driver library fully integrated into the ROM memory. Developers can leverage the ROM-based driver library for more benefits including single-cycle ROM execution at higher CPU clock frequency and saving FRAM space for additional application code.

More than twenty API functions are available for the SAC module. These API functions are provided to initialize the SAC, enable the SAC, disable the SAC, set the SAC operation mode, configure the DAC, select the DAC reference, select the power mode, and so on. Each API function is fully tested and documented. The FRAM-based driver library is completely open source, which can help developers understand what is happening beneath the abstraction layer. Developers can access the ROM-based APIs by adding the driver library header file to their projects and linking to the attribute library. This application report describes how to use SAC with driver library. For more information on SAC API functions, see the MSP430 DriverLib for MSP430FR2xx_4xx Devices User's Guide (available from the "Get Software" link on the MSP Driver Library page).