MSP430与TLC549 TL1549模数转换器的连接
更新时间:2023-04-20 16:37:01 阅读量: 实用文档 文档下载
- Msp430单片机推荐度:
- 相关推荐
MSP430单片机的程序设计
Application Report
SLAA112 – November 2000
Interfacing the MSP430 and TLC549/1549 A/D ConvertersMark Buccini
ABSTRACT
This application report describes how to interface an MSP430 mixed-signalmicrocontroller with TLC549 and TLV1549 3-volt A/D converters. This report is written forthe MSP430x11x(1) family, but can be adapted to any MSP430 derivative.
Mixed Signal Controllers
Figure 1. TLC549 – MSP430 Demonstration Circuit
1
MSP430单片机的程序设计
SLAA112
Principle of Operation
Using three digital I/O pins, the MSP430F1121 drives the TLC549 A/D conversion using asynchronous serial interface. In this application report, MSP430 I/O pins P2.0 and P2.1 areconfigured as outputs using the P2 direction register (P2DIR) and set/reset using the P2 outputregister (P2OUT). Pin P2.0 interfaces with the TLC549 chip select (CS) pin P2.1 with the
TLC549 input-output clock (I/O CLK). Conversion data from the TLC549 data out (DO) are readon pin P2.3. The choice between P2.0, P2.1, and P2.3 is arbitrary. Any MSP430 I/O pin can beused to drive the TLC549.When CS is high, DO is in a high-impedance state and I/O CLK inactive. To begin theconversion, the MSP430 brings CS low. To drive a complete conversion, the MSP430generates a total of eight clock pulses on P2.1 which are applied to the TLC549 I/O CLK. AfterCS has been brought low, the most significant bit (MSB) from the previous conversion appearson DO. The MSP430 reads the conversion data on DO on pin P2.3 and serially shifts the datainto a register ADCDATA (R11). The falling edge of the first four clock pulses shift out the
second, third, and fourth most significant bits of the previous conversion. The falling edge of thefourth clock begins the sample function of the analog signal present at the analog terminal of theTLC549. Three more clock pulses are applied to I/O CLK shifting out the least three most-significant bits from the previous conversion. The falling edge of the final (eighth) clock pulseterminates the TLC549 sample function and the hold and conversion cycle begins. The
conversion cycle is timed internally by the TLC549 internal oscillator independent of any externalclocking, and the conversion is complete in 17uS. CS is brought high during the conversionprocess, and DO returns to a high impedance state. At least 17µs must be allowed before thenext conversion sequence or the TLC549 conversion code will be corrupted.
A complete MSP430F1121–TLC549 software example, fet_549.s43, is provided. As coded, thesubroutine MEAS_549 requires 150 MCLK cycles and 31 bytes of assembler code including thesubroutine call. The entire example requires 60 bytes of code. In the included example, thewatchdog is disabled and the stack pointer and MSP430 I/Os after system reset are initialized.The subroutine MEAS_549 is called to drive a TLC549 conversion sequence with the 8-bitconversion code returned in ADCDATA. A register Counter (R12) is also temporarily used tocount data bits during the subroutine call. The register definitions for ADCDATA and Counter arearbitrary; any CPU registers, RAM bytes, or even the stack can be used for these registers.Important: Please review the current MSP430x11x1 and TLC549 datasheets and MSP430Users Guide for device electrical and timing specifications.
Modification for Use With TLV1549
If greater resolution is required, a pin-compatible TLV1549 10-bit converter can be used. Oneline of the subroutine source MEAS_549 must be modified to support a 10-bit converter. A totalof 10 clock pulses are needed and 10 bits of data are shifted into ADCDATA.
mov.w #10,Counter ; 10 data bits
2Interfacing the MSP430 and TLC549/1549 A/D Converters
MSP430单片机的程序设计
SLAA112.
1. MSP430x11x1 Datasheet (SLAS241)
2. MSP430x1xx Users Guide (SLAU049)
3. TLC548, TLC549 Datasheet (SLAS067)
Interfacing the MSP430 and TLC549/1549 A/D Converters3References
MSP430单片机的程序设计
SLAA112
Source code for FET_549.s43 Example
4Interfacing the MSP430 and TLC549/1549 A/D Converters
MSP430单片机的程序设计
SLAA112.
Interfacing the MSP430 and TLC549/1549 A/D Converters5
MSP430单片机的程序设计
IMPORTANT NOTICE
Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinueany product or service without notice, and advise customers to obtain the latest version of relevant informationto verify, before placing orders, that information being relied on is current and complete. All products are soldsubject to the terms and conditions of sale supplied at the time of order acknowledgment, including thosepertaining to warranty, patent infringement, and limitation of liability.
TI warrants performance of its semiconductor products to the specifications applicable at the time of sale inaccordance with TI’s standard warranty. Testing and other quality control techniques are utilized to the extentTI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarilyperformed, except those mandated by government requirements.
Customers are responsible for their applications using TI components.
In order to minimize risks associated with the customer’s applications, adequate design and operatingsafeguards must be provided by the customer to minimize inherent or procedural hazards.
TI assumes no liability for applications assistance or customer product design. TI does not warrant or representthat any license, either express or implied, is granted under any patent right, copyright, mask work right, or otherintellectual property right of TI covering or relating to any combination, machine, or process in which suchsemiconductor products or services might be or are used. TI’s publication of information regarding any thirdparty’s products or services does not constitute TI’s approval, warranty or endorsement thereof.
Copyright © 2000, Texas Instruments Incorporated
正在阅读:
MSP430与TLC549 TL1549模数转换器的连接04-20
精编版文章安全文化建设规划和计划01-02
邮政营业员(中级)学习资料及答案01-19
模拟电子技术基础课程设计报告01-15
河南监理员继续教育试题0201-19
警校毕业生实习报告通用7篇03-26
汽车4s店服务顾问职责02-25
离合器的设计05-20
潍坊市教学能手04-10
- 教学能力大赛决赛获奖-教学实施报告-(完整图文版)
- 互联网+数据中心行业分析报告
- 2017上海杨浦区高三一模数学试题及答案
- 招商部差旅接待管理制度(4-25)
- 学生游玩安全注意事项
- 学生信息管理系统(文档模板供参考)
- 叉车门架有限元分析及系统设计
- 2014帮助残疾人志愿者服务情况记录
- 叶绿体中色素的提取和分离实验
- 中国食物成分表2020年最新权威完整改进版
- 推动国土资源领域生态文明建设
- 给水管道冲洗和消毒记录
- 计算机软件专业自我评价
- 高中数学必修1-5知识点归纳
- 2018-2022年中国第五代移动通信技术(5G)产业深度分析及发展前景研究报告发展趋势(目录)
- 生产车间巡查制度
- 2018版中国光热发电行业深度研究报告目录
- (通用)2019年中考数学总复习 第一章 第四节 数的开方与二次根式课件
- 2017_2018学年高中语文第二单元第4课说数课件粤教版
- 上市新药Lumateperone(卢美哌隆)合成检索总结报告
- 模数转换器
- 连接
- MSP430
- TLC549
- TL1549
- 快速记住十二星座时间表
- 2015母乳的生物学功能研究进展_马守庆
- 安全隐患排查情况汇报
- 注册会计师(新制度)考试《财务成本管理》样题
- 湖南大学李达学院2011年拟录取名单
- 人民银行就金融债券发行以及有关管理办法答问
- 昆明历史文化名城保护研究
- 记叙文精彩语段欣赏
- 千古秘诀,胎息瞬时启动
- 2014年最新股市交易时间
- 联合应用DWI和MRA在急性脑梗死中的诊断价值
- 《景德镇高专学报》杂志社联系方式 编辑部投稿邮箱
- 安徽省第三产业租赁和商务服务业、教育行业个体就业人数3年数据
- 【牛津译林版】英语七年级下:Unit3 Welcome to Sunshine Town!
- 鄂教版小学语文五年级下学期第十册教案 第一单元
- 人体经络穴位图谱11胆经
- 大学中国地理教程期末试卷
- 国际CWPAS健康管理体系—疾病预报体检中心商业计划PPT。
- 常规量检测与控制工程专业综合实验设计
- 临床抗菌药物使用情况调查分析