Dear Nordic,
I have custom nRF5340 board in my hands and I am going to evaluate its RF performance.
I have ncs2.3.0 in use.
In order to do so, I have nRF5340dk (PCA10095) and I have successfully built the default ncs -> samples -> direct_test_mode example and verified that using RealTerm, the transmitter gets active.
However, my custom board has a few GPIOs interfaced outside, no USB, and I would first like to verify with the dk board that I can control the transmitter using the very same GPIOS. Let us assume that the GPIOs are P0.08 (RX) and P0.09 (TX). I tried to add the GPIOs to the nrf5340dk_nrf5340_cpunet.overlay file as attached but building it failed.
Could you advise me little bit that how I am supposed to change the uart pins for the DTM mode?
/ { chosen { ncs,dtm-uart = &uart0; }; }; &uart0 { status = "okay"; compatible = "nordic,nrf-ipc-uart"; ipc = <&ipc0>; ept-name = "remote shell"; current-speed = <19200>; tx-pin = < 8 >; rx-pin = < 9 >; }; &radio { status = "okay"; /* This is a number of antennas that are available on antenna matrix * designed by Nordic. For more information see README.rst. */ dfe-antenna-num = <12>; /* This is a setting that enables antenna 12 (in antenna matrix designed * by Nordic) for PDU. For more information see README.rst. */ dfe-pdu-antenna = <0x0>; /* These are GPIO pin numbers that are provided to * Radio peripheral. The pins will be acquired by Radio to * drive antenna switching. * Pin numbers are selected to drive switches on antenna matrix * desinged by Nordic. For more information see README.rst. */ dfegpio0-gpios = <&gpio0 4 0>; dfegpio1-gpios = <&gpio0 5 0>; dfegpio2-gpios = <&gpio0 6 0>; dfegpio3-gpios = <&gpio0 7 0>; };
C:\ncs\toolchains\v2.3.0\opt\bin\cmake.exe --regenerate-during-build -SC:\ncs\v2.3.0\nrf\samples\bluetooth\direct_test_mode -BC:\ncs\v2.3.0\nrf\samples\bluetooth\direct_test_mode\build
ninja: error: rebuilding 'build.ninja': subcommand failed
FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.3.0\opt\bin\cmake.EXE' --build 'c:\ncs\v2.3.0\nrf\samples\bluetooth\direct_test_mode\build'