This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to use the 2 UART simultaneously in the nRF52840 based MDBT50Q evaluation board.

Sir,

I have one nRF52840 based MDBT50Q evaluation board. I need to configure the 2 UART pins together. How to make it possible???

Parents Reply Children
  • I did not get the question here?

    As this is a high-level description of parts of what you want to do, I want to mention that we are happy to assist in answering technical question and providing advice, but you have to do the development work yourself.

  • I am looking at the sdk15.3 serial_uartes/main.c file and then the project sdk_config.h

    where as the UARTE module itself is configured the individual UARTEs are not. 

    // <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver
    //==========================================================
    #ifndef NRFX_UARTE_ENABLED
    #define NRFX_UARTE_ENABLED 1
    #endif
    // <o> NRFX_UARTE0_ENABLED - Enable UARTE0 instance
    #ifndef NRFX_UARTE0_ENABLED
    #define NRFX_UARTE0_ENABLED 0
    #endif

    // <o> NRFX_UARTE1_ENABLED - Enable UARTE1 instance
    #ifndef NRFX_UARTE1_ENABLED
    #define NRFX_UARTE1_ENABLED 0
    #endif

    But later the older UART and individual UART0, UART1 defines are enabled.  The UARTE defines have been in the sdk_config file for now 3 releases.  If they are not used can they be removed as it is very confusing. 

    Also I have inherited a sdk15.0 file set that uses 2 uarte ports.  It appears the code uses modifications from this link:  https://devzone.nordicsemi.com/f/nordic-q-a/33558/use-2-uarte-with-sdk15

    Is this still valid?

    Thank you

  • Hi,

    Please create a new question, as this is not related to the original thread.

Related