Hi,
as subject, how I could use MCASP receiver while transmitting at the same time. like I need to record FM radio while playing back. anybody could tell me how?
Best regards,
Power Pan
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.
The McASP driver in the kernel supports simultaneous capture and playback. If you developing your own driver you can use that as a reference.
Regards,
Vaibhav
Hi, Vaibhav:
thanks for the input, but how could I use the capture function while the /dev/snd/ just mount for one codec connect to the transmit port? I just wanna use the driver, so any way to test ?
Best regards,
Power Pan
You can use arecord and aplay simultaneously. Both of these are part of the alsa-utils package.
Have you looked at the user-guide for the SoC on http://processors.wiki.ti.com/index.php
Regards,
Vaibhav
Hi, Vaibhav,
thank you for the information.
I read the user-guide already cause TI's board doesn't provide any hardware that could do this so I had to make my own board that could provide the hardware, but now I don't know if I have to modify the driver before I could do the recording cause in snd dir, only has below devices
# ls /dev/snd
controlC0 pcmC0D0c pcmC0D0p timer
don't know how to modify the code to make another capture port for MCASP.
might be still I did not make myself clear enough for what I need. I use a codec like TI's evb does and connect an I2S output FM radio to MCASP0 receive master clock /bit clock/frame sync and AXRn, as the datasheet describes, the chip could have 2 set of clock typically for upsampling playback. so tell me how I could map that input port out ?
Best regards,
Power Pan