Hi Everyone,
In this code I'm face a problem. The issue is when i debug, it shows "<info> app: TWI device detected at address 0x6D". Please find attached a snapshot of the issue.
Need your help ASAP. Thanks
Regards,
Yuvaraj
Hi Everyone,
In this code I'm face a problem. The issue is when i debug, it shows "<info> app: TWI device detected at address 0x6D". Please find attached a snapshot of the issue.
Need your help ASAP. Thanks
Regards,
Yuvaraj
If you get "No device was found" from the twi_scanner example, the sensor is not responding to (acking) the address. Do you have another sensor that you can connect and test with?
Hi Jorgen,
I think "No device was found" this messege is from my DK not my custom board.
How to conform this messege is from my custom board?
How to print log info from my custom board?
My custom board is in final product stage, complete pcb, so how i check my sensor?
Regards,
Yuvaraj
You should be able to run the twi_scanner example on your custom board by changing the TWI pins. If you do not have UART on your board, you can view the log output on RTT by enabling RTT backend for NRF_LOG module by setting this in sdk_config.h file:
#ifndef NRF_LOG_BACKEND_RTT_ENABLED #define NRF_LOG_BACKEND_RTT_ENABLED 1 #endif #ifndef NRF_LOG_BACKEND_UART_ENABLED #define NRF_LOG_BACKEND_UART_ENABLED 0 #endif