文件名称:STC12C5A60S2_24C02_Test

  • 所属分类:
  • 单片机(51,AVR,MSP430等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2016-05-04
  • 文件大小:
  • 44kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • yush*****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

AT24C02外部EEPROM测试程序

1、程序说明:

该例程演示了单片机端口上的外部EEPROM测试实验,该EEPROM为I2C接口,

使用单片机端口模拟I2C协议实现通信,程序中对EEPROM写入一个页的数据,

再将该页的数据读出,如果读写EEPROM失败,则数码管显示“Error”,

如果测试成功, 则在数码管显示“CorrECt”。



2、实验操作

将拨码开关S10的SMG端拨到ON端,表示该端接通。

同时把该拨码开关的其他端置为断开状态,即不拨到ON端。

否则将影响到实验效果。-AT24C02 external EEPROM test program

1, descr iption of the procedures:

This routine demonstrates the external EEPROM test chip on the port, the EEPROM for the I2C interface,

The use of single-chip communication port to realize I2C protocol simulation, write a page of data in a EEPROM program,

Then the page data read, read and write if EEPROM fails, then the digital tube display Error ,

If the test is successful, then the CorrECt in the digital tube display .

2, experimental operation

The dial switch SMG S10 end of the ON to the side, indicating that the end is connected.

At the same time, the other end of the dial switch is in a disconnected state, that is, the switch is not transferred to the ON terminal.

Otherwise, it will affect the experimental results.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





9、AT24C02外部I2C总线EEPROM实验\24C02_Test.plg

...............................\24C02_Test.uvopt

...............................\24C02_Test.uvproj

...............................\24C02_Test_uvopt.bak

...............................\24C02_Test_uvproj.bak

...............................\Application\Doc\readme.txt

...............................\...........\Header\24c02.h

...............................\...........\......\STC12C5A60S2.H

...............................\...........\Source\24c02.c

...............................\...........\......\main.c

...............................\...........\.tartup\STARTUP.A51

...............................\Lis\24c02.lst

...............................\...\24C02_Test.m51

...............................\...\main.lst

...............................\...\STARTUP.lst

...............................\Obj\24c02.obj

...............................\...\24C02_Test

...............................\...\24C02_Test.hex

...............................\...\24C02_Test.lnp

...............................\...\24C02_Test.plg

...............................\...\main.obj

...............................\...\STARTUP.obj

...............................\Application\Doc

...............................\...........\Header

...............................\...........\Source

...............................\...........\Startup

...............................\Application

...............................\Lis

...............................\Obj

9、AT24C02外部I2C总线EEPROM实验

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org