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.

C6748 StarterWare documentation

Other Parts Discussed in Thread: TMS320C6748, OMAPL138

As I began using your starterware, I started reading the  "C6748_StarterWare_01_20_04_01.chm"  help file.

When I got to the cache.c File Reference, and began reading the Detailed Description, the sum total of the "detailed" description is this:

"Contains DSP cache related APIs"

See screen shot below:

My question is whether there is any more detailed documentation, or whether I must simply puzzle out the source code, the various manuals that have bits and pieces of info about the cache registers, and put it all together myself?  I mean, I thought the whole idea of documentation of a function was so that the user would not have to do all that by himself.

  • Thank you very much for your help.  Unfortunately, I have so many references to various documents, and each one is missing critical information....

    Regarding the cache control...In the TMS320C6748 data sheet (SPRS590F) there is mention of C674x Cache Registers, on page 13, with their names and addresses, and a brief summary description of what they are for.  But there is no detailed description of what the different bits in these registers do.

    So...I turn to the TMS320C6748 DSP Technical Reference Manual.  1752 pages.  Surely this must have some details??  But no, there is no mention of L2CFG or L1PCFG or the various cache control registers. Just a few general comments.

    We come to SPRUG82A, the Cache User Guide...surely that will have the details.  But no, it just has some vague comments about functions in a "Chip Support Library"...functions like CACHE_L1pSetSize()  but no explanation of the parameters of these functions, or where they are found.

    Oh, I see it points me to the TMS320C674x DSP Megamodule Reference Guide, SPRUFK5A.  OK...finally we have the register definitions.  Great.

    Now, what about the starter ware?  The documents you mentioned also have no details about the starter ware function parameters.  They merely mention the existence of these functions, and some example uses.

    All I can really do is examine the dspcache.h file and compare it with the register definitions in the Megamodule guide, now that I have found them, and figure out from that what the programmer intended.

    It is of course possible to do this, and apparently I have no other choice, but TI really should try to get its act together regarding technical documentation. The hard work was desigining the chip...why not go a tiny bit further and sort out the documentation???

    Anyone else feel that way sometimes?

  • Hi Michael,

    Glad to hear that you figured it out.

    Thanks for your update.

  • I am facing the same problem right now exactly the same, i want to program I2C module and i just can't find out where to start from
  • Hi Aakash,

    I would suggest you to do hands-on with starterware example code and debug them.
    As starterware is a bare metal code, you should not get much of problem to understand code flow.

    For I2C communication protocol, you can refer C6748 Technical reference Manual .
    For I2C register details you need to refer C6748 Datasheet.
  • Hi,
    Also, I would like to add the following links to start your I2C development with C6748.
    C:\ti\OMAPL138_StarterWare_1_10_04_01\examples\evmOMAPL138\i2c
    C:\ti\OMAPL138_StarterWare_1_10_04_01\examples\evmOMAPL138\i2c_edma
    C:\ti\OMAPL138_StarterWare_1_10_04_01\drivers\i2c.c
    C:\ti\OMAPL138_StarterWare_1_10_04_01\platform\evmOMAPL138\i2c.c

    Location is the same for C6748 too.
  • I am going to have to second Michael Greenspan's comments on the lack of documentation or EXAMPLES for the C6748 Starterware Cache function (which is what the original post was about, before it was hijacked, and the hijacked question was answered.). Can someone please provide some EXAMPLES and guidance on how to use the C6748 Starterware Cache function? I am trying to get an audio codec to compress and decompress in real-time. Without caching (when using DDR) it is impossible.