摘要
为了解决ⅡC总线通信过程中经常出现的不同问题,充分利用MSP430单片机寄存器设置和中断设置等的特点和优良性,采用硬件设计和软件调试相结合的方法对存储器电路、键盘电路和显示电路进行了分析和设计,分别采用模拟ⅡC时序方法、寄存器方法和中断方法进行主机和从机的ⅡC通信,并对出现的各种问题提出新的解决方法,然后通过实验进行验证,结果表明基于MSP430单片机的ⅡC总线通信设计完全符合设计要求。
by the research on IIC bus communication control system based on MSP430 MCU, the full use of the microcomputer - rich logic judgment and numerical calculation and middle - high - grade MSP430 chip related register function, it can not only realize the digitization of analog controller, and can make the IIC communication control method be simple and feasible. In view of the existing appl!cation theory of single chip microcomputer, the solution of various problems in the specific design is introduced. The MSP430 bus is researched and compared with each other by analog mode, register mode and interrupt mode. The correctness of the method is proved by experiments.
作者
杨汉华
YANG Hanhua(Students' Dffairs Division Yaneheng Institute of Technology, Yancheng Jiangsu 224002, Chin)
出处
《盐城工学院学报(自然科学版)》
CAS
2017年第3期48-53,63,共7页
Journal of Yancheng Institute of Technology:Natural Science Edition
关键词
微处理器
逻辑判断
参数变化
ⅡC通信
microprocessor
logic judgment
parameters changing
IIC communication