nrf connect sdk : nrf52833 take DTM

Hi nordic team,

i want to use DTM for nrf52833 in Nrf Connct Sdk.

however,in document:

do it mean that only nrf5340 and nrf52840 can take DTM in NCS?

can i use DTM for nrf52833 by copying code from sample project?

Thanks

  • Hi,

     

    You can use DTM with all nRF5-series devices.

    For nRF52833, you can create an overlay file in the boards/nrf52833dk_nrf52833.overlay:

    / {
    	chosen {
    		ncs,dtm-uart = &uart0;
    	};
    };
    
    &uart0 {
    	status = "okay";
    	current-speed = <19200>;
    };
    
    &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>;
    };

     

    For other devices, such as nRF52832/810, you can rely in the already present "app.overlay" file.

     

    Kind regards,

    Håkon

Related