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

in NCS1.5.0 ,how can i chang uart0 tx pin and rx pin using device_get_binding()?

in sample peripheral_uart in NCS1.5.0 ,I want to re-binding uart0 rx and tx pin . the default pin is p0.20 and p0.22 ,i want to rebind witn p1.0 and p1.1  .but i edit in prj.conf ,has no effect .

&uart0{
compatible = "nordic,nrf-uarte";
tx-pin = < 0x21 >;
rx-pin = < 0x20 >;
}; , i close SEGGER Embedded studio, and clean solution ,rebuild solution ,load code in nrf5340 cpp core ,but have no effect.

Parents Reply Children
No Data
Related