Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom audio cape #258

Open
Maobuff opened this issue Jul 15, 2021 · 2 comments
Open

Custom audio cape #258

Maobuff opened this issue Jul 15, 2021 · 2 comments

Comments

@Maobuff
Copy link

Maobuff commented Jul 15, 2021

Hi, I'm making a custom audio cape for BBB. The goal is to record sound using microphones.
I used tlv320aic3106 codec, modified BB-BONE-AUDI....dts.
Replaced all 3104 with 3106, swapped axr0 with axr2 (because of a mistake in my board). Enabled micbias.
Compiled, enabled it in uEnv.txt.
But there is no audio in the recordings. I can see data movement on mcasp bus on an oscilloscope. And looks like arecord is working fine. If I remove custom cape arecord is stuck (as expected).
arecord show max peak of 0% all the time. In alsamixer PGA Capture Switch turned on, PGA Capture Volume set to 105.

Attaching modified dto. BB-BONE-AUDI-02-00A0.txt

@miral2525
Copy link

Here the key change should be done for enhancement is to swapped mcasp0_axr0 with mcasp0_axr2. Verify that the PIN_INPUT_PULLDOWN | MUX_MODE2 is correct for your hardware. For mcasp0_axr2, the correct mode should be MUX_MODE2, and the other McASP pins should also match their intended functionality.

@miral2525
Copy link

Also some othet stuff should be done so

BB-BONE-AUDI-02-00A0 edited by Miral.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants