实现串行E^2PROM芯片的PC界面操作  

Operation of Serial Chip E^2PROM On PC Interface

在线阅读下载全文

作  者:贾东耀[1] 汪仁煌[1] 

机构地区:[1]广东工业大学,广东广州510090

出  处:《仪表技术与传感器》2002年第8期31-33,51,共4页Instrument Technique and Sensor

摘  要:基于串行总线I2 C或SPI的E2 PROM芯片已被广泛应用于智能仪表中 ,但通常对E2 PROM的操作是利用单片机实现 ,可视性不强。文中以X2 5 0 4 5为例 ,给出了一种实现串行E2 PROM芯片功能的新方案 ,即通过PC机和单片机之间的串行通讯 ,可以很方便的实现PC机对E2 PROM的读写操作 ,并且可以把需要存入E2 PROM的数据以数据库文件的形式保存起来 ,设计更为灵活。PC机界面采用VB6 0编程 ,形象直观。该设计充分利用了PC机的资源 ,在模块方式嵌入系统中 ,对于无显示模板系统的调试 ,确认存取数据和基本参数的准确性等方面的操作方便、简单。本方案具有典型性 ,对于其他I2 C或SPI总线串行E2 PROM的读写同样适用。E\+2PROM chips based on SPI or I\+2C serial bus have been used widely in intelligent instruments and sensors,while the normal operation on E 2PROM is reailized by single chip and is invisible. This paper introduces one new method of realizing the function of chip E 2PROM and gives the example of X25045.By using the serial communication between the PC and single chip,the read and write operation of X25045 is carried out easily on PC,and the data to be stored in E 2PROM can be stored in database file form.The PC interface is built by Visual Basic 6.0 and vivid result is got.Especially in model embedded system,this method is effective in debugging embedded system without display model,conforming access data and examing the acuracy of basic parameters by making fully use of the PC resourses.The method is typical and can be applied to other E 2PROM chips based on SPI or I 2C bus.

关 键 词:通讯约定 单片机 C语言 串行通信 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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