在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 4585|回复: 8

[求助] i2c总线主模式设计 真心不会求救 各位大神

[复制链接]
发表于 2012-12-17 20:40:07 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x

I2C协议主模式数据收发。

(1)实现I2C协议主模式下信息传送;

(2)每次启动传送完成16比特数据的传输;

(3)待发送数据16bit格式,接收数据整理成16bit格式;

发表于 2012-12-25 00:16:53 | 显示全部楼层
LZ纯粹是为了来赚晶石的,这么简单的问题也来问,网上都出都有。
发表于 2013-1-5 14:05:42 | 显示全部楼层
能帮就帮嘛,指条路嘛
发表于 2014-2-26 17:22:28 | 显示全部楼层
多看看MCU的模拟方法即可。
发表于 2014-3-3 16:27:05 | 显示全部楼层
I2C master自己写几行代码就ok了。。
发表于 2014-3-12 22:03:37 | 显示全部楼层
你如果自己写这个IP核的话,我们可以提供I2C的 Verification IP 给你。这样你可以来Verify你写的I2C代码。

我们的I2C Verification IP:  provides an effective & efficient  way to verify the components
interfacing  with  I2C interface of an IP or SoC.

This VIP is a light weight VIP with  easy plug-and-play interface so that  there is no hit on the design time and the simulation time.

This VIP is compatible with Mentor Questa, Cadence NC and Synopsys VCS , and can be used for verification of I2C IP in standalone or in SoC environment.


主要Features:
• Fully compliant with Revision 03 and 2.1 of the I2C Bus Specification
• Full I2C Master and Slave functionality
- Master Transmitter/Master Receiver
- Slave Transmitter/Slave Receiver
• START , repeat START and STOP for all possible transfers
• Supports all Speed Modes: Standard Speed Mode (upto  100 kb/s), Fast Speed Mode (upto  400 kb/s), Fast Speed Mode Plus (upto 1Mb/s) and High Speed Mode (upto  3.4 Mb/s)
•  Supports 7-Bit and 10-Bit addressing format
•  Allows testing of varied bus traffic for Read, Write, General Call
•  Supports scoreboard feature for end to end data integrity  check
•  Notifies the Testbench of significant events such as transactions, warnings, and protocol errors
•  Built in I2C Bus Monitor provides extensive protocol checking
•  Supports Multi-Master and Multi-Slave system
•  Supports Arbitration and Clock Synchronization
•  Supports START Byte, Device ID, Bus Clear and Clock Stretching
•  Supports various error injection and detection
•  Provides verification scalability using functional coverage
•  Provides logging facility for bus traffic in the ASCII format and in user configurable mode
•  Supports Callback in Master and Slave
•  Supports timing checks in the Monitor
发表于 2014-4-23 16:01:14 | 显示全部楼层
写几行代码就ok了。。
发表于 2014-9-2 19:17:32 | 显示全部楼层
感觉不是很难得
发表于 2014-9-27 19:07:55 | 显示全部楼层
感谢楼主分享!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条


小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-11-22 13:02 , Processed in 0.090246 second(s), 10 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表