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.

Documentation of StarterWare mainly MCASP

Other Parts Discussed in Thread: OMAPL138

Need a little help;
I'm using the kit OMAPL138 LCDK and after many attempts, I managed to successfully run the example I will use as a basis for the development of a project (McASP).
However, I could not in any way (many attempts) find the CSL (Chip Support Library) for OMAPl138 / C674x.

Let me give an example:

I have a piece of code:

int main(void)
{
unsigned short parToSend;
unsigned short parToLink;

/* Set up pin mux for I2C module 0 */
I2CPinMuxSetup(0);
McASPPinMuxSetup();

/* Power up the McASP module */
PSCModuleControl(SOC_PSC_1_REGS, HW_PSC_MCASP0, PSC_POWERDOMAIN_ALWAYS_ON,
PSC_MDCTL_NEXT_ENABLE);

/* Power up EDMA3CC_0 and EDMA3TC_0 */
……………

The I2CPinMuxSetup (0) function, for example, find no documentation on how to use it.
can someone help me?


  • Hi User,

    Sorry for the inconvenience if any.

     I2CPinMuxSetup (0) -> I2C BUS 0 pinmuxing

     I2CPinMuxSetup (1) -> I2C BUS 1 pinmuxing

    I haven't looked into the code that you refer but I'm understanding from the code snippet is,

    It will setup the pinmux for i2c bus '0'

    You can refer the driver folder and platform folder files for API understanding, there you can those API with good comments for explanation and API usage.

    I will share the link if I find any, let me check with team.

    Mean while, if you have any issues with API usage or with any code, please post to us.

  • I guess my question was not very clear ...
    I would like to find some documentation or some where I can find the seguiontes functions:



    IntRegister

    IntEventMap

    IntEnable

    I2CPinMuxSetup

    McASPPinMuxSetup

    IntDSPINTCInit

    IntAINTCInit

    IntGlobalEnable

    I2CInterruptVectorGet

     IntChannelSet

    IntSystemEnable

    EDMA3IntSetup

    EDMA3Init

    IntMasterIRQEnable

    IntIRQEnable

    IntSystemStatusClear

     

  • Hi User,

    As far as I know, we don't have exact API user guide for starterware except general user guide for every peripheral.

    http://processors.wiki.ti.com/index.php/StarterWare_01.10.01.01_User_Guide#Programming_2

  • I want to run audio example on the ARM side of OMAPL138 LDCK in SYS/BIOS. I've tried starterware audio example which is working fine outside SYS/BIOS but when using it in SYS/BIOS and changing the interrupt to be compatible with sys/bios interrupt, it's not working.

    I've also tried psp 3 package which is for DSP and tried to build it for ARM, still no success! MCSDK package libraries are all for DSP. IS there anybody implementing audio on ARM side?