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.

Is it possible to use the OMAP L138 LCDK to implement an I2C or SPI connection with an external device?

Other Parts Discussed in Thread: OMAPL138

I am excited to start implementing a project that involves using the OMAP L138 LCDK, but I need guidance about how to begin interfacing with the LCDK. I have been reading the wikis (MCDSK User Guide and L138 LCDK), but I have not yet succsefully compiled and ran code.

  1. Do I need a hardware Emulator to accomplish this task?
    1. Will any of the suggested Emulators (XDS100, XDS200, XDS510, XDS560) suffice for this task?

  2. Which interfaces on the LCDK can be used to send I2C and SPI?
    1. Where can I found a pinout for the Expansion socket on the LCDK?

  3. If an Emulator is not required, how do I transfer, and execute CCS code on the LCDK?
    1. How can I load one of the sample DSP applications to the LCDK? The MCSDK OMAPL138 tutorial instructs to: << Create new Target "mcsdk.ccxml" with "Spectrum Digital XDS510USB Emulator" as Connection and "LCSDKOMAPL138" as Board or Device. >> within CCS.

  4. Where can I find the Reference Manual for writing code for the OMAP L138 LCDK?

Thank you in advance for any guidance you can provide!

  • Hello Miron,

    1. Yes, you may need to have emulator to execute CCS code on the LCDK. Please refer below link for supported emulators.

    2. Please refer below link where you can find the design files of the LCDK board. Please go through the schematics to find the I2C and SPI connections.

    Documents

    3. Yes, any of the supported emulator is required to connect the LCDK to CCS. Please refer below wiki page and see if it helps for you.

    4. Please refer below software reference guide for writing code for the OMAP L138 LCDK.

    Regards,

    Senthil

  • Hi Miron,

    Miron said:
    3. If an Emulator is not required, how do I transfer, and execute CCS code on the LCDK?

    How can I load one of the sample DSP applications to the LCDK? The MCSDK OMAPL138 tutorial instructs to: << Create new Target "mcsdk.ccxml" with "Spectrum Digital XDS510USB Emulator" as Connection and "LCSDKOMAPL138" as Board or Device. >> within CCS.

    Yes, you have to create a "target configuration file". It is easy. You can follow these links and proceed further.

    Without emulator, you can even flash the sample binaries and test it but you cannot debug. Only With emulator, you can do real time debugging.

    Miron said:
    Where can I find the Reference Manual for writing code for the OMAP L138 LCDK?

    Do you mean the technical reference manual ? If yes, go to the product folder of OMAPl138 and download the TRM by clicking the "Technical Documents" option. Or hit here directly:-

    If you are looking for some software reference, Please refer to the following links.

    Download Source code for sample codes:

    Regards,

    Shankari

  • Hi Miron,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com).

    We have Starterware(Non-OS) example codes for LCDK, and can kick start with.

    Check-out below link to download starterware package.

    http://processors.wiki.ti.com/index.php/StarterWare

    Also we have BIOS SDK package, you can download them from below link.

    http://www.ti.com/tool/biossw-c6748

  • Hi All
    Thanks for the responses they were very helpful! I was able to run the example code on the LCDK. Now I am looking to modify the example code and am looking for a reference manual that outlines all of the functions available to me in the libraries.

    The wiki mentions that StarterWare falls under Legacy Software, and instead suggests using the MCSDK. Are they the same thing? Is there documentation for either that helps explain how to develop code for the L138 from within the C environment?

  • Hi Miron,

    Glad to hear that you are able to run the example code on LCDK. If you are looking for any API document for the APIs used in the starterware code, go to ~\ti\OMAPL138_StarterWare_1_10_04_01\docs and visit "OMAPL138_StarterWare_01_10_04_01.chm"


    Tha main difference between the starterware the MCSDK is that in starterware you will find lot of ( non -OS) examples for peripheral testing where as in MCSDK you will find limited examples on ( non-os ) category. But MCSDK has enclosed Linux for ARM and BIOS for DSP.
    Starterware will not ahve any OS related stuffs.


    -------