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.

TMS320C6748: Question Regarding Startware Mcasp Playback code

Part Number: TMS320C6748
Other Parts Discussed in Thread: OMAPL138

Hello

I have a question regarding mcaspPlayBk code that is present in starterware of C6748 LCDK.
I want to transfer 2 bytes per sample instead of four bytes for which the mcaspPlayBk code is
designed for.
But when I modify

#define BYTES_PER_SAMPLE                        ((WORD_SIZE >> 3) \
                                                                           * NUM_I2S_CHANNELS)

to


#define BYTES_PER_SAMPLE                       ((WORD_SIZE >> 4) \
                                                                         * NUM_I2S_CHANNELS) (for 2 two bytes per samples)


Then no audio I can hear.

Please tell me in your mcaspPlayBk code, if I want to modify "BYTES_PER_SAMPLE"  from 4 to 2 for my application, then what parameters also I need to change to make this code work correctly.

Thanks

  • Sorry for the delay in responding to this thread. 

    Starterware Software is out of date and is no longer maintained. We recommend moving to Processor SDK RTOS which is the only software supported for these devices.

  • Okay, Actually I want non OS based implementation. Currently I want my implementation without using sys bios. 

    You people said Rcsl based implementation is out of data. So no support from your  side. 

    Starterware is out of data. 

    Its literally confusing and annoying what to do. 

    For developers who don't want to get start with sys bios and trying their implementation non OS based. Then what you suggest to use for implementation . Please tell me.... Very humble request...

    Any working example will be very appreciated... 

    Thanks 

  • From processor SDK RTOS software,

    I concluded that for sys bios based implementation, I can use TI examples built from batch scripts inside pdk. I have built them all and imported successfully in CCS.

    For without sys bios , concluded from your replies I should use csl based implementation inside folder "pdk/ti/csl". 

    This is latest software that you support. Am I right upto this point?

    As fisrt I want non sys bois based implementation, so I should go towards CSL inside pdk/ti/csl. Right?

    If I am right here, please refer me some working CSL based implementation. I am trying from a month to run CSL interrupt but not succeeded. I request to please help me to run out from this problem.

    Thanks in Advance

    Regards 

  • Looking forward for your suggestions on my above queries. 

  • In PDK, all of the MCASP examples are using MCASP LLD that have TI RTOS based examples. For CSL based MCASP example, refer to the example in diagnostics for C674x:

    pdk_omapl138_1_0_10\packages\ti\board\diag\mcasp

    This is bare-metal MCASP setup and has been validated on C674x devices.