Hi all,
Can you give me some advices to make the I2c device available for cs-e9302?
I am using Linux kernel 2.6.
Thanks.
FengYi
Hi all,
Can you give me some advices to make the I2c device available for cs-e9302?
I am using Linux kernel 2.6.
Thanks.
FengYi
Hello,
“Seems” to work with linux 2.6.17.14 from the olimex cdrom and the suplied rootdir.tgz.
You will have to create the corresponding node by yoursefl (mknode).
Activate EP9XX I2C in “I2C Harware Bus support” in menuconfig.
I only test SDL/SCA actvity with oscilloscope when writing to /dev/ic2-0 node.
You will have to pick up SDL/SDA signals on EE_CLK/EE_DATA jumpers near UEXT connectors.
No further test so far.
Philippe
@ Philippe,
Thanks for your help.
And I have done something in menuconfig. And I see the I2C device by “cat /proc/devices” on board system.
I think I should learn more about the Linux2.6’s I2C construction first, then do some test.Do i ?
Cheers,
Yee
Hello,
I have tried all the kernels present on the olimex cd-rom and only the 2.6.17.14 has specific I2C driver for EP93XX. Only with that kernel SDL/SDA pins are alive.
I am beginer in linux i2C. I had only used I2C in microcontrolers (PIC) before.
This page http://xgoat.com/wp/2007/11/11/using-i2 … -in-linux/ was a great help to start I2C from user space. My initial goal was to communicate with PIC microcontroler board in I2C to make data acquisition. It was why I was interested by I2C from user space.
You will also get useful informations in the kernel source documentation /linux-2.6.17.14/Documentation/i2c.
Philippe
f5owl:
Hello,I have tried all the kernels present on the olimex cd-rom and only the 2.6.17.14 has specific I2C driver for EP93XX. Only with that kernel SDL/SDA pins are alive.
I am beginer in linux i2C. I had only used I2C in microcontrolers (PIC) before.
This page http://xgoat.com/wp/2007/11/11/using-i2 … -in-linux/ was a great help to start I2C from user space. My initial goal was to communicate with PIC microcontroler board in I2C to make data acquisition. It was why I was interested by I2C from user space.
You will also get useful informations in the kernel source documentation /linux-2.6.17.14/Documentation/i2c.
Philippe
Hi @Philippe
Thanks for your help. The link is very helpful
Thanks!
FengYi