This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

UART Configuration

Hi All,

I am Using the NRF52840 DK Device for my application development 

I want 2 UARTS for my application 

I have used the example -  nRF5_SDK_15.3.0_59ac345\examples\peripheral\serial_uartes\pca10056 in this the Pins are configured 8,6,27,26, In my application board i have used pin 19 and 20 for UART0 and 21,22 for UART1.

Unfortunately other than 8,6,27,26,  none of the pins does these UART functions by changing the pin no 

can somebody explain to me how to configure the pin 19 and 20 for UART0 and 21,22 for UART1?

With Regards,

Rakesh 

Parents Reply
  • I think you're on the right track with regards to your defines. 

    Have you scoped the I/O lines with a digital analyzer or are you just trying to read them using a terminal?


    We need to verify that the UARTE peripheral is actually configured correctly. To do that we need to know the state of the UART Registers after you've initialized the driver and are ready for a UART transfer. 

    Specifically we're interested in registers from SHORTS to CONFIG. 



    If the configuration is correct then it might be the flash device loading the I/O lines, I suggest you try cutting SB21 and SB22, see External memory

Children
Related