摘要
针对在电子测控系统中常用的PIC16C5X系列单片机的特性,以PIC16C57和ADC0809的接口为例,对PIC16C5X单片机与A/D芯片接口的实现原理和方法进行了详细分析,提出一种新的接口实现方法,用寄存器f9的低4位控制产生与ADC0809相适应的时序,实现PIC16C57与ADC0809之间的时序配合,完成A/D转换过程。给出了硬件连接图和软件流程及在实际测量系统中的试验结果。
According to the characteristics of the single chip computer of PIC16CSX series commonly used in the electronic measuring system,and taking the interface between PIC16C57 and ADC0809 as a sample,the principles and implementation of the interface between PIC16C5X microcontroller and A/D chip are analyzed in details. A new approach to implementation of the interface is proposed. The timing adapted to ADC0809 is generated under the control of the lowest four bits of the register f9 to realize the cooperation between PIC16C57 and ADC0809 and to accomplish A/D conversion. The hardware diagram, software flow and the experimental results in the practical measuring system are given.
出处
《现代电子技术》
2006年第10期117-118,共2页
Modern Electronics Technique