www.ti.com

Technical Article

Interface to Sensors in Seconds with ASC Studio

William Cooper
You probably find it challenging to set up the various components for your designs. Software development canoften be daunting in its complexity, and the added effort of figuring out every component in a system can beintimidating when beginning a design. In order to speed time to market and simplify the software development
process when interfacing embedded processing components with analog devices, TI developed an approachthat uses intuitive graphical configuration tools to quickly and efficiently generate C code called SYSCONFIG.
SysConfig started as a tool to simplify SimpleLink™ microcontroller (MCU) configurations as shown in Figure
1. The tool brings code examples and full Code Composer Studio™ Integrated Development Environment(IDE) projects to life through a graphical user interface (GUI) that displays all possible configurable parameters.
Drop-down menus help you quickly optimize the examples to generate code for the MCU, while tools guide you
toward a valid configuration and eliminate the need to search through numerous documents and lines of sourcecode trying to figure out how to update a parameter.

Figure 1. Example LaunchPad™ development kit board view in SysConfig
Our new Analog Signal Chain Studio (ASC Studio) leverages SysConfig , which can be utilized alone or as anextension of this technology, to go beyond pre-configured boards and support a broader TI analog portfolio.
Starting with temperature and humidity sensors, ASC Studio makes it easy to quickly set up an interface tosupported TI sensors. The graphical setup and configuration of both analog and digital components in a single
development environment accelerates the initial setup and configuration of sensors and controllers and gives
you more time to create differentiated applications. By combining components in this tool, the GUI automatically
avoids conflicts as it generates code.
ASC Studio’s cloud-based interface generates MCU-agnostic code that is 100% portable, commented andC99-compliant (Note: this link requires an active TI.com login in order to enable continuous access to projects
over time). For example, let’s say that you selected the TMP117 ultra-high accuracy temperature sensor. After

SSZT228 – NOVEMBER 2020
Submit Document Feedback

Interface to Sensors in Seconds with ASC Studio
Copyright © 2023 Texas Instruments Incorporated1

www.ti.com

clicking the Add button and selecting configuration settings from the GUI, you can download the .c and .hfiles for inclusion in an existing project. Figure 2 shows the view of ASC Studio with configurations for achosen temperature sensor and software files available. This tool enables integration of TI sensors with any
development environment and any MCU.

Figure 2. Cloud-based Configuration of the TMP117 Temperature Sensor
If you are also using a SimpleLink MCU in the Code Composer Studio IDE, ASC Studio and the desktop version
of SysConfig enable you to generate projects with code already set up for both the sensor and SimpleLink MCU,and begin analyzing data from the sensors in seconds. Here’s how to begin:
1. Install ASC Studio (can be acquired using Resource Explorer in the IDE).
2. Create an empty ASC Studio project:• Import an empty software development kit project.
• Add hardware to the project (such as a BoosterPack™ plug-in module).
• Add ASC Studio to the project – Figure 3 showcases this view in Code Composer Studio IDE.

2Interface to Sensors in Seconds with ASC Studio
Copyright © 2023 Texas Instruments Incorporated

SSZT228 – NOVEMBER 2020
Submit Document Feedback

www.ti.com

Figure 3. Adding ASC Studio to a Project
3. Add a sensor to the project:• Add a sensor and configure it.
• Resolve any warnings or errors.
4. Read data from the sensor:• Update empty.c to read sensor data.
• Build and debug.
• Visualize sensor data.
Along with generating code and creating a sample project, ASC Studio and SysConfig desktop tools also enable
quick debugging. The SimpleLink Academy training explains how you can use debugger breakpoints and raw
memory displays to check the code, as well as create visualizations to see sensor data running in real time andensure that the results match your expectations.
TI will continue to add new and existing temperature and humidity sensors to ASC Studio, with plans to include
current/voltage/power monitors in the future, enabling you to spend more time on your application and less timewith initial setup, interfacing and configuration.
Additional resources••••

Get started with ASCStudio today.
Get a detailed walkthrough of ASC Studio on the SimpleLink Academy online training portal.
Read the technical article, “How SysConfig jump-starts embedded system development.”
Watch our Connect video about how to interface sensors in seconds with ASC Studio.

SSZT228 – NOVEMBER 2020
Submit Document Feedback

Interface to Sensors in Seconds with ASC Studio
Copyright © 2023 Texas Instruments Incorporated

3

IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATA SHEETS), DESIGN RESOURCES (INCLUDING REFERENCEDESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANYIMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRDPARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicablestandards, and any other safety, security, regulatory or other requirements.
These resources are subject to change without notice. TI grants you permission to use these resources only for development of anapplication that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license
is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you
will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of theseresources.
TI’s products are provided subject to TI’s Terms of Sale or other applicable terms available either on ti.com or provided in conjunction withsuch TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for
TI products.
TI objects to and rejects any additional or different terms you may have proposed. IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated