Re: Going mad about I2C #i2c #stm32 #nrf51822


Roman Tataurov
 

MCU is this https://github.com/zephyrproject-rtos/zephyr/tree/d6e3f22fddccf4b542cb5ec780440cb629c12290/arch/arm/soc/st_stm32/stm32f1
Using this board https://github.com/zephyrproject-rtos/zephyr/tree/d6e3f22fddccf4b542cb5ec780440cb629c12290/boards/arm/stm32_min_dev

Seems it completely off i2c devices so added to board dts 

&i2c1 {
        status = "ok";
};
 
&i2c2 {
        status = "ok";
};
To make it work. Together with bug fixed about DTS https://github.com/zephyrproject-rtos/zephyr/issues/7248 I have now I2C device created. So code is work now. 
But still no activities on device pins. Checked all the pins with logick analser and found nothing.

I suspect some GPIO setup required.

Join users@lists.zephyrproject.org to automatically receive all group messages.