Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: robert.w on April 16, 2015, 02:11:39 PM

Title: I2S output in LIME2
Post by: robert.w on April 16, 2015, 02:11:39 PM
Hello
I try to connect LIME2 with external DAC (CS4344)

ISO - from Igor Pecovnik
http://mirror.igorpecovnik.com/Lime2_Debian_1.6_wheezy_3.4.106.zip
FEX configured

i2s_mclk = port:PB05<2><1><default><default>
i2s_bclk = port:PB06<2><1><default><default>
i2s_lrclk = port:PB07<2><1><default><default>
i2s_dout0 = port:PB08<2><1><default><default>
i2s_dout1 =
i2s_dout2 =
i2s_dout3 =
i2s_din = port:PB12<2><1><default><default>


/etc/asound.conf also configured at 192000



playing internet stream using VLC

strange noise at output
(the same stream at headphones out working OK)

I do some measurments using osclioscope
and:

MCLK - ok 12,284
LRCK - ok - i see data stream
SCLK  - ok 192 KHz
Digital out - not ok noise but i see also some data frames at very low level about 300mV
i test is at two olimex lime2 board - the same problem

jumper PB3/PB8 is open at PB8

any ideas ?

Robert
MCLK
(http://i62.tinypic.com/2ppj77a.jpg)
LRCK
(http://i59.tinypic.com/153mb7p.jpg)
SCLK
(http://i57.tinypic.com/2zsm9lh.jpg)
DOUT (very lov signal)
(http://i58.tinypic.com/25grkt2.jpg)
Title: Re: I2S output in LIME2
Post by: robert.w on July 08, 2015, 10:56:32 PM
i just bought A20-OLinuXino-MICRO (i remove R136 resitor) + PmodI2S http://www.digilentinc.com/Products/Detail.cfm?Prod=PMOD-I2S and i can confirm that i2s working in this configuration.

i go back in this weekend to LIME2.

Now i can tell - i am almost happy :)
tested with format 44100 and 48000.
96000 and 192000 not working yet

Robert

Title: Re: I2S output in LIME2
Post by: Stupido on October 19, 2018, 05:24:02 PM
Hi Robert,


Sorry to revive the 'dead' thread, but did you succeed to get i2s running at higher speed?


I have one lime2 board lying around and want to play with some DACs... so was wondering if you were successful?


becaus I saw in armbian forums that i2s is working only in 3.4.109?
Title: Re: I2S output in LIME2
Post by: dpape on January 16, 2019, 05:20:52 PM
Hello Stupido,

I'm also trying to get I2S to work with the newer Armbian releases and mainline kernel. Do you have a working I2S setup?