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: TMDSEVM6678 code example

Part Number: TMDSEVM6678


Hi,

I am looking for a code that does the following steps:

1. Init a buffer on the DDR with values running from 0 to 10000.

2. The embedded FPGA reads the buffer and makes a right-shift to the values.

3. FPGA sends the modified data to the DSP c6678 core 0 by Hyperlink.

4. Core 0 spreads the received data to the rest of cores (Core 1,Core 2,...,Core 7)

5. Each core applies a different and simple mathematical operation on the data and sends it at the end to a results buffer on the DDR.

Where may I find such an example or can you compose such an example?

THanks

  • Hi,

    There is no such example.
    What I can suggest is to start with the Hyperlink example from Processor SDK RTOS (this is an example code for communication between two C6678 DSPs through hyperlink) and adapt to your use case. TI does not provide the example code you request.

    Best Regards,
    Yordan
  • OK,

    I will try to integrate your examples...

    Please refer me to the following code examples:

    1. Write to a DDR buffer by one of DSP's cores.

    2. The FPGA reads data from the DDR.

    3. Hyperlink between FPGA and  one of DSP's cores by DMA (read & write)

    4. Data spreading by one of the cores to all the rest.

    5. Read from/Write to DDR by one of cores via DMA.

    Regards,

    Moti

  • Hi Moti,

    As I told you these are your specific use cases. TI does not provide such examples.

    For writing to ddr you can check the platform_test_evmc6678 project (see the test_external_memory() function). Basically you should set the ddr start address & lenght in the .cmd file, then in your C code you should init the ddr and then do a read/write to the memory space. This is available in the CSL library. There are no examples for FPGA & c6678.

    Download the sdk: www.ti.com/.../processor-sdk-c667x and have a look at the drivers provided.

    Best Regards,
    Yordan