This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

uart0 setting in device tree

Hi I am using the aws_iot example on the nrf9160 DK.

I have opened the zephyr.dts file and in the section uart0: it has the following 

uart0: uart@8000 {
				compatible = "nordic,nrf-uarte";
				reg = < 0x8000 0x1000 >;
				interrupts = < 0x8 0x1 >;
				status = "okay";
				label = "UART_0";
				current-speed = < 0x1c200 >;
                                tx-pin = < 0x1d >;
				rx-pin = < 0x1c >;
				rts-pin = < 0x1b >;
				cts-pin = < 0x1a >;
			};

I've reached this point trying to change the pins that the console outputs. But whatever change I may do at this point there is no effect.

I continue to get normal logging in the LTE Link monitor application. I even deleted the section and it still works as before.

It seems that it is taking this info from elsewhere but where?

Parents Reply
  • If you're in vscode, you should go to the nordic environment, there you will see, above actions, the device tree. open the "busses" folder, then open the uart folder of the uart you desire to use. You can see a few settings there. If you click the pensil, you will be able to edit your desired setting.

Children
Related