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

How to make LOG_INF and LOG_ERR print over UART0 in nrf9160?

In the past I was able to get the Serial LTE Example application working over UART0 on the pins used in my custom board. I did so by adding a file called nrf9160dk_nrf9160.overlay with the lines 


&uart0 {
current-speed = <115200>;
status = "okay";
tx-pin = <1>;
rx-pin = <0>;
rts-pin = <0xFFFFFFFF>;
cts-pin = <0xFFFFFFFF>;
};

Now I have upgraded to ncs v1.5.0 and am trying to move the mqtt_simple sample onto my custom board.

In this case adding my .overlay does not show any communication over UART 0. When the project is built with this overlay and put on the DK there is nothing in LTE Link Monitor at all.

I figure as good a place as any to start is trying to get LOG_INF and LOG_ERR to print to UART0 on pins 1 and 0.

How can I do that?

Parents Reply Children
No Data
Related