Hi,
I am trying to learn the I2c with nrf5340 PDK. I need to interface Sht20 and Mlx90614 with nrf5340PDK. I need to know the procedures regards this on NRF Connect SDK
Thanks & Regards
Navin
Hi,
I am trying to learn the I2c with nrf5340 PDK. I need to interface Sht20 and Mlx90614 with nrf5340PDK. I need to know the procedures regards this on NRF Connect SDK
Thanks & Regards
Navin
Hi Markus,
Yes correct i2c_write is not happen
it returns EIO
How can I resolve this ??
Thanks & Regards
Navin
Hello Navin,
does your binding complete successfully?
If it does, you might wanna enable debug logging and check if you can get more information about why the i2c_write function is failing. To enable logging of the I2C peripheral, you can use this command:
CONFIG_I2C_LOG_LEVEL_DBG=y
Regards,
Markus
Hello Navin,
I’m not quite sure what the problem is with your application currently? Can you elaborate?
Regards,
Markus
Hello Navin,
have you tried to enable debug logging for the I2C module as suggested? Did you get any more information out of it? Is the sensor connect correctly to your DK?
I unfortunately do not have the possibility to check your whole application unless you point me towards specific lines/functions.
Regards,
Markus