⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 i2c-taos-evm

📁 linux 内核源代码
💻
字号:
Kernel driver i2c-taos-evmAuthor: Jean Delvare <khali@linux-fr.org>This is a driver for the evaluation modules for TAOS I2C/SMBus chips.The modules include an SMBus master with limited capabilities, which canbe controlled over the serial port. Virtually all evaluation modulesare supported, but a few lines of code need to be added for each newmodule to instantiate the right I2C chip on the bus. Obviously, a driverfor the chip in question is also needed.Currently supported devices are:* TAOS TSL2550 EVMFor addtional information on TAOS products, please see  http://www.taosinc.com/Using this driver-----------------In order to use this driver, you'll need the serport driver, and theinputattach tool, which is part of the input-utils package. The followingcommands will tell the kernel that you have a TAOS EVM on the firstserial port:# modprobe serport# inputattach --taos-evm /dev/ttyS0Technical details-----------------Only 4 SMBus transaction types are supported by the TAOS evaluationmodules:* Receive Byte* Send Byte* Read Byte* Write ByteThe communication protocol is text-based and pretty simple. It isdescribed in a PDF document on the CD which comes with the evaluationmodule. The communication is rather slow, because the serial port hasto operate at 1200 bps. However, I don't think this is a big concern inpractice, as these modules are meant for evaluation and testing only.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -