From: Evan Davey <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Tuesday, September 30, 2014 at 2:00 PM To: "[email protected]" <[email protected]> Subject: Re: [beagleboard] Beaglebone Audio Cape Rev B audio Input
> Hi John, > > Thanks for the detailed info. > > I am actually trying to route to the mono line but having difficulties, have > you attempted to do that? We have a custom board with an on-board > TLV320AIC3106 but want to connect up the EVM to a stock BBB to isolate > potential hardware issues (and we can¹t easily access the mono line as it is > connected directly to the microphone input of another component). Using > alsamixer, we¹ve turned on the mono line, upped the DAC mixing volume to max > and turned on DAC L mixing. DAC L is set to output to the mixer (L1). I was > able to get this to work using the Windows software using what look to be > similar / identical settings. > > Ultimately, we are trying to loopback USB microphone input on one of the > digital channels through to the MONO line, while at the same time routing > LINE1L to the LEFT channel. Hopefully this is possible. It¹s an inherited > board design so we¹re hoping to avoid hardware changes. > > One thing we¹ve been struggling to understand is what the audio routing > section does in the device tree overlay so any advice you can give on that > would be appreciated. Look at /Documentation/devicetree/bindings/sound/tlv320aic3x.txt I think you need MONO_LOUT connected to LINE1L See also /Documentation/devicetree/bindings/sound/davinci-evm-audio.txt Regards, John > > Best Regards, > Evan > > > On 30 Sep 2014, at 21:32, John Syn <[email protected]> wrote: > >> >> From: Evan Davey <[email protected]> >> Reply-To: "[email protected]" <[email protected]> >> Date: Tuesday, September 30, 2014 at 12:54 PM >> To: "[email protected]" <[email protected]> >> Subject: Re: [beagleboard] Beaglebone Audio Cape Rev B audio Input >> >>> Thanks, I also managed to subsequently dig this up >>> http://article.gmane.org/gmane.comp.hardware.beagleboard.user/63099. >>> >>> I¹ll probably try the same thing but inject the 1.8V from my bench supply. >> Look at /arch/arm/boot/dts/am335x-bone-common-pinmux.dtsi line 220. These are >> the pins used to connect to the TLV320AIC3106EVM. The table below shows how I >> got this working. >> >> BBBTLV320AIC3106EVMLTC3603 >> P9J17J16J15J5 >> 1GND4 5GND GND >> 33V3 93V32VOUT_EN >> 5VDD_5V0 3+5V VIN >> 7SYS_5V0 >> 10SYS_RESETN 14RESETN >> 19I2C2.SCL16SCL >> 20I2C2.SDA20SDA >> 25mcasp0_ahclkx17MCLK >> 28mcasp0_axr213DIN >> 29mcasp0_fsx7WCLK >> 30mcasp0_axr011DOUT >> 31mcasp0_aclkx3BCLK >> 43GND18 >> 71V8D VOUT >> >> Regards, >> John >>> >>> >>> On 30 Sep 2014, at 20:50, evilwulfie <[email protected]> wrote: >>> >>>> http://elinux.org/CircuitCo:Audio_Cape_RevB >>>> schematics and everything there >>>> >>>> >>>> On 9/30/2014 11:35 AM, [email protected] wrote: >>>>> Hi John, >>>>> >>>>> Can you please send through details on how you connected the >>>>> TLV320AIC3106EVM to the BBB - I am trying to do the same thing. >>>>> >>>>> Cheers, >>>>> Evan >>>>> >>>>> On Monday, May 19, 2014 12:22:39 AM UTC+1, john3909 wrote: >>>>>> >>>>>> From: Raphael Philipe <[email protected]> >>>>>> Reply-To: <[email protected]> >>>>>> Date: Sunday, May 18, 2014 at 3:30 PM >>>>>> To: <[email protected]> >>>>>> Subject: [beagleboard] Beaglebone Audio Cape Rev B audio Input >>>>>> >>>>>>> >>>>>>> Hi >>>>>>> >>>>>>> I've acquired an Audio Cape Rev B >>>>>>> http://elinux.org/CircuitCo:Audio_Cape_RevB for my Beaglebone Black. >>>>>>> >>>>>>> Following the instructions I was able to make it work. The audio >>>>>>> playback is working pretty well. However, I cannot test the audio input. >>>>>>> I saw that it is a line level input (line in), so it cannot be connected >>>>>>> to a regular microphone. >>>>>>> >>>>>>> I want to test it through an echo scheme. I will produce some sound >>>>>>> through q source (connected to the line in input of the cape) and check >>>>>>> the response in the audio output, through an earphone. >>>>>>> >>>>>>> I tried to connect the cape line in to the earphone output of an old >>>>>>> cellphone through a male male jack cable (I saw in some forums that the >>>>>>> line level is similar to the earphone output of some appliances, apart >>>>>>> from the impedance difference.). Unfortunately, it didn't work. >>>>>>> >>>>>>> The interesting thing is that when the cable is connected to the cape >>>>>>> audio input and the other connector is unplluged, I can hear the noise >>>>>>> from static, similar to an unplugged to the amplifier electric guitar . >>>>>>> >>>>>>> Can someone suggest me a simple form to test the audio input? >>>>>> I don¹t have the Audio Cape, but I do have a TLV320AIC3106EVM connected >>>>>> to my BBB and it works fine. You may want to try the following command: >>>>>> >>>>>> arecord -r 44100 -c 1 -f S16_LE -t wav -vv -d 25 example.wav >>>>>> >>>>>> This will show you a bar graph in the terminal so you can see the input >>>>>> levels. I would just connect the output from you phone to the line input >>>>>> of your audio cape. In another terminal, run amixer to adjust the input >>>>>> levels. >>>>>> >>>>>> Regards, >>>>>> John >>>>>> >>>>>> Regards. >>>>>> -- >>>>>> For more options, visit http://beagleboard.org/discuss >>>>>> --- >>>>>> You received this message because you are subscribed to the Google Groups >>>>>> "BeagleBoard" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, send an >>>>>> email to [email protected]. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>> -- >>>>> For more options, visit http://beagleboard.org/discuss >>>>> --- >>>>> You received this message because you are subscribed to the Google Groups >>>>> "BeagleBoard" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send an >>>>> email to [email protected]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> >>>> -- >>>> For more options, visit http://beagleboard.org/discuss >>>> --- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "BeagleBoard" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/beagleboard/tQpS9jL97iI/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to the Google Groups >>> "BeagleBoard" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to a topic in the Google >> Groups "BeagleBoard" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/beagleboard/tQpS9jL97iI/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
