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


Rodrigo Peixoto <rodrigopex@...>
 

Describe better your environment.

Which board (and no MCU) are you using? Based on the http://docs.zephyrproject.org/boards/arm/nucleo_f103rb/doc/nucleof103rb.html it seems that the i2c_1 that it might be the I2C_0 in Zephyr is on the PORTB. I have added the following line #define CONFIG_I2C_0_NAME "PORTB". For the https://github.com/zephyrproject-rtos/zephyr/tree/d6e3f22fddccf4b542cb5ec780440cb629c12290/samples/drivers/i2c_fujitsu_fram example. It compiles but I don't have the board here to test.

Try this and let us know.

Best regards, Rodrigo Peixoto.

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