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
HI
This method works fine in ncs1.9, but in ncs 2.0 and walk, I found some information, can you provide examples for reference?

Thanks
edit:
This method works fine in ncs 1.9, but doesn't work in ncs 2.0, I found some information, can you provide an example for my reference?

Hello,
Sorry.. I didn't notice that this was for v2.0.0..
We have a migration guide that you could refer : https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/migration/migration_guide_1.x_to_2.x.html
You could also take a look at this document to know how to change the UART pins in the overlay file: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/ug_pinctrl.html#pin-control-in-nrf
Best Regards,
Swathy