|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Digital Line Level DACs, Digital Crossovers, Equalizers, 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 |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#81 | |
|
diyAudio Member
Join Date: Feb 2008
Location: Seattle
|
Quote:
You can also ask this question on the Microchip forum. |
|
|
|
|
|
#82 |
|
diyAudio Member
Join Date: Mar 2008
|
Seems that a chip like PIC32MX534F064H (5.06 eur from Mouser, 64-pin) also benefits from the SPI upgrade supporting I2S. There are three SPI. They could interface a WM8580A Codec for implementing a stereo 3-way crossover with SPDIF-in, Analog-in, and volume control. As all three SPI are taken by the audio lanes, one extra SPI needs to be implemented using bit-banging for controlling the volumes.
Seems that the PIC32MX534F064L (5.67 eur from Mouser, 100-pin) has four upgraded SPI. This way the fourth SPI can be used for controling the volumes, so no bit-banging anymore for controlling the volumes. I'm tempted by a MikroElektronika MINI-32 board (25.00 usd), featuring a PIC32MX534F064H inside. Designing a MINI-32 "shield" hosting a WM8580A Codec (5.91 eur from Mouser) would lead to a stereo 3-way crossover with SPDIF-in, Analog-in, and volume control. Don't know if the built-in USB can be used as audio input. Quite interesting is the MikroElektronika AUDIO CODEC PROTO. This is a tiny board hosting a WM8731 Codec. During months, MikroE remained evasive about how to connect it on a PIC32 SPI. Now with the PIC32 SPI upgrade supporting SPI, it should be a piece of cake. I guess MikroE is now working on sample code for their MINI-32 board when hooking their AUDIO CODEC PROTO. |
|
|
|
|
#83 | |
|
diyAudio Member
Join Date: Feb 2008
Location: Seattle
|
Quote:
The 64-pin 'H parts have 3 I2S SPI, the 100-pin 'L parts have 4 I2S SPI. |
|
|
|
|
|
#84 |
|
diyAudio Member
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Blog Entries: 62
|
PIC32 would get more interesting for me if there were any other silicon vendors adopting MIPS cores. Anyone know of any? - in the uC market I mean, not stuff like Alchemy Semi.
__________________
When a measure becomes a target, it ceases to be a good measure. C.A.E. Goodhart |
|
|
|
|
#85 | |
|
diyAudio Member
Join Date: Dec 2004
Location: Israel
|
Quote:
I don't have multiple-out filters, as everything is based on single pieces of transfer functions which have single input-single output... Otherwise, it's up to you how would you like to chain the transfer function blocks - "tree", "paralel". I haven't yet implemented the mixing/substracting of signals - where several outputs are connected to single input... I'll implement it. You can't make loops of filters... I'm pretty far from hardware export of filters - i can do biquad coefficients, but signal routing and coefficiencts insertion into DSP source code is out of my reach right now. Could you please share your DSP sourcecode for the ARM you have? Probably i'll generate a source for fuctions of DSP blocks in text: PHP Code:
PHP Code:
PHP Code:
|
|
|
|
|
|
#86 |
|
diyAudio Member
Join Date: Mar 2008
|
At this stage, I think that the idea of an open-source DSP Xover would benefit from a fully documented application implementing a stereo 3-way crossover having a fixed structure like the one shown above, only using IIRs, substractors and delays.
There would be a front-end written in Visual Basic, using USB and a Windows PC for modifying values like IIR coefficients and delays. For calculating the IIR coefficients, we already have IIR_Lab, a design help for digital audio filters. It may suffice in the early days. IIR_Lab : a design help for digital audio filters No doubt there can be more elaborate front-ends running on Windows, providing graphics, relying on Visual Basic or anything else. At the moment, I guess that most developers will want to keep their front-ends proprietary, and I fully respect such approach. As shown above, if the PIC32 redesigned SPI can synchronize three SPI in audio (aka I2S) mode, a proof of concept can be designed right now using one MikroE MINI-32 and one MikroE AUDIO CODEC PROTO (Codec in Master Mode). The oscilloscope can easy tell if all three SPI outputs remain in sync. If all three SPI outputs remain in sync, it will be time for designing a "shield" for the MikroE MINI-32, hosting a WM8580 Audio Codec. As soon as there is an Embedded Artists LPC43xx LPCXpresso board, more computing power will be possible. |
|
|
|
|
#87 | |
|
diyAudio Member
|
Interesting topic, thanks for sharing your ideas. I looked at the STM32F4 and i must say i'm impressed.
Quote:
|
|
|
|
|
|
#88 |
|
diyAudio Member
Join Date: Dec 2004
Location: Israel
|
chaparK,
That sourcecode is just example... Actual code will have all the in/out buffers, and proper biquad implementations... As i think of it, it's enough to write a piece of efficient code in ASM, and then integrate it to the code-generator routine... in the other hand, these compilers tend to optimize the code pretty good... |
|
|
|
|
#89 | |
|
diyAudio Member
Join Date: Sep 2005
Location: Metro Washington DC
|
Quote:
|
|
|
|
|
|
#90 |
|
diyAudio Member
Join Date: Mar 2008
|
Xover is a visual basic application used as front-end, designed for sending parameters to any DSP, provided it is running open source code. As I would like to generate some revenue from it, I don't intend distributing Xover as is, but instead, I intend transforming it into a web based application, asking 0.99 $ each time the DSP gets flashed. No money asked when you change parameters. Money only asked when you want the changes to become permanent. At the moment I have no idea what kind of web-based framework I may use.
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Volume / Source selector - open source project ? | AuroraB | Analog Line Level | 22 | 22nd September 2012 02:21 PM |
| Violet DSP Evolution - an Open Baffle Project | cuibono | Multi-Way | 211 | 18th May 2010 02:26 AM |
| Open call for suggestions on Open Source DIY Audio Design | gfergy | Everything Else | 1 | 15th April 2007 07:33 AM |
| Open Source, Open Architecture! | zenmasterbrian | Digital Source | 185 | 23rd February 2007 10:35 PM |
| New To Site? | Need Help? |