Hi,
I don't know how to display the serial log of the program on the NRF connect tool.
Can you give me some advice? Thanks.
Hi,
I don't know how to display the serial log of the program on the NRF connect tool.
Can you give me some advice? Thanks.
add info:
I used nrf52810 chip. SDK is nRF5_SDK_15.3.0_59ac345\examples\dtm\direct_test_mode\pca10040e\blank\arm5_no_packs
Hi,
Bu default, there is no serial log in the DTM firmware. The UART peripheral is used for the DTM commands, and do not support simultaneous logging.
You could add logging over RTT, but you would have to add this to the firmware yourself and add logging strings. You will also not be able to view these logs in the nRF Connect DTM app, you will have to use J-Link RTT Viewer software or similar. What did you want to get from the serial log?
Best regards,
Jørgen
Hi,
I want to get rssi value and the number of packages.
Best regards.
I have modified the DTM example with RTT logging enabled and printing of RSSI and packet numbers. I'm not sure if these are the parameters you wanted, but at least you have a starting point to log what you want. Note that you cannot see the log in nRF Connect, you need to use J-Link RTT Viewer.
Sorry for taking so long to reply.
After I combined the program you provided, using the NRF connect's Receive mode test, the rssi value was fixed on the 1 channel.And m_rx_pkt_count is always 0.
The test tools I used included the pca10040 development board, the NRF connect kit on my computer, and the DTM program.Whether these can meet the requirements of rssi and m_rx_pkt_count.