1) change 10k pull-up resistors to 5.6k as for other capes
2) check if SYS_RESET is actually deasserted and high
3) check if DIN/DOUT are correctly connected and not flipped, because DIN
data must go into CODEC, while DOUT must go out and vise versa

use this command to test (not speaker-test). Copy/paste it or be sure to
use two "v" with the dash
aplay -vv file.wav


2014-09-15 21:58 GMT+04:00 Prakash Parmar <[email protected]>:

> Hi,
> I think in Device tree, i2c pin is pulled up. here is part of Tree.
>
> i2c2_pins: pinmux_i2c2_pins {
> pinctrl-single,pins = <
> 0x150 0x72 /*spi0_scl.i2c2_sda,SLEWCTRL_SLOW | INPUT_PULLUP |MODE2*/
> 0x154 0x72 /*spi0_d0.i2c2_scl,SLEWCTRL_SLOW | INPUT_PULLUP | MODE2*/
> >;
> };
>
>
>
> On Monday, September 15, 2014 8:01:19 PM UTC+5:30, liyaoshi wrote:
>>
>> Have you config the i2c pin pulled up ?
>> and
>> whats the speed of your i2c bus ?
>>
>> 2014-09-15 2:09 GMT+08:00 <[email protected]>:
>>
>>> Hi,
>>>
>>> I have made custom Audio cape using TLV320AIC3107. Here is a circuit
>>> diagram :
>>>
>>>
>>> <http://e2e.ti.com/cfs-file.ashx/__key/telligent-evolution-components-attachments/00-64-01-00-01-29-55-62/audio.png>
>>>
>>>
>>> I make it same  ( Pin configurations and all ) as what is available at
>>> CircuitCO using TLC320AIC3104 codec. I follow All steps like Disable HDMI
>>> and Load Device Tree BB-BONE-AUDI-02-00A0.dts  and I it works fine.
>>>
>>> But my problem is when I run speaker-test system hangs (freezes) and I
>>> have to Hard Reset BeagleBone.
>>>
>>> Here is what i did and what I get in dmesg.
>>>
>>>
>>> *root@beaglebone:~# speaker-test *
>>>
>>> speaker-test 1.0.25
>>>
>>> Playback device is default
>>> Stream parameters are 48000Hz, S16_LE, 1 channels
>>> Using 16 octaves of pink noise
>>> Rate set to 48000Hz (requested 48000Hz)
>>> Buffer size range from 128 to 32768
>>> Period size range from 8 to 2048
>>> Using max buffer size 32768
>>> Periods = 4
>>>
>>>
>>> *And in Dmesg : *
>>>
>>> [  205.540653] omap_i2c 4819c000.i2c: Arbitration lost
>>> [  206.572921] omap_i2c 4819c000.i2c: controller timed out
>>> [  206.580024] omap_i2c 4819c000.i2c: Arbitration lost
>>> [  207.611983] omap_i2c 4819c000.i2c: controller timed out
>>> [  207.618668] omap_i2c 4819c000.i2c: Arbitration lost
>>> [  212.626062] omap_i2c 4819c000.i2c: Arbitration lost
>>> [  213.658853] omap_i2c 4819c000.i2c: controller timed out
>>> [  213.666881] omap_i2c 4819c000.i2c: Arbitration lost
>>> [  214.699867] omap_i2c 4819c000.i2c: controller timed out
>>> [  214.707912] omap_i2c 4819c000.i2c: Arbitration lost
>>> [  215.740887] omap_i2c 4819c000.i2c: controller timed out
>>> [  215.748952] omap_i2c 4819c000.i2c: Arbitration lost
>>>
>>>
>>> I also cross check device tree file and I found that it also works
>>> for TLV320AIC3107 codec So I think it is not issue.
>>>
>>> An one have Idea what is wrong Please Help ME !!!!
>>>
>>>
>>> Thanks & Regards
>>>
>>> Prakash P.
>>>
>>>  --
>>> 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.
>



-- 
LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
Company - http://www.linkedin.com/company/mentorel
Facebook - https://www.facebook.com/mentorel.company

-- 
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.

Reply via email to