好文档 - 专业文书写作范文服务资料分享网站

基于STM32的IIC-DAC6571程序设计

天下 分享 时间: 加入收藏 我要投稿 点赞

基于STM32的IIC-DAC6571程序设计

刘静;余小平;奚大顺;阳光

【期刊名称】《电子设计工程》 【年(卷),期】2018(026)004

【摘要】IIC总线串行接口占用引脚少,硬件实现简单等优点已被广泛应用于很多系统内部集成电路(IC)间的通信,因此各设备间通信的准确性和稳定性非常重要.本文基于STM32F103系列单片机,提供了IIC与DAC6571通信的两种方法.分别通过STM32内部硬件逻辑和通用GPIO口模拟两种方式,采用C语言编程,以IIC协议标准控制数据线和时钟线进行程序设计,并实现了两者间的通信.文章详细分析了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

基于STM32的IIC-DAC6571程序设计

基于STM32的IIC-DAC6571程序设计刘静;余小平;奚大顺;阳光【期刊名称】《电子设计工程》【年(卷),期】2018(026)004【摘要】IIC总线串行接口占用引脚少,硬件实现简单等优点已被广泛应用于很多系统内部集成电路(IC)间的通信,因此各设备间通信的准确性和稳定性非常重要.本文基于STM32F103系列单片机,提
推荐度:
点击下载文档文档为doc格式
3gjel35cum570pk9t8239nplx1m54t00alq
领取福利

微信扫码领取福利

微信扫码分享