Hi,
i have to watch my program flow in segger debugging mode, so that i enable
#ifndef NRF_LOG_ENABLED
#define NRF_LOG_ENABLED 1
#endif
in sdk_config.h file.
now i can get the log information in my debug terminal but i have also got the log message for spi transmission and reception, i have to disable the spi info log in my program,
moreover i get my log only i call the function name called NRF_LOG_FLUSH();, before that i have wrote my log in NRF_LOG_INFO("frame_seq_nb:%d \r\n",Time);
why it should i have to call NRF_LOG_FLUSH() this function.
my log message be like
[0m<info> spi: Transfer tx_len:5, rx_len:5.[0m
[0m<info> spi: Transfer completed rx_len:5.[0m
[0m<info> spi: Function: nrf_drv_spi_xfer, error code: NRF_SUCCESS.[0m
[0m<info> app: frame_seq_nb:0
i only need the final message.
can anybody help me to sort out this as soon as possible.
Thanks in advance