检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]成都理工大学信息科学与技术学院,四川成都610059
出 处:《电子设计工程》2018年第4期172-175,179,共5页Electronic Design Engineering
摘 要:ⅡC总线串行接口占用引脚少,硬件实现简单等优点已被广泛应用于很多系统内部集成电路(IC)间的通信,因此各设备间通信的准确性和稳定性非常重要。本文基于STM32F103系列单片机,提供了ⅡC与DAC6571通信的两种方法。分别通过STM32内部硬件逻辑和通用GPIO口模拟两种方式,采用C语言编程,以ⅡC协议标准控制数据线和时钟线进行程序设计,并实现了两者间的通信。文章详细分析了STM32与DAC6571的通信过程,给出了其中关键程序,并对该设计结果进行了实验验证与数据分析。IIC bus serial interface occupies fewer pins, hardware and other advantages of simple and so has been widely used in many systems within the integrated circuit (IC) between the communication, so the communication between the accuracy and stability of the equipment is very important. Based on the STM32F103 family of microcontrollers, this paper provides two methods for communicating IIC and DAC6571. Respectively, through STM32 internal hardware logic and general-purpose GPIO port simulation in two ways, using C language programming, IIC protocol standard control data lines and clock lines for programming, and to achieve the communication between the two. In this paper, the communication process between STM32 and DAC6571 is analyzed in detail, and the key program is given. The experimental results are verified and analyzed.
关 键 词:DAC6571 IIC总线 STM32单片机 硬件IIC 模拟IIC
分 类 号:TN91[电子电信—通信与信息系统]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15