基于STM32的ⅡC-DAC6571程序设计  被引量:4

Program design of ⅡC-DAC6571 based on STM32

在线阅读下载全文

作  者:刘静[1] 余小平[1] 奚大顺[1] 阳光[1] 

机构地区:[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[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象