This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432E401Y: UART LIBRARY NOT GETTING INCLUDED

Part Number: MSP432E401Y

Hi 

I am working on Ethernet-based IO Control Example of MSP432E401Y SDK.

The example uses a UART peripheral for printing the details on a console.

But the way they have initialized the UART peripheral and used it is different from usual.

I am a beginner and unfamiliar with such technique.

I wish to use a UART peripheral say UART4 in the example but as I include the code required along with the libraries the below errors show up.

How can I correct this or How can initialize a UART peripheral of my choice in the Ethernet Based IO Control example itself. 

Below is the screenshot of the error message shown.

  • Can you confirm this is the example that you are using: 

    If you look at uartstdio.c you will see the following possible base addresses defined.

    //*****************************************************************************
    //
    // The list of possible base addresses for the console UART.
    //
    //*****************************************************************************
    static const uint32_t g_ui32UARTBase[3] =
    {
    UART0_BASE, UART1_BASE, UART2_BASE
    };

    Regards,
    Chris

  • Hello Mritunjoy,

    The  Ethernet-based IO Control Example uses Driverlib APIs. I think you want to use TI-Driver APIs. That's why you see the difference.

    Please refer to the last two replies of the following post for more details on different API used in SimpleLink SDKs so that you can make an informed decision on which APIs you want to use: 

    Thanks,

    Sai

  • Yes sir I want to use ti driver api

    My issue is resolved I was able to use it In the example

    Thankyou .

**Attention** This is a public forum