Nrf54l15 uses direct_test_mode, setting UART 20 is invalid

Hi:

My board(nrf54l15) needs to direct testing,I changed the uart20 pin, but it doesn't work

&pinctrl {
    uart20_default: uart20_default {
        group1 {
            psels = <NRF_PSEL(UART_TX, 1, 7)>, <NRF_PSEL(UART_RX, 1, 5)>;
        };
    };

    uart20_sleep: uart20_sleep {
        group1 {
            psels = <NRF_PSEL(UART_TX, 1, 7)>, <NRF_PSEL(UART_RX, 1, 5)>;
            low-power-enable;
        };
    };
};

Parents Reply Children
  • Hi:
    I'm sure using P1x is possible, but changing it to P00~P03 won't work with UART 20.Use custom board.I am very confused!

    / {
    	chosen {
    		ncs,dtm-uart = &uart20;
    	};
    };
    
    &uart20 {
    	status = "okay";
    	current-speed = <19200>;
    	pinctrl-0 = <&uart20_default>;
    	pinctrl-1 = <&uart20_sleep>;
    	pinctrl-names = "default", "sleep";	
    };
    
    &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>;
    };
    
    &uart30 {
        status = "disabled";
    };
    
    &pinctrl {
      /delete-node/ uart20_default;
      /delete-node/ uart20_sleep;
    	uart20_default: uart20_default {
    		group1 {
    			psels = <NRF_PSEL(UART_TX, 0, 0)>;//psels = <NRF_PSEL(UART_TX, 1, 4)>;
    		};
    		group2 {
    			psels = <NRF_PSEL(UART_RX, 0, 1)>;//psels = <NRF_PSEL(UART_RX, 1, 14)>;
    			bias-pull-up;
    		};
    	};
    	uart20_sleep: uart20_sleep {
    		group1 {
    			psels = <NRF_PSEL(UART_TX, 0, 0)>, //psels = <NRF_PSEL(UART_TX, 1, 4)>;
    				<NRF_PSEL(UART_RX, 0, 1)>;//psels = <NRF_PSEL(UART_RX, 1, 14)>;
    			low-power-enable;
    		};
    	};
    };

Related