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