This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrF5340 network processor RTT and debug UART nrf Connect SDK v1.5.0

Hi,

I was using the  die temperature measure example you gave running on the network core. I am using SDK 1.5.0 and 1.4.0 and can't seem to get any debug out from the UART or via RTT. My proj.conf file has :

CONFIG_GPIO=y
CONFIG_SERIAL=y
CONFIG_SENSOR=y
CONFIG_TEMP_NRF5=y

CONFIG_PRINTK=y
CONFIG_CONSOLE=y
CONFIG_LOG=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_RTT_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y

Can't get anything working on the RTT or uart via printk or printf.  I was able to get the temperatures by watching val but not sure why printk isn't working. The debugging sort of works as I can step through code and I did program the dummy app to enable the network core. I'm using the standard DTS file for the network processor on the PDK. Also tried the log module with LOG_INF and this comes up with a compile error that the __log_level is undeclared. I tried the same project but on a nrf52833 kit and it works fine. I then tried the rpmsg sample you provide and lo and behold couldn't get the UART or RTT working either ( I tried it last year and it did seem to work then). I also looked at the levels on P0.25 and P0.26 with a scope and they are low with no activity.  Any ideas where I'm going wrong?

Related