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.

PSP sample project setup for C6747-based board

Hello,
I'm in search of sample EDMA3-based McASP project that would run on CCSv5.5.
Could you please assist me in its setup?

Here my pre-conditions:

  • DSP/BIOS v5.42
  • I've already installed the "LCDC LIDD Controller Driver" (v1.11) as well as the PCP package (v1.30.01) for C6747.
  • I do not posess an EVM6747, but an own built hardware based on C6747 DSP with audio input and output.
    48kHz-Audio is fed externally (so Codecs do not need to be configured); thus DSP audio (I2S) driver should be configured as (clock) slave.

Please allow following questions:

  1. What's the difference between two PSP drivers: McASP and an Audio driver? Do I need only one, or both of them? The 1st one seems to be me complex.
    In future I'd have input at other sample rate then of an output.
  2. Exactly which PSP sample project could I use as starter?
  3. How does the audio-driver dependency on PSP EDMA3-driver come to surface?
    By inclusion of specific library (that I can re-compile), because it is internally used by the audio-driver?
    I've seen, there are around six edma3_ .. libraries (debug or release version).
  4. Since McASP driver does not consist of many files, would like to integrate it into project via its source files (not library). A problem? Advisable?

I found that specifying of used McSP (input and output) serializers occurs in the file
.\pspiom\examples\evm6747\audio\src\audioSample_io.c (current usage 0/RX 5/TX).

From programming perspective, what would be the steps to proceed?

  1. Import CCS4 project from
    .\pspdriver\packages\ti\pspiom\examples\evm6747\mcasp\build\ccs4\slave?
  2. What about the .tcf? Is it prepared in the example?
  3. What's the next step?
  4. Where does the step with EDMA3 driver inclusion come?

In my current CCS3.3 for C6727 (Programmable Realtime Unit/dMAX) project I have developed everything directly, now I'm forced to use the PSP concept of TI.

Many thanks,
Mladen

  • Hi,

    Thanks for your post.

    In general, there is a BIOS PSP release versioned 01.30.00.06 is Beta release which supports C6747 and there should be certain dependancies which are below;

    • DSP/BIOS™ 5.41.00.06 
    • Code Generation Tools 6.1.9
    • EDMA3 product version 01.10.00.01
    • CCS 4.0.0.16 or higher

    For more details on known issues, limitations on each driver and dependancies, please check the appropriate PSP release notes. You could check the release notes from the below location after BIOS PSP installation:

    ~\ti\BIOSPSP\docs\C6747

    You could check the EDMA3 based McASP sample project from the below path:

    ~\ti\BIOSPSP\packages\ti\pspiom\mcasp\build\C6747\ccs4\

    I think, McASP is a PSP device driver and Aic3106 Codec driver would be the actual audio driver. In addition to this, you need an audio interface driver which is an I2C/I2S codec interface driver.

    You could use BIOS PSP version  01.30.00.06 which can be used as starter and i think, there would be dependancy between EDMA3 driver and McASP with audio codec driver.

    Files need to be modified based on your custom requirement:

    ti\pspiom\mcasp\src\Mcasp.c
    ti\pspiom\mcasp\src\Mcasp_edma.c

    From programming perspective, 

    Yes, you need a target configuration file (.tcf) uniquely for each project to configure for appropriate target device and supported emulators for the same.

    After importing the sample project, build it and fix for any build errors if any, then, launch the CCS debugger to load the binary and run the application.

    Thanks & regards,

    Sivaraj K

    ------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------