MSP430-FUNCTION-CODE-EXAMPLES

MSP430™ 經濟型產品線感測功能程式碼範例

MSP430-FUNCTION-CODE-EXAMPLES

下載項目

概覽

MSP430-FUNCTION-CODE-EXAMPLES 是一個程式碼示例集合,包含 25 個專為 MSP430FR2000MSP430FR2100MSP430FR2110MSP430FR2111 經濟性產品線感測微控制器 (MCU) 設計的程式碼範例。這些程式碼範例使開發人員能夠為簡單的數位和類比功能(例如計時器、輸入/輸出擴展器、系統重設控制器、EEPROM 等)新增可編程性。大多數程式碼範例在 MSP430FR2000 MCU 中占用不到 0.5KB 的記憶體,少數範例運作時會使用高達 1KB 的記憶體。

這些程式碼範例是使用 MSP-T430PW20 目標開發電路板和 MSP-FET 編程器及偵錯器電路板進行測試的。然而,這些程式碼範例可以輕鬆修改並移植到 MSP-EXP430FR2311 LaunchPad™ 開發套件,這是一種比目標開發電路板成本更低的評估平台。如需詳細資訊,請參閱此程式碼可攜帶性指南

提供的功能程式碼範例可使用 Code Composer Studio™ (CCS) 或 IAR® Embedded Workbench 整合式開發環境 (IDE) 修改。

特點
  • 25 個功能程式碼範例
  • 針對佔用 0.5KB 或 1KB 的記憶體進行了最佳化

以下類比和數位功能的程式碼範例:

通訊功能

  • 單線通訊主機
  • SPI IO 擴展器
  • UART 至 UART 橋接器
  • UART 至 SPI 橋接器

脈衝寬度調變功能

  • 類比輸入至 PWM 輸出
  • 雙輸出 8 位元 PWM DAC
  • 伺服馬達控制
  • 步進馬達控制
  • UART 軟體控制的 RGB LED 混色

系統和內務處理功能

  • 在閾值時 ADC 喚醒和傳送
  • EEPROM 模擬
  • 低功耗六路鍵盤
  • 正交編碼器位置計數器
  • 具有 UART 的磁滯比較器
  • 多功能重設控制器
  • 單斜率類比轉數位轉換技術
  • 篡改偵測
  • 可編程時脈來源
  • 可編程頻率鎖定迴路

計時器功能

  • 具有備份記憶體的外部 RTC
  • 7 段式 LED 碼表
  • 外部可編程監視定時器
  • 可編程系統喚醒控制器
  • 簡易 RTC 架構系統喚醒控制器
  • 含時間戳記的電壓監控器

下載項目

程式碼範例或展示

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

支援產品和硬體

支援產品和硬體

產品
MSP430 微控制器
MSP430FR2000 具有 0.5KB FRAM、0.5KB SRAM、比較器、UART/SPI、計時器的 16MHz MCU MSP430FR2100 具 1KB FRAM、0.5KB SRAM、比較器、10 位元 ADC、UART/SPI、定時器的 16 MHz MCU MSP430FR2110 具有 2KB FRAM、1KB SRAM、比較器、10 位元 ADC、UART/SPI、計時器的 16 MHz MCU MSP430FR2111 具有 4KB FRAM、1KB SRAM、比較器、10 位元 ADC、UART/SPI、計時器的 16 MHz MCU
下載選項

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

close
最新版本
版本: 1.00.00.00
發行日期: 2018/4/8

Single Wire Communication Host

MD5 校驗和

SPI IO Expander

MD5 校驗和

UART to UART Bridge

MD5 校驗和

UART to SPI Bridge

MD5 校驗和

Analog Input to PWM Output

MD5 校驗和

Dual output 8-bit PWM DAC

MD5 校驗和

Servo Motor Controller

MD5 校驗和

Stepper Motor Controller

MD5 校驗和

UART Software -Controlled RGB LED Color Mixing

MD5 校驗和

ADC Wake and Transmit on Threshold

MD5 校驗和

EEPROM Emulation

MD5 校驗和

Low Power Keypad

MD5 校驗和

Quadrature Encoder Position Counter

MD5 校驗和

Hysteresis Comparator with UART

MD5 校驗和

Multi-Function Reset Controller

MD5 校驗和

Single Slope Analog-to-Digital Conversion Technique

MD5 校驗和

Tamper Detection

MD5 校驗和

Programmable Clock Source

MD5 校驗和

Programmable Frequency-locked Loop

MD5 校驗和

External RTC with backup memory

MD5 校驗和

7-Segment LED Stopwatch

MD5 校驗和

External Programmable Watchdog Timer

MD5 校驗和

Programmable System Wakeup Controller

MD5 校驗和

Simple Power Sequencer

MD5 校驗和

Simple RTC-based System Wake-up Controller

MD5 校驗和

Voltage Monitor with timestamp

MD5 校驗和

All Functions together in a single zip file

MD5 校驗和
產品
MSP430 微控制器
MSP430FR2000 具有 0.5KB FRAM、0.5KB SRAM、比較器、UART/SPI、計時器的 16MHz MCU MSP430FR2100 具 1KB FRAM、0.5KB SRAM、比較器、10 位元 ADC、UART/SPI、定時器的 16 MHz MCU MSP430FR2110 具有 2KB FRAM、1KB SRAM、比較器、10 位元 ADC、UART/SPI、計時器的 16 MHz MCU MSP430FR2111 具有 4KB FRAM、1KB SRAM、比較器、10 位元 ADC、UART/SPI、計時器的 16 MHz MCU

文件

Single Wire Communication Host App Note

SPI IO Expander App Note

UART to UART Bridge App Note

UART to SPI Bridge App Note

Analog Input to PWM Output App Note

Dual output 8-bit PWM DAC App Note

Servo Motor Controller App Note

Stepper Motor Controller App Note

UART Software -Controlled RGB LED Color Mixing App Note

ADC Wake and Transmit on Threshold App Note

EEPROM Emulation App Note

Low Power Keypad App Note

Quadrature Encoder Position Counter App Note

Hysteresis Comparator with UART App Note

Multi-Function Reset Controller App Note

Single Slope Analog-to-Digital Conversion Technique App Note

Tamper Detection App Note

Programmable Clock Source App Note

Programmable Frequency-locked Loop App Note

External RTC with backup memory App Note

7-Segment LED Stopwatch App Note

External Programmable Watchdog Timer App Note

Programmable System Wakeup Controller App Note

Simple Power Sequencer App Note

Simple RTC-based System Wake-up Controller App Note

Voltage Monitor with timestamp App Note

版本資訊

MSP430-FUNCTION-CODE-EXAMPLES is a collection of code examples for use with the MSP430FR2000, MSP430FR2100, MSP430FR2110 and MSP430FR2111 microcontrollers. The code examples downloads are grouped in the following function categories: Communication, pulse width modulation, system and housekeeping, and timer. A 2-page Tech Note is linked in the description field of each function and all of the Tech Notes for these functions are also available in an e-Book format.

The code examples were tested using the MSP-TS430PW20 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 application note SLAA812. For tips and tricks on optimizing C code for size see application note SLAA812.

For tips and tricks on optimizing C code for size see application note SLAA812.

技術文件

找不到結果。請清除您的搜尋條件,然後再試一次。
檢視所有 28
類型 標題 下載最新的英文版本 日期
Application brief EEPROM Emulation Using Low Memory MSP430™ FRAM MCUs (Rev. A) 2018/4/20
電子書 Enhance simple analog and digital functions for $0.25 (Rev. B) 2018/2/7
Application brief Tamper Detection Using Low-Memory MSP430™ MCUs 2017/10/26
應用說明 Code Porting From MSP430FR2000 to MSP430FR2311 MCUs 2017/10/25
Application brief Dual-Output 8-Bit PWM DAC Using Low-Memory MSP430™ MCUs 2017/10/20
Application brief SPI I/O Expander Using Low-Memory MSP430™ MCUs 2017/10/19
Application brief Voltage Monitor With a Timestamp Using a Low-Memory MSP430™ MCU 2017/10/19
Application brief 7-Segment LED Stopwatch Using Low-Memory MSP430™ MCUs 2017/10/18
Application brief Single-Slope Analog-to-Digital Conversion Technique Using MSP430™ MCUs 2017/10/18
Application brief Hysteresis Comparator With UART Using Low-Memory MSP430™ FRAM MCUs 2017/10/18
Application brief Analog Input to PWM Output Using the MSP430™ MCU Enhanced Comparator 2017/10/18
Application brief Multi-Function Reset Controller With Low-Memory MSP430™ MCUs 2017/10/18
Application brief ADC Wake and Transmit on Threshold Using MSP430™ MCUs 2017/10/17
Application brief Programmable System Wake-up Controller Using MSP430™ MCUs 2017/10/17
Application brief Quadrature Encoder Position Counter With MSP430™ MCUs 2017/10/17
應用說明 Optimizing C Code for Size With MSP430 MCUs: Tips and Tricks 2017/10/16
Application brief Simple RTC-Based System Wake-up Controller Using MSP430™ MCUs 2017/10/13
Application brief UART-to-SPI Bridge Using Low-Memory MSP430™ MCUs 2017/10/13
Application brief UART-to-UART Bridge Using Low-Memory MSP430™ MCUs 2017/10/9
Application brief Programmable Clock Source Using MSP430™ MCUs 2017/9/28
Application brief Servo Motor Controller Using MSP430™ MCUs 2017/9/27
Application brief Programmable Frequency Locked Loop Using MSP430™ MCUs 2017/9/27
Application brief Low -Power Hex Keypad Using MSP430™ MCUs 2017/9/27
Application brief External Programmable Watchdog Timer Using MSP430™ MCUs 2017/9/26
Application brief Stepper Motor Control Using MSP430™ MCUs 2017/9/26
Application brief External RTC With Backup Memory Using a Low-Memory MSP430™ MCU 2017/9/15
Application brief UART Software Controlled RGB LED Color Mixing With MSP430™ MCUs 2017/9/15
Application brief Single-Wire Communication Host With MSP430™ MCUs 2017/9/15

硬體開發

開發套件
MSP-EXP430FR2311 MSP430FR2311 LaunchPad™ development kit MSP-TS430PW20 適用於 20 針腳 MSP430FR2000、MSP430FR21x 和 MSP430FR23x MCU 的目標開發基板
硬體程式設計工具
MSP-FET MSP MCU 程式設計工具和偵錯器

軟體開發

IDE、配置、編譯器或偵錯程式
CCSTUDIO Code Composer Studio™ 整合式開發環境 (IDE) IAR-KICKSTART IAR Embedded Workbench

支援與培訓

內含 TI 工程師技術支援的 TI E2E™ 論壇

檢視所有論壇主題 以英文檢視所有論壇主題

內容係由 TI 和社群貢獻者依「現狀」提供,且不構成 TI 規範。檢視使用條款

若有關於品質、封裝或訂購 TI 產品的問題,請參閱 TI 支援

影片