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
  • Hi I have disconnected the External flash and updated the code as below 

    #define RX_PIN_NUMBER  20//8
    #define TX_PIN_NUMBER  19//6


    //#define RX_PIN_NUMBER 27//8
    //#define TX_PIN_NUMBER 26//6
    #define CTS_PIN_NUMBER 7
    #define RTS_PIN_NUMBER 5
    #define HWFC true

    /*
    #define BSP_QSPI_SCK_PIN 19
    #define BSP_QSPI_CSN_PIN 17
    #define BSP_QSPI_IO0_PIN 20
    #define BSP_QSPI_IO1_PIN 21
    #define BSP_QSPI_IO2_PIN 22
    #define BSP_QSPI_IO3_PIN 23
    */

    But still, i am unable to see the UARTE communications on PIN 19 and 20m, Do you have any Guss ?

Children
Related