AT91SAM9X35-EK I2C problems in 3.6.9 kernel

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

rms25
Posts: 14
Joined: Fri Sep 14, 2012 10:42 pm

AT91SAM9X35-EK I2C problems in 3.6.9 kernel

Wed Mar 13, 2013 5:29 pm

Using the 3.6.9 kernel, when the following options are chosen for the kernel

Code: Select all

CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_ALGOBIT=y

CONFIG_I2C_AT91=y
CONFIG_I2C_GPIO=y
the i2c folder shows up in "/dev/i2c-0/" but i2c communication is intermittent (for example last byte to be sent doesn't always get transferred), where as with the old kernel it worked fine.


I tried disabling the CONFIG_I2C_AT91 option and keeping all the other options the same, but when I do that there is no i2c folder in /dev/ anymore. In the old kernel the i2c folder would show up in /dev/ with

Code: Select all

CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_ALGOBIT=y

CONFIG_I2C_GPIO=y
Is the some other kernel options I need to enable for the i2c folder to show up in /dev/ with CONFIG_I2C_GPIO enabled and CONFIG_I2C_AT91 disabled? Or in the new kernel CONFIG_I2C_GPIO can't be used without CONFIG_I2C_AT91?

Thanks

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 10 guests