[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/functions.php on line 4688: 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 4690: 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 4691: 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 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Audio playback

Audio playback

Using Zynq Programmable Logic and Xilinx tools to create custom board configurations

Re: Audio playback

Postby patc » Sun Mar 01, 2015 12:22 pm

For room measurement first I connected a microphone to a soundcard in a PC running Windows but I would prefer to use the Parallella instead.

Working on the feasibility phase I selected the PCM3052A (which beside the ADC integrates a mic pre-amp with balanced inputs and SPDIF output as well) and added a 8-bit MCU for the settings (I2C). The module runs on a 9V battery and I did a quick test of a spectrum analysis with the PC.

I also ordered this DIY kit which looks significantly better and I want the compare the performances of both modules when doing room measurements (I intend to make a PCB with proper shielding for the PCM3052 because the current module is for feasibility only).

Time to get back to a bit of VHDL...
Attachments
mic1.jpg
mic1.jpg (199.71 KiB) Viewed 28637 times
mic2.jpg
mic2.jpg (248.35 KiB) Viewed 28637 times
rta1.jpg
rta1.jpg (158.84 KiB) Viewed 28637 times
patc
 
Posts: 83
Joined: Wed Aug 06, 2014 7:18 pm

Re: Audio playback

Postby aolofsson » Sun Mar 01, 2015 2:58 pm

Having a Paralellella test your setup would certainly be poetic :D

btw. I have been meaning to ask you..do you have some pictures of your mods to the top side of the Paralellla board? What components did you take off and how did you couple the board to the heatsink. Did you use thermal pads to height match?

Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Audio playback

Postby patc » Mon Mar 02, 2015 10:07 am

Attachments
1.1.jpg
1.1.jpg (325.03 KiB) Viewed 28609 times
patc
 
Posts: 83
Joined: Wed Aug 06, 2014 7:18 pm

Re: Audio playback

Postby aolofsson » Mon Mar 02, 2015 1:37 pm

Thanks for the great explanation. Really enjoying watching you build this!

For the cooling, you might want to do dothermal coupling for some of the smaller chips as well to increase longevity. With the amount of metal you have connected to the board, it's probably not an issue...

In order of importance:
zynq (a must)
epiphany (definitely recommended)
hdmi (would be nice)
9307 (would be nice)
9305 (would be nice)
usb (would be nice)

Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Audio playback

Postby 9600 » Mon Mar 02, 2015 1:39 pm

That's some pretty resourceful thermal management!

I'm working towards building a Parallella-based tablet, thinking about how best to conduct heat away, and was leaning towards having a U shaped piece of copper bonded to the case and gently pressing down on the Zynq via thermal gap filler. I guess this could be neater / more compact if I removed Ethernet and USB, wiring the pads for the latter to a WLAN dongle. But then I'd prefer to not have to attack the board with a soldering iron.

Any reason you opted for a curved thin copper sheet and paste, instead of thermal gap filler?

Cheers,

Andrew
Andrew Back
User avatar
9600
 
Posts: 997
Joined: Mon Dec 17, 2012 3:25 am

Re: Audio playback

Postby greytery » Mon Mar 02, 2015 2:24 pm

tery
User avatar
greytery
 
Posts: 205
Joined: Sat Dec 07, 2013 12:19 pm
Location: ^Wycombe, UK

Re: Audio playback

Postby patc » Tue Mar 03, 2015 9:59 am

Attachments
amp.jpg
amp.jpg (164.55 KiB) Viewed 28549 times
patc
 
Posts: 83
Joined: Wed Aug 06, 2014 7:18 pm

Re: Audio playback

Postby aolofsson » Tue Mar 03, 2015 7:46 pm

Wow! Speechless. You are taking smaller, cheaper, faster (better) to a whole new level. :D
Cute dog! Looks like he approves :D
Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Audio playback

Postby patc » Wed Mar 11, 2015 8:38 pm

ADC#1 - PCM3052A
- started from a 9V battery case
- made a PCB fitting on top
- built the enclosure around the whole thing

next:
- use Mike Field's SPDIF input VHDL code to extract in the Parallella the audio data from the SPDIF stream outputted by the ADC module
- use the same VHDL code I wrote for playback but the other way around: while audio data fills a buffer, the other buffer is DMA'ed into DDR
- then Cortex-A9 writes DDR data to the SD card
- when measurement is completed, run DRC to generate the correction filters
- do the same with ADC#2 Cirrus Logic CS5361 and compare
- enjoy the music...


attached zip file contains:
- the Diptrace schematic + layout
- the 8-bit MCU C source code built with the Silicon Labs IDE coupled to SDCC (both free)
Attachments
pcm3052a.zip
(128.56 KiB) Downloaded 1590 times
pcm3052a.jpg
pcm3052a.jpg (204.38 KiB) Viewed 28247 times
mic_adc.jpg
mic_adc.jpg (268.04 KiB) Viewed 28247 times
patc
 
Posts: 83
Joined: Wed Aug 06, 2014 7:18 pm

Re: Audio playback

Postby 9600 » Thu Mar 12, 2015 8:20 am

I honestly wish I had the know-how to build projects like this! Once again, very cool indeed :)

It would be really great if you could publish the project to GitHub or similar. That would make it a lot easier for people to find it, learn from it and reuse etc.

Cheers,

Andrew
Andrew Back
User avatar
9600
 
Posts: 997
Joined: Mon Dec 17, 2012 3:25 am

PreviousNext

Return to FPGA Design

Who is online

Users browsing this forum: No registered users and 4 guests