HI
How to change uart pin in DTM example use NCS 2.0?
HI
How to change uart pin in DTM example use NCS 2.0?
Hello,
You need to chage the pin numbers assigned to uart in the device tree to change the uart pins.. The overlay file would look somewhat like this..
&uart0 {
status = "okay";
current-speed = <115200>;
rx-pin = <33>; // pin number of your choice
tx-pin = <34>; //pin number of your choice
};
You can change the pin numbers to that of your choice..
Best Regards,
Swathy
Hello,
You need to chage the pin numbers assigned to uart in the device tree to change the uart pins.. The overlay file would look somewhat like this..
&uart0 {
status = "okay";
current-speed = <115200>;
rx-pin = <33>; // pin number of your choice
tx-pin = <34>; //pin number of your choice
};
You can change the pin numbers to that of your choice..
Best Regards,
Swathy