ChinaUnix.net
相关文章推荐:

IIC从机如何判断停止位

相关讨论

iic驱动 我使用的开发板,处理器芯片44B0与EEPROM(24C08)通过iic总线连接,因此验证iic驱动,就是通过写入C08一个数据然后再从中读出的方法。我使用中断的方法来实现iic数据的传输,查询的方法其实与中断差不多,应该更简单一些。 下面是我的驱动程序 #include #include #include //#include #include #include #include #include 3c44b0x.h> #include #include //#include #include #include #include ...

by luanjian - Linux文档专区 - 2006-07-30 10:42:14 阅读(752) 回复(0)
by OliverChina - 移动操作系统 - 2011-01-07 15:55:45 阅读(759) 回复(0)

source site : http://tech.digitimes.com.tw/ShowNews.aspx?zCatId=113&zNotesDocId=0595C9970549D37248256FF900461B44 確實,在一般運用下,I2C Bus與SMBus沒有太大的差別,從實體接線上看也幾乎無差異,甚至兩者直接相連多半也能相安無誤地正確互通並運作。不過若真要仔細探究,其實還是有諸多不同,如果電子設計工程師不能明辨兩者的真實差異,那麼在日後的開發設計的驗證除錯階段時必然會產生困擾,為此本文將從各層面...

by sil - Linux文档专区 - 2008-08-26 11:56:14 阅读(2047) 回复(0)
by luqc - 嵌入式开发 - 2011-11-08 17:05:40 阅读(6318) 回复(5)

有哪知道,在powerpc平台下,与linux的iic驱动相对应的device设备是在哪里增加的?我找了好久怎么也没有找到相关的代码,比如如下的一个driver: tatic struct i2c_driver at24c_driver = { .driver = { .name = "at24c", }, .probe = at24c_probe, .remove = at24c_remove, .id_table = at24c_id,//包括了支持的device }; static int __init at24c_init(void) { int ret; /*register at...

by jackyard - 驱动开发 - 2012-08-15 13:39:29 阅读(1593) 回复(6)

 摘自:《嵌入式Linux应用开发完全手册》——韦东山
一、iic总线协议和硬件介绍

1、iic总线协议

1)iic总线的概念

        iic总线是一种串行总线,用于连接微控制器及其外围设备,具有以下特点:

        ①两条总线线路:一条串行数据线(SDA),一条串行时钟线(SCL)

   ...

by mutes - 移动操作系统 - 2011-12-22 08:51:11 阅读(899) 回复(0)

我想通过ARM9(S3C2440)做视频采集,使用模拟摄像头,用saa7113芯片把视频解码后输入S3C2440的摄像头接口,然后显示输出。 我看2.6.29的内核已经支持saa7113(saa7115.c)了,但是这个版本的iic驱动程序是新式的,不是老式驱动那种open(),close()等接口函数,采用设备id的形式。请问各老师,这种驱动要怎样调用,其他驱动以及用户程序怎么跟它交互呢?怎么检测芯片已经准备好或已初始化?谢谢。

by db_tiger - 嵌入式开发 - 2010-03-05 22:34:19 阅读(1531) 回复(1)

我想通过ARM9(S3C2440)做视频采集,使用模拟摄像头,用saa7113芯片把视频解码后输入S3C2440的摄像头接口,然后显示输出。 我看2.6.29的内核已经支持saa7113(saa7115.c)了,但是这个版本的iic驱动程序是新式的,不是老式驱动那种open(),close()等接口函数,采用设备id的形式。请问各老师,这种驱动要怎样调用,其他驱动 以及 用户程序 怎么跟它交互呢?怎么检测芯片已经准备好或已初始化?谢谢。

i2c

by db_tiger - 驱动开发 - 2010-03-08 18:52:59 阅读(2353) 回复(3)

S3C2410 iic interface analyse From the manual,we know that the following steps should be executed before any iic Rx/Tx operations: 1)write slave device address to iicADD register,if needed. 2)configure iicCON register,enable interrupt and define SCL period 3)configure iicSTAT register,enable serial output 1.Operations for slave receiver mode 1)iicADD=0xaa; //the slave device address 2)iicCON=0x...

by creatory - Linux文档专区 - 2009-11-25 18:11:00 阅读(801) 回复(0)

不使用中断的话, s3c2410__iiccon 里面的 interrupt pending 需要一直查询,等到置后,才能下一步工作。 假如使用中断的话, 那还需要查询这个 pending 么, 我发现使用中断的话如果不查询pending同样也不能工作, 这是怎么回事呢?? 进入中断不就是表明 int pending 置了么??

by star316 - 嵌入式开发 - 2009-02-25 13:29:17 阅读(1542) 回复(6)