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.

Multiple UART interfaces

Hi,

 

[[  Env.: C6748 DSP, CCS4, PSP 1.30.1  ]]

 

I'm trying to initialize and use multiple UARTs interfaces simultaneously.

UART2 works "out of the box" (using the example given within the PSP)

I couldn't find a way to initialize and use UART0 and UART1 (all UART work at Interrupt mode, no DMA is required)

 

Any idea?

 

Regards,

Uri

 

 

  • Hi Uri,

    Uri Shkolnik said:
    I couldn't find a way to initialize and use UART0 and UART1 (all UART work at Interrupt mode, no DMA is required)

    Once can start with the sample application and add UART instances 0 and 1.

    For this please refer to the UART sections 2.3.1 and 1.5.2 of the user guide

    One needs to:

    1. Open up the uartSample.tci file in the examples folder create two more instances. The parameters that will change are deviceId, and you may need to supply the  device parameters (like uartParams) , user initialization function (like user_uart2_init). The last two are defined in the uartSample.c file. You may want to have similar ones for other instances
    2. Open the platforms\emv6748\src\uart_evmInit.c file and and add pinmux initialization routines or other pre-initialization steps as demanded by the EVM configuration. Please note that on the EVM only UART instance 2 is brought out for use.