This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

trouble on i2c bus #2

Other Parts Discussed in Thread: LM83, OMAPL138, OMAP3530

Hi,

I'm trying to read an i2c temperature sensor (LM83) which is connected to the i2c bus #2. Under U-Boot everything works fine but using the linux tools i2cdump/i2cget (running 2.6.28) only bogus values are returned. I've already changed the i2c initialization to 100kHz instead of 400 but to no avail. Are there any common pitfalls or anybody has ideas how to debug the problem?

One more thing I observed with my debugger was that once linux is running I cannot access the i2c config registers anymore. If I do so in kernel code (regrw-Driver) the kernel crashes...

 

thanks for helping ideas!

regards, Andi