Raspberry Pi -A New DIY'ers Digital Hub? - Page 8 - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 23rd September 2012, 12:34 AM   #71
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
some fun pics from my rpi experiments today.

a small composite display, an xbee 'shield' and an adafruit half-length micro-sd card adapter.

system is now overclocked to 1ghz with the latest update.
Attached Images
File Type: jpg 8013333386_087eb3f9e1_b.jpg (197.7 KB, 725 views)
File Type: jpg 8013332996_a7a35449a7_b.jpg (262.9 KB, 700 views)
File Type: jpg 8013546859_d9002696f7_b.jpg (259.0 KB, 612 views)
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 23rd September 2012, 12:38 AM   #72
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
you could also consider the DOGM lcd display modules; they have an i2c mode and you could (with some effort) get hitachi style lcd i/o working with the pi's i2c GPIO pins.
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 28th September 2012, 02:54 PM   #73
vzs is offline vzs  Europe
diyAudio Member
 
Join Date: Dec 2005
Location: Cluj-Napoca, Romania
Quote:
Originally Posted by KOON3876 View Post
...I want to supply MCLK (bit clock) from outside.
When I want to process 176.4kHz,
45.158MHz xtal -> as Master Clock, for DAC
45.158MHz -> HC163 counter -> 1/4 output = 11.2896MHz -> into PCM_CLK input, and Serial Clock, for DAC

So there will be multiplexer (1) = 45MHz/48MHz selection, multiplexer (2) = master clock and bit clock selection from counter output.
Hi Koon!
Any news about this? I'm crossing my fingers you succeed.
  Reply With Quote
Old 28th September 2012, 04:47 PM   #74
MrSlim is offline MrSlim  Canada
diyAudio Member
 
Join Date: Jun 2009
Location: Ottawa, Ontario
Blog Entries: 2
Quote:
Originally Posted by philpoole View Post
Hi,
No, I'm blatently taking inspiration from here Jeremy's Blog: Raspberry Pi with TextStar Serial LCD Display
So, just treating the LCD as a serial port, using python to make system calls to mpc, parsing the text from mpc status, formatting and writing to the serial port.
Unfortunately, the LCD is a bit small, but will suffice for now.

I intend to have some buttons attached to GPIO pins, which would then prompt the python code to call mpc to skip track etc (as well as have remote access to mpd).
fixed your link for you..
  Reply With Quote
Old 28th September 2012, 06:33 PM   #75
diyAudio Member
 
Join Date: Nov 2006
Quote:
Originally Posted by vzs View Post
Hi Koon!
Any news about this? I'm crossing my fingers you succeed.
Hi I'm waiting Rev 2 board available. Allied Electronics shows "more than 12 weeks" and not specify revision.

So far I bought ODROID-X to try NEON SIMD engine for FIR processing.
  Reply With Quote
Old 26th October 2012, 09:23 PM   #76
diyAudio Member
 
Join Date: Oct 2004
Hi All,
Admittedly, I am in the UK, but I received a rev 2 (512Mb 'n' all!) within a week.
(If it's any consolation, I got up at the crack of dawn on the release day to register interest, before the farnell website crashed, and then had to wait 4 months for my first pi).

So the rev 2 boards, with the I2S pinout are out there, if you're waiting.
(thanks MrSlim for fixing my link)

Now need to solder a header for the I2S and play with registers...
  Reply With Quote
Old 26th October 2012, 09:41 PM   #77
kevinkr is offline kevinkr  United States
diyAudio Moderator
 
kevinkr's Avatar
 
Join Date: Sep 2004
Location: Boston, Massachusetts
Blog Entries: 6
I ordered a rev 2 last week, should have it sometime in November.. Looking forward to tinkering with this thing. I too will have to wire up the I2S port..
__________________
"Extraordinary claims require extraordinary evidence." - Carl Sagan
  Reply With Quote
Old 27th October 2012, 09:05 PM   #78
diyAudio Member
 
Join Date: Oct 2004
Well, taking the code from the above thread, and a few tweaks, I can see the I2S lines wiggling on my scope on P5 (not a very happy scope these days, so can't really analyse them properly).
I had to change the code to assign alt2 to gpios 28-31, and tweaked the clock divider settings to the suggestion in the thread for 44100kHz. Biggest issue I had was the the PCM_FS was constant. After a bit of fiddling and reading the datasheet, I discovered that you have to set a value for FSLEN (frame sync length) - it was previously set to 0 - which essentially disables PCM_FS.

So I have all three lines wiggling. Only outputting A0A0A0A0, and no idea if a DAC could work with it in it's current state, so I'll have to have a look on a working scope, and more tweaking. Would be nice to feed my TDA1541A with it as a next step.
  Reply With Quote
Old 28th October 2012, 11:23 PM   #79
diyAudio Member
 
Join Date: Oct 2004
After a lot of fiddling, I needed to increase the frame size to 64 bits, and the frame sync to 32 bits, and a halving of the clock divider to compensate (which doesn't seem right, a bit too quick), but I have audio out of my TDA1541A!
It's not using DMA or interrupts, 100% CPU, so you keep hearing the occassional glitch, but it already sounds much better than the PWM analogue output.

I'll post the code with my changes, probably to the rpi thread first, when it's working a bit better.
But, promising so far...
  Reply With Quote
Old 28th October 2012, 11:37 PM   #80
kevinkr is offline kevinkr  United States
diyAudio Moderator
 
kevinkr's Avatar
 
Join Date: Sep 2004
Location: Boston, Massachusetts
Blog Entries: 6
Excellent progress, I'm following closely - hopefully I will be able to take what you have done and put it to good use. (I'm not much for coding sadly..)
__________________
"Extraordinary claims require extraordinary evidence." - Carl Sagan
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tractrix in 1*Pi and 2*Pi revintage Multi-Way 21 26th August 2011 10:37 PM
Headphone Hub?? baronofhell Headphone Systems 3 26th May 2007 01:37 PM
centering hub for cdpro skyraider Digital Source 0 1st July 2005 08:08 AM
what to do with that old lan hub karma Everything Else 25 27th May 2003 06:58 AM
Barcode around CD hub? Circlotron Digital Source 0 13th February 2003 01:34 AM


New To Site? Need Help?

All times are GMT. The time now is 02:28 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2