MSP430-FUNCTION-CODE-EXAMPLES

MSP430™ Value Line Sensing Function Code Examples

MSP430-FUNCTION-CODE-EXAMPLES

Downloads

Overview

MSP430-FUNCTION-CODE-EXAMPLES is a collection of 25 code examples for use with the MSP430FR2000, MSP430FR2100, MSP430FR2110 and MSP430FR2111 Value Line Sensing microcontrollers (MCUs). These code examples allow developers to add programmability to simple digital and analog functions such as timers, input/output expanders, system reset controllers, EEPROM and more. The majority of the code examples fit in under 0.5KB of memory in the MSP430FR2000 MCU with a few using up to 1KB of memory to operate.

The code examples were tested using the MSP-T430PW20 target development board and MSP-FET programmer and debugger board. However, the code examples can be easily modified and ported to the MSP-EXP430FR2311 LaunchPad™ development kit – a lower-cost evaluation platform than the target development board. See this code portability guide for more details.

The provided function code examples can be modified using Code Composer Studio™ (CCS) or IAR® Embedded Workbench integrated development environments (IDEs).

Features
  • 25 function code examples
  • Optimized to fit in 0.5KB or 1KB of memory

Code examples for the following analog and digital functions:

Communications Functions

  • Single Wire Communication Host
  • SPI IO Expander
  • UART-to-UART Bridge
  • UART-to-SPI Bridge

Pulse Width Modulation Functions

  • Analog Input to PWM Output
  • Dual output 8-bit PWM DAC
  • Servo Motor Control
  • Stepper Motor Control
  • UART Software-Controlled RGB LED Color Mixing

System and Housekeeping Functions

  • ADC Wake and Transmit on Threshold
  • EEPROM Emulation
  • Low Power Hex Keypad
  • Quadrature Encoder Position Counter
  • Hysteresis Comparator with UART
  • Multi-Function Reset Controller
  • Single Slope Analog-to-Digital Conversion Technique
  • Tamper Detection
  • Programmable Clock Source
  • Programmable Frequency-locked Loop

Timer Functions

  • External RTC with backup memory
  • 7-Segment LED Stopwatch
  • External Programmable Watchdog Timer
  • Programmable System Wake-up Controller
  • Simple RTC-based System Wake-up Controller
  • Voltage Monitor with a Time Stamp

Get started

  1. Order MSP-EXP430FR2311 LaunchPad
  2. Download the MSP430-FUNCTION-CODE-EXAMPLES
  3. Read the Enhance simple analog and digital functions for $0.25 DFP application note to get started
  4. Watch the 25 Functions for 25 cents training videos

Downloads

Code example or demo

MSP430-FUNCTION-CODE-EXAMPLES MSP430™ Value Line Sensing Function Code Examples

Download options

Download options

Code example or demo

MSP430-FUNCTION-CODE-EXAMPLES
MSP430™ Value Line Sensing Function Code Examples

Version: 1.00.00.00
Release date: 09 Apr 2018
COMMUNICATION FUNCTIONS
download
Single-Wire_Host.zip (523000 KB)
download
SPI_IO_EXPANDER.zip (895735 KB)
download
download
PULSE WIDTH MODULATION (PWM) FUNCTIONS
download
FR2000_ANALOG_PWM.zip (875144 KB)
download
download
download
SYSTEM AND HOUSEKEEPING FUNCTIONS
download
download
SPI_EEPROM.zip (612921 KB)
download
Low_Power_Keypad.zip (2167260 KB)
download
download
Reset_Controller.zip (699343 KB)
download
slope-adc.zip (564784 KB)
download
Tamper_Detect.zip (530185 KB)
download
download
Programmable_FLL.zip (2147014 KB)
TIMER FUNCTIONS
download
download
download
download
download
download

Technical documentation

No results found. Please clear your search and try again.
View all 32
Type Title Date
Application note EEPROM Emulation Using Low Memory MSP430™ FRAM MCUs (Rev. A) Apr. 20, 2018
E-book Enhance simple analog and digital functions for $0.25 (Rev. B) Feb. 07, 2018
Technical article 25 functions for 25 cents: timer functions Dec. 12, 2017
Technical article 25 functions for 25 cents: systems and housekeeping Dec. 05, 2017
Technical article 25 functions for 25 cents: pulse width modulation Nov. 28, 2017
Technical article 25 functions for 25 cents: communication functions Nov. 14, 2017
Application note Tamper Detection Using Low-Memory MSP430™ MCUs Oct. 26, 2017
Application note Code Porting From MSP430FR2000 to MSP430FR2311 MCUs Oct. 25, 2017
Application note Dual-Output 8-Bit PWM DAC Using Low-Memory MSP430™ MCUs Oct. 20, 2017
Application note Voltage Monitor With a Timestamp Using a Low-Memory MSP430™ MCU Oct. 19, 2017
Application note SPI I/O Expander Using Low-Memory MSP430™ MCUs Oct. 19, 2017
Application note Analog Input to PWM Output Using the MSP430™ MCU Enhanced Comparator Oct. 18, 2017
Application note Single-Slope Analog-to-Digital Conversion Technique Using MSP430™ MCUs Oct. 18, 2017
Application note 7-Segment LED Stopwatch Using Low-Memory MSP430™ MCUs Oct. 18, 2017
Application note Hysteresis Comparator With UART Using Low-Memory MSP430™ FRAM MCUs Oct. 18, 2017
Application note Multi-Function Reset Controller With Low-Memory MSP430™ MCUs Oct. 18, 2017
Application note Quadrature Encoder Position Counter With MSP430™ MCUs Oct. 17, 2017
Application note Programmable System Wake-up Controller Using MSP430™ MCUs Oct. 17, 2017
Application note ADC Wake and Transmit on Threshold Using MSP430™ MCUs Oct. 17, 2017
Application note Optimizing C Code for Size With MSP430 MCUs: Tips and Tricks Oct. 16, 2017
Application note UART-to-SPI Bridge Using Low-Memory MSP430™ MCUs Oct. 13, 2017
Application note Simple RTC-Based System Wake-up Controller Using MSP430™ MCUs Oct. 13, 2017
Application note UART-to-UART Bridge Using Low-Memory MSP430™ MCUs Oct. 09, 2017
Application note Programmable Clock Source Using MSP430™ MCUs Sep. 28, 2017
Application note Servo Motor Controller Using MSP430™ MCUs Sep. 27, 2017
Application note Low -Power Hex Keypad Using MSP430™ MCUs Sep. 27, 2017
Application note Programmable Frequency Locked Loop Using MSP430™ MCUs Sep. 27, 2017
Application note External Programmable Watchdog Timer Using MSP430™ MCUs Sep. 26, 2017
Application note Stepper Motor Control Using MSP430™ MCUs Sep. 26, 2017
Application note UART Software Controlled RGB LED Color Mixing With MSP430™ MCUs Sep. 15, 2017
Application note Single-Wire Communication Host With MSP430™ MCUs Sep. 15, 2017
Application note External RTC With Backup Memory Using a Low-Memory MSP430™ MCU Sep. 15, 2017

Related design resources

Software development

SOFTWARE DEVELOPMENT KIT (SDK)
MSPWARE MSP430Ware for MSP Microcontrollers
IDE, CONFIGURATION, COMPILER OR DEBUGGER
CCSTUDIO Code Composer Studio (CCS) Integrated Development Environment (IDE) IAR-KICKSTART IAR Embedded Workbench

Support & training

TI E2E™ forums with technical support from TI engineers

View all forum topics

Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.

If you have questions about quality, packaging or ordering TI products, see TI support. ​​​​​​​​

Videos