Hi all.
I have a problem with work with TPS65950 by i2c. When I use i2c-tools for connection for read any register, I have error
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.
Hi all.
I have a problem with work with TPS65950 by i2c. When I use i2c-tools for connection for read any register, I have error
Kazunobu Shin said:Hello Denis,
I'm not familiar with the i2c-tools. Could you tell me the details on the i2c-tools or your development environment ? Are you using OMAP3EVM, Processor module and power module together ? What's your OS or BSP ?
Hi.
I solved problem.
I use development board "Zoom Omap35x SOM Development kit" with linux os.
i2c-tools - it's open source linux toolkit for work with i2c devices (http://www.lm-sensors.org/wiki/I2CTools). I builded if for arm processor and tested on development board.
Looks like some other subsystems have access to TPS65950 by i2c bus and os block access.
I fixed problem by using ioctl(file, I2C_SLAVE_FORCE, address) instead of ioctl(file, I2C_SLAVE, address), or '-f' flag in any tool from i2c-tools.
Regards,
Denis.
Hi Denis
It sounds like a work-around... Did you ever find out what other sub-system was taking over the I2C bus?
I have the same issue, and forcing access solves it, but I need to understand why.
Thank you
Gil