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.

IWR1642: UART Config table where to find it

Part Number: IWR1642

In UART_open() the first parameter passed is an index which refers to some uart_config table. Where can I find the table?

Secondly, in the UART test code which has been widely reused in all the demo codes, while setting the PINMUX there is a reference to bring out UART 1 and UART 3 and there is a DSS UART

Isn't there only 2 UARTs on MSS and 1 UART on DSS? Is there any significance in the comment in the code referring it as UART3

  • Former Member
    0 Former Member

    Hello,

    Please refer to the documentation in the uart.h file: 

    * The UART driver interface module is joined (at link time) to a
    * NULL-terminated array of UART_Config data structures named *UART_config*.
    * *UART_config* is implemented in the application with each entry being an
    * instance of a UART peripheral. Each entry in *UART_config* contains a:
    * - (UART_FxnTable *) to a set of functions that implement a UART peripheral
    * - (void *) data object that is associated with the UART_FxnTable
    * - (void *) hardware attributes that are associated with the UART_FxnTable
    *
    * There is a platform specific UART file present in the *ti/drivers/uart/platform*
    * directory. This file is built as a part of the UART Library for the specific
    * platform.

    Amanda