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.

TMDSEVM6678: Building Error UART Example code using the CSL ( Chip support Library ) package and test on C6678 EVM

Part Number: TMDSEVM6678

Dear all,

I am trying to build and run the example on C:\ti\pdk_c667x_2_0_16\packages\ti\csl\example\uart\uart_test.

To do That I follow the the same steps on this FAQ: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1242663/faq-tms320c6678-how-to-create-a-edma-ping-pong-test-code-using-the-csl-chip-support-library-package-and-test-on-c6678-evm?tisearch=e2e-sitesearch&keymatch=C6678%20CSL%20example#

I have changed EDMA related operations in the FAQ for those equivalents on th UART.

Next image is the error I get when Building:

Next pictures Shows the project properties:

It seems that miss some file. Any idea? How to include it?

If you need further information do not hesitate to ask for it.

Thanks in advance,

Joquin

  • Joquin,

    Let me look at it and get back.

    Regards

    Shankari G

  • Joquin,

    The uart sample code is already ready made in the package of PDK of Processor SDK 6.3.

    We need not re-create like EDMA example.

    It is because for EDMA, there is no separate example exists, I posted an FAQ on how to create.

    --

    Please follow the steps here to generate the uart example code with Processor SDk 6.3

    [FAQ] TMS320C6678: UART Example project for C667x family devices - Processors forum - Processors - TI E2E support forums

    Regards

    Shankari G

  • Hi Shankari,

    Thank you very much for your reply.

    I have not problem on the examples on "C:\ti\pdk_c667x_2_0_16\packages\MyExampleProjects". I am able to read/build/run as you have proposed.

    However I was trying to read, build and run those on "C:\ti\pdk_c667x_2_0_16\packages\ti\csl\example" because they are not the same as in "MyExampleProjects". At least, the main.c on ..csl\exaple\uart\uart_test is different. For me, it seems to be more simple and therefore better to start to.

    Is there any way to read/buidl/run those examples?

    Why exists those examples on "...\ti\csl"?

    Thanks in advance,

    Joaquin.

  • Joaquin,

    If you are looking for baremetal examples for UART, that is UART example without SYSBIOS-RTOS, please use the plaform test example.

    This platform test example encloses the uart test code which uses the CSL and the platform LIB. Search for "test_uart" in "platforms_utils_test.c"

    --

    Actually, this CSL example enclosed in all the PDK of Processor SDK is common for family / or the series of devices. Not all the CSL examples are expected to work for C6678....

    That is evident from the makefile and the macros used to define the name of the SOCS.

    ( For example ......... "#if defined (SOC_AM574x) || defined (SOC_AM572x) || defined (SOC_AM571x)"

    In these code, we will not find any for SOC_C6678.

    ---

    A common code base is developed after-when for individual devices, appropriate code is added/deleted/edited etc and then released as a separate package as Processor SDK .

    Regards

    Shankari G

  • Hi Shankari,

    Thank you for your support.

    Ok, I understand.

    Regards,

    Joaquin.