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.

dual mcasp C6748

I am trying to modify the audio in/out example for the C6748 in the PSP 3.00.01.00.  In the example, only 1 mcasp is used for both input and output.  I would like to use McASP0 for input and McASP1 for output.  I tried to add additional devices in the audiosample.cfg file like this:

var iomFxns = "Mcasp_IOMFXNS";
var initFxn = "audioUserMcaspInit";
var deviceParams = "audioMcaspParams";
var deviceId = 1;
GIO.addDeviceMeta("/mcasp1", iomFxns, initFxn, deviceId, deviceParams);

// 6. audio0 for audio output
var iomFxns = "Audio_IOMFXNS";
var initFxn = "audioUserAudioInit";
var deviceParams = "audioParams";
var deviceId = 1;
GIO.addDeviceMeta("/audio1", iomFxns, initFxn, deviceId, deviceParams);

But I got BIOS_exit in mcasp.c which I am trying to debug.  Can some one guide me in how to modify the .cfg so I can use both mcasps?

Thanks,

Fawad

  • Fawad,

    Perhaps the two items should use a different deviceId value?

    What have you learned from your debug?

    Regards,
    RandyP

  • RandyP,

    Well I got it to work.  Some other code (queues) was not initialized and was writing over some of my setup.  However I would still like to have additional information on setting up devices in sys/bios configuration files.  I can't find any relevant documents.  Can you point me to any appropriate documentation?

    Thanks,

    Fawad

  • Fawad,

    You will need someone who knows more about BIOS drivers and BIOS documentation than me. I recommend you mark your post as an Answer to let people know this thread is done, and then open a new thread with your clear request for what information you are looking for.

    I would look through the software downloads for their included documentation, then go to CCSv5's Help->Search to find the document areas you are looking for.

    It sounds like you had all the right stuff in the configuration file, so that it started working when the queue problem was eliminated.

    Regards,
    RandyP