Re: I2c problem on 96b Carbon.
Mani Sadhasivam
Hello, I've observed the same issue on 96b_carbon while trying to communicate over I2C_1. In polling mode, it looks like carbon sends slave address and waits forever for the status of address sent in 'while (!LL_I2C_IsActiveFlag_ADDR(i2c)) {;}' I couldn't debug much because of the lack of debugger. However, I found that carbon supports I2C_2 on-board but it is not enabled properly. So, I have created a PR(https://github.com/zephyrproject-rtos/zephyr/pull/1235) for enabling that. With that PR I can use I2C_2 interface for communicating slave without any issues. After enabling CONFIG_I2C_2, I have modified tmp112 sample application for tmp007 and read the temp values. I'm also planning to debug I2C_1 issue and I'll reply if I find more about it. Thanks, Mani
On Fri, Aug 4, 2017 at 5:25 PM, Iñaki Malerba <inakimmalerba@...> wrote:
|
|