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.

C6678 startup

We are starting to work with your eval board.

We are ready to port code to it (via CCS) and would appreciater any help in getting started.

We have 2 separate areas we need to work on.

1- We need to interface to the SPI form a web page using the ARM core.

2- We need to load test software into a specific core of our choice and have it execute this software. We need the software to be able to toggle a pin form low to high at a given point in the code and toggle it from high to low at another given point to benchmark the execution time of code snippets. This will help us determine how much CPU power we really need to do our real-time operations and how much more we can add before we run out of steam.

Whati s the fastest way forward to get this going for someone who has no experince with this eval board?

Thanks for your assistance

  • Hi,

    Just to clarify question 1, are you planning to communicate a C6678 with an ARM? Because C6678 doesn't have an ARM core.

    2 - see the GPIO manual (http://www.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=sprugv1) and the the chip support library (http://processors.wiki.ti.com/index.php/Chip_support_library). You can find headers to deal with GPIO.

    But you can also measure the execution time using internal functions like using csl functions (note that in this case you have to add the csl library to the project - you can find it in the csl directory in the pdk folder)    

    CSL_Uint64  time0, time1;
    CSL_tscEnable();
    time0 = CSL_tscRead();

    // your code here

    time1 = CSL_tscRead();

    printf("Time = %lld\n", time1 - time0);