UART Example Program not working when changing default uart pins

I have nrf52840-dk board.
i tried the UART example from the peripherals directory. it works with the default UART Configuration pins.

problem started when i tried to change the pins to p0.6 and p0.19. i didn't change anything else, just the pins numbers.

I am using Keil IDE with nRF5_SDK_17.0.2_d674dde.

And am using USB to TTL converter.

Related