cant read device using i2c sample code on nrf52


gurpreet+zephy@...
 

I'm trying to run the sample i2c code from samples/drivers/i2c_fujitsu_fram on my board. 
I've tweaked the address to use the i2c address of my device, and am trying to read the who_am_i register, but to no avail. 

My prj.conf is
CONFIG_STDOUT_CONSOLE=y
CONFIG_PRINTK=y
CONFIG_I2C=y
CONFIG_I2C_NRFX=y
CONFIG_I2C_0_NRF_TWIM=y
CONFIG_I2C_INIT_PRIORITY=60
CONFIG_I2C_0=y

Is there something else I need to be doing to get this to work?

-Gurpreet 

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