• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:陈 玉.TDC-GP22时间数字芯片关键编程算法研究与实现[J].软件工程,2018,21(8):4-6.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
TDC-GP22时间数字芯片关键编程算法研究与实现
陈 玉
(山西大学商务学院信息中心,山西 太原 030031)
摘 要: TDC-GP22芯片是一款皮秒级高精度时间数字转换芯片,由于TDC-GP22内部寄存器种类繁多,所以芯 片编程操作相对较复杂。为此根据TDC-GP22的SPI接口特点,并结合AVR单片机主机优势,用高级语言编制符合SPI 接口协议程序,实现对TDC-GP22的两种主要操作,一种是按照SPI协议对芯片的寄存器进行读取数据操作,另一种 是根据SPI协议数据循环特点对芯片寄存器进行写入数据操作。TDC-GP22实验测试结果表明所编制程序运行完全稳 定可行。
关键词: 芯片;高级语言;单片机;接口
中图分类号: TP31    文献标识码: A
Research and Implementation of Key Programming Algorithm for the TDC-GP22 Time Digital Chip
CHEN Yu
( Information Center, Business College of Shanxi University, Taiyuan 030031, China)
Abstract: The TDC-GP22 chip is a picosecond level high precision time-to-digital conversion chip,the programming of which is relatively complex because of the wide variety of internal registers in TDC-GP22.Therefore,based on the features of TDC-GP22's SPI interface,combined with the advantages of AVR microcontrollers,SPI interface protocol program is compiled with high-level language to implement the two main operations of TDC-GP22,one is to read data operations on the chip registers according to the SPI protocol,the other is to write data to the chip registers according to the data cycle characteristics of the SPI protocol.TDC-GP22 experimental results show that the program is stable and feasible.
Keywords: chip;high-level language;microcontrollers;interface


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫