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
Have you registered your application for logging in main.c as well? This can be done by e.g.:
LOG_MODULE_REGISTER(sample_name, CONFIG_SAMPLE_NAME_LOG_LEVEL);
Regards,
Markus
Hi Markus,
I have configured like what you suggested only. Even i can't print any log.
I have recently checked. Even the sensor is not connected. I can print"device has found". And also some constant values.
It looks like my I2c has problem. Help me to correct
Thanks & regards
Navin
Hello Navin,
that sounds strange. You should be able to see logs in your Terminal after enabling and registration of the main module to the logger.
Do you get any warnings during the build of your application? How does your main function look like currently?
Regards,
Markus
Hi Markus,
I didn't get any log on my terminal
Do you get any warnings during the build of your application? How does your main function look like currently?
No, I didn't get any warnings
Thanks & regards
Navin
Hello Navin,
would you mind attaching your application to this case (I can make it private in that case, if you would like to)? I can check if I can find the reason why your logging doesn’t work.
Regards,
Markus