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.

Getting Started with TMDX570LS31HDK Eval Board and the Code Composer Studio

Other Parts Discussed in Thread: TMS570LS3137, HALCOGEN

Hi all-

I've got some issues getting started with the TMDX570LS31HDK eval board.

I installed the Code Composer Studio which came with the CD included in the package.

Now I'm trying to create a simple C application to run on bare metal, like - for example - letting some of the LEDs around the MCU blink.

I did some PIC programming before and was able to get started pretty quickly, because there are MCU specific include files with predefined macros that made it pretty easy to configure some pins as outputs or inputs or to declare a serial UART port and set the BRGs correctly. Even interrupts and timers are pretty straight forward - simply with the MCU datasheet and appropriate include files.

I'm sure, it is pretty similiar here, but I don't get a start with this board/MCU... What's the typical initialization sequence for the MCU? how do I configure the I/O-Pins? How can I declare a CAN or SPI interface? Which registers have to be set?

So far, I managed to get a communication between CCS and the onboard USB programmer interface...

But I can't find any tms570ls3137 specific include files or config options in CCS.

The eval board user guide is also not very helpful - yet very incomprehensive...

I don't know: maybe I need some hints on the MCU specific stuff and on how to use CCS correctly...

Thanks in advance!

Matthias

  • Matthias,

    Thank you for using our forum.

    The best and easiest way to start with TMS570LS31HDK is to use HalCoGen.

    Halcogen provides a graphic interface to generate startup code to fuly initialize the device as well as all drivers api to program and use almost all peripheral modules.

    Halcogen is available on the HDK setup CD or can be download from our website.

    In addition HalCoGen has code example to help you understand our devices.

    Please have a try and let us know your feedback.

  • Jean-Marc,

    thanks for the quick reply and the good hint! I played with the tool and successfully compiled and flashed an example!

    I can proceed now... further questions will arise later... ;-)

    Cheers

    Matthias