[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4694: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4695: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
8devices Community - View topic - I2S on Carambola2
www.8devices.com
View unanswered posts | View active topics It is currently 19 Apr 2024, 18:13



Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next
 I2S on Carambola2 
Author Message

Joined: 27 Jan 2015, 22:50
Posts: 6


29 Jan 2015, 08:51
Profile

Joined: 11 Mar 2012, 18:42
Posts: 37


29 Jan 2015, 10:28
Profile

Joined: 27 Jan 2015, 22:50
Posts: 6
Hi Pepe!

As I'm also working on other projects I can not work fulltime on it, nevertheless I will start with the unificaton of the ar933x and ar934x driver. If it all works out well we can figure out what's needed to also integrate the QCA95xx SOCs.

Thanks, regards,
Franz


30 Jan 2015, 11:12
Profile

Joined: 11 Jun 2014, 14:45
Posts: 135


30 Jan 2015, 15:18
Profile

Joined: 27 Jan 2015, 22:50
Posts: 6
Hi Giedrius!

Sorry for that, as I mentioned the driver is in a really "hacky" state at the moment. I will refactor it when I've got the time. I will test your change and apply it.

BTW: I also do not have any codec, I verified the function of the driver via osci :)

Anyways, thanks for testing it!

Regards,
Franz


02 Feb 2015, 08:49
Profile

Joined: 14 Mar 2015, 20:50
Posts: 2
Hi Franz and Pepe, just a quick question (a bit off-topic):

do you see it possible to (mis)use the I2S output of AR9331 as a generic data output? I am thinking of just I2S_CLK and I2S_SD signals (serial data and clock). You know bit-banging GPIO pins is so slow... With I2S output on AR9331 we could get theoretically up to 48kHz*512b=24,576Mbit!!!

I may be wrong, but the bytes you send to the ALSA driver get sent unmodified over the I2S wires. If there would be a completely different peripherial instead of a wm8727 codec, it would get those bytes anyway, right?

To be honest I am thinking of driving APA102 RGB LED strip (almost) directly from a cheap AR9331-based wifi router. If you are interrested about APA102 here is the datasheet: http://www.adafruit.com/datasheets/APA102.pdf

1) Do you see any substantial problems in this scenario?
2) From your experience, what would be the best class for a linux driver to write? Could be another serial-port driver?

I really appreciate the work you've done so far.

Jan


14 Mar 2015, 21:43
Profile

Joined: 18 Nov 2013, 18:44
Posts: 54
Can you please explain what is the next step? What do you mean by "codec"? Is codec just a software component or hardware? I understand that codecs are usually software components and they code and decode signals... but I lack deeper knowledge about how audio stack is composed.

Which driver will you load in order to play audio?
Can you just load some generic audio driver and make it play audio trough i2c output?


28 Apr 2015, 08:37
Profile

Joined: 14 Mar 2015, 20:50
Posts: 2
Hi Valent,
the specific SoC has a built-in peripherial unit called I2S interface. It is NOT i2c interface (names are similar, but the signals are way different). The "codec" in this case is another chip that has I2S input (actually digital audio in raw PCM) that does DA conversion, amplification and so on.
Is that clearer now?

Jan


28 Apr 2015, 20:14
Profile

Joined: 18 Nov 2013, 18:44
Posts: 54


05 Jul 2015, 18:32
Profile

Joined: 24 Sep 2015, 09:30
Posts: 1
Location: Belarus
How to connect wm8727 to Carambola2? I need electrical scheme


24 Sep 2015, 09:33
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.