Using pin P0.00 and P0.01 as RX TX of UART

I want to use P0.00 and P0.01 as UART pins.
I have shorted the SB3 and SB4, and opened the SB1 and SB2 for using the pin as GPIO.

If I am enabling the "CONFIG_BOOTLOADER_MCUBOOT=y", I am not able to see the log on UART. If I disable this config I can see the logs. Can you please help so that I can use the UART along with the "CONFIG_BOOTLOADER_MCUBOOT=y".

Also used config for using P0.00 and P0.01 as GPIO

CONFIG_GPIO=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y

 

Parents Reply Children
  • I am using SDK version v2.6.1 with nrf52833. I have tested with the other pins for RX TX and its working but when I configured RX TX with P0.00 and P0.01, I am not able to see any logs.

    uart0_default: uart0_default {
    		group1 {
    			psels = <NRF_PSEL(UART_TX, 0, 1)>,
    				<NRF_PSEL(UART_RTS, 0, 5)>;
    		};
    		group2 {
    			psels = <NRF_PSEL(UART_RX, 0, 0)>,
    				<NRF_PSEL(UART_CTS, 0, 7)>;
    			bias-pull-up;
    		};
    	};
    
    	uart0_sleep: uart0_sleep {
    		group1 {
    			psels = <NRF_PSEL(UART_TX, 0, 1)>,
    				<NRF_PSEL(UART_RX, 0, 0)>,
    				<NRF_PSEL(UART_RTS, 0, 5)>,
    				<NRF_PSEL(UART_CTS, 0, 7)>;
    			low-power-enable;
    		};
    	};

Related