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.

UART Driver for OMAPL138 (TMS320C6748 SYS/BIOS Software Development Kit (SDK))

Other Parts Discussed in Thread: OMAPL138, OMAP-L138

Hi, 

I downloaded software for TMS320C6748 SYS/BIOS Software Development Kit (SDK). This is for OMAPL138. Iam trying to figure out how to write a new driver. I am looking at UART. The "...\ti\tirtos_c6000_2_00_01_23\packages\ti\drivers\" folder has a UART.c and there is a folder for UART. 

The UART.c is the middleware functionality exposed to Applications (it exposes functions like UART_Open(), UART_Close() etc). 

The UART folder here consists of UARTEUSCIA.c, UARTTiva.c and UARTUSCIA.c. 

What are the above 3 files? Which is the correct driver for OMAPL138?  

Pinakin 

  • Hi Pinakin,

    The mentioned UART drivers for TIVA and MSP430 series controllers and not for C6000.

    The UART driver support is not available (not included) for C6000 like OMAPL138 devices.

    Please check the release notes.

    ti/tirtos_c6000_2_00_01_23/tirtos_2_00_01_23_release_notes.html

    We have starterware package for C6000.

    processors.wiki.ti.com/.../StarterWare

    processors.wiki.ti.com/.../StarterWare_UART

  • Hi Pinakin,

    To check on the available list of software packages for OMAPl138, please visit the TI WIKI pages. ( particulalry the SW companion chart will be very useful to you. )

    http://processors.wiki.ti.com/index.php/StarterWare_01.10.01.01_User_Guide#UART

    Using the above link, you can download the packages too.

    In starterware it encloses not only UART driver it encloses almost all the peripheral drivers.

    The BIOS_C6SDK package is applicable for the DSP core ( C6748 ) on OMAPL138 processor. And even in that package, you will find some reference code for UART at path : \ti\c6sdk_02_00_00_00\tools\OMAP-L138_FlashAndBootUtils_2_36\Common\drivers\src.

    Once you install starterware package, you can spot the uart driver at "\ti\OMAPL138_StarterWare_1_10_04_01\drivers"

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • With the BIOS C6 SDK, the SYS/BIOS UART for the EVM6748 should be in the PDK/BIOSPSP directory

    pdk_c6748_2_00_00_00\biospsp_03_00_01_00\

    then drill down to

    drivers\uart\src\Uart.c
    drivers\uart\src\Uart_edma.c
    drivers\uart\include\Uart.h
    drivers\uart\lib\c6748-evm\674
    platforms\evm6748\src\uart_evmInit.c

    I don't know if any of the above is part of the TI-RTOS. Can't comment on UART code for the ARM side of the OMAPL138.