Pinctrl configuration

Hi.

I am working on the nRF Connect 2.0.0 SDK.

In the nrf9160dk_nrf9160_common-pinctrl.dtsi file the UART is configured with a CTS and RTS pin connected to a GPIO like this:

&pinctrl {
    uart1_default: uart1_default {
		group1 {
			psels = <NRF_PSEL(UART_TX, 0, 1)>,
				<NRF_PSEL(UART_RTS, 0, 14)>;
		};
		group2 {
			psels = <NRF_PSEL(UART_RX, 0, 0)>,
				<NRF_PSEL(UART_CTS, 0, 15)>;
			bias-pull-up;
		};
	};

	uart1_sleep: uart1_sleep {
		group1 {
			psels = <NRF_PSEL(UART_TX, 0, 1)>,
				<NRF_PSEL(UART_RX, 0, 0)>,
				<NRF_PSEL(UART_RTS, 0, 14)>,
				<NRF_PSEL(UART_CTS, 0, 15)>;
			low-power-enable;
		};
	};

In the overlay file I change it to:

&pinctrl {
    uart1_default {
		group1 {
			psels = <NRF_PSEL(UART_TX, 0, 30)>;

		};	
		group2 {
			psels = <NRF_PSEL(UART_RX, 0, 31)>;
		};
	};

	uart1_sleep {
		group1 {
			psels = <NRF_PSEL(UART_TX, 0, 30)>,
				<NRF_PSEL(UART_RX, 0, 31)>;
			low-power-enable;
		};
	};

With the configuration in the overlay file without CTS and RTS configuration, will the RTS and CTS pins be disconnected from the GPIOs or will they be connected to they be connected to the GPIOs from the configuration in the .dtsi file?

If the CTS and RTS is still connected to the GPIOs, how do I disconnect them?

Parents Reply Children
No Data
Related