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.
I am using tinycap to capture signals from 4 digital mics present in OMAP4460 Blaze tablet .
My tinycap settings are as follows.
tinycap /sdcard/test.pcm -D 0 -d 0 -c 4 -r 48000 -b 32 -p 768 -n 10
My question is
1) Why am i not able to capture signals at sampling rate other than 48 KHz.
2) why cant i capture signals @ 16 bits /sample configuaration i.e. -b 16.
By the way when i use device 1 i.e. -d 1 to capture 1 or 2 channel data i am able to capture signals @ samp_Rate other than 48 KHz and bits/sample as 16.
You already posted your topic in http://e2e.ti.com/support/omap/f/849/t/397509
Please do not repost your questions!
Please remove one of the both posts!
We will familiarize with your issues and will provide you a solution.
Please, observe e2e Forum rules.
At first you can see the e2e thread - http://e2e.ti.com/support/omap/f/849/t/201746
Please click the Verify Answer button on this post if it answers your question.
Be sure to read the OMAP Application Processors Forum Guidelines and FAQ
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Yanko Todorov-XID:
Hi Yanko, I did not mean to repost any issue. I did not want to combine too many questions in a single post, so that things will be missed out and thread will be difficult to follow. Though they are related , they are different kind of issues. Do you want me to combine the two threads and add it to one of them?
I have gone through the other threads associated with audio capture on OMAP4, but they do not solve my problem.
Thanks . Regards, Sreenivasa
In reply to sreenivasa upadhyaya:
At first, I suggest you to enable ABE module in your OMAP4460 by the PRCM registers. It is needed to set Clock signals and enable power domain for DMIC module.
Apply following configuration:
PM_ABE_PWRSTCTRL[1:0] POWERSTATE - 0x3: ON State
CM1_ABE_DMIC_CLKCTRL[25:24] CLKSEL_SOURCE - 0x0: Functional clock is sourced from an internal clockCM1_ABE_DMIC_CLKCTRL[27:26] CLKSEL_INTERNAL_SOURCE -CM1_ABE_CLKSTCTRL[1:0] CLKTRCTRL - 0x1: ABE_SYSCLK is selectedCM1_ABE_DMIC_CLKCTRL[1:0] MODULEMODE - 0x2: Module is explicitly enabled.CM1_ABE_AESS_CLKCTRL[1:0] MODULEMODE - 0x2: Module is explicitly enabled.
Could you provide what message is generated in your console after running of tinycap command?
- See tinycap.c file - https://android.googlesource.com/platform/external/tinyalsa/+/c1239623c178f0142352c28a0f968d826afcb078/tinycap.c
2) why cant i capture signals @ 16 bits /sample configuration i.e. -b 16.
- I suggest you to see Audio driver architecture - http://omappedia.com/wiki/Audio_Drive_Arch
See also http://focus.ti.com/pdfs/wtbu/OMAP4430_ES2%20x_4460_ES1%200_PUBLIC_TRM_Addendum_ABE_HAL_vC.pdf
You can use only omapconf if you use Android. see the attached exe -omapconf.zip
devmem2 is only actual for linux.
You must push omapconf in your Android as follow the sequence:
1. adb root
2. adb remount
3. adb push omapconf /system/bin
Please read omapconf's user guides - https://github.com/omapconf/omapconf
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.