ChinaUnix.net
相关文章推荐:

S3C2410 IIC EEPROM中断

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 阅读(800) 回复(0)

相关讨论

linux-2.6.14.1中的/include/asm/arch-s3c2410/regs-iic.h中定义了 iic的寄存器的地址: #define s3c2410_iicREG(x) (x) #define s3c2410_iicCON s3c2410_iicREG(0x00) #define s3c2410_iicSTAT s3c2410_iicREG(0x04) #define s3c2410_iicADD s3c2410_iicREG(0x08) #define s3c2410_iicDS s3c2410_iicREG(0x0C) #define S3C2440_iicLC s3c2410_iicREG(0x10) 我将/linux-2.6.14.1/include/asm/arch-s3c2410/map.h文件...

by bsdhnit - 驱动开发 - 2008-09-30 13:27:08 阅读(2150) 回复(1)

本帖最后由 lanejim 于 2012-09-01 20:31 编辑 各位大侠好,小弟恳请大侠帮我指点一下s3c2410iic驱动程序,驱动的是AT24C02芯片,主要就是芯片的读写操作,目前的状态就是读写数据一直进不了中断, 小弟对驱动不是很懂,但是对这个感兴趣,驱动源代码如下: 一些头文件: #ifndef iic_H #define iic_H #define READ_eeprom 0xA1 //读eeprom #define WRITE_eeprom ...

by lanejim - 驱动开发 - 2012-09-03 09:06:05 阅读(1569) 回复(4)

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

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

ppcboot上电显示如下: PPCBoot 2.0.0 (Dec 15 2005 - 20:00:18) PPCBoot code: 33F00000 -> 33F15D5C BSS: -> 33F191F0 DRAM Configuration: Bank #0: 30000000 64 M Flash Memory Start 0x0 Device ID of the Flash is 18 ...

by wenzhiguo - Linux文档专区 - 2007-12-11 11:03:47 阅读(667) 回复(0)

音频驱动方安的分析:2410+iis+iic ---文章由sil80提供   s3c2410通过IIS(Inter-IC Sound)总线与音频控制芯片UDA1380进行通信。放音时发送数据到UDA1380的DATAI管脚,录音时从UDA1380的DATAO管脚接收数据,其数据传输方式为DMA方式。 IIS用于传输音频数据,iic用于控制1380芯片 IIS有pclk,sclk,lr...

by rwen2012 - Linux文档专区 - 2006-06-09 09:32:45 阅读(811) 回复(0)

mini2440有eeprom吗 ?u-boot-1.1.6怎么配置可以支持eeprom? :em27: :em27: :em27: :em27: :em27:

by liutaolinux - 嵌入式开发 - 2011-09-30 14:09:42 阅读(1605) 回复(0)
by dingzerong - 移动操作系统 - 2011-12-23 02:53:15 阅读(720) 回复(0)

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 阅读(750) 回复(0)
by OliverChina - 移动操作系统 - 2011-01-07 15:55:45 阅读(758) 回复(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 阅读(2045) 回复(0)