|
|||||||
| 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 |
|
|
#371 |
|
diyAudio Member
Join Date: Apr 2003
Location: Tampere Finland Europe
|
Lpc4300 starts looking interesting. Has anybody tried using the FPU yet? There is an experimentation documented (with source code) here:
LPC4350 I2S real time stereo audio filtering example | www.LPCware.com |
|
|
|
#372 |
|
diyAudio Member
Join Date: Jun 2009
Location: Orygun
|
You can find the Cortex M4 instruction set documentation here. See post 365 in this thread for links to CMSIS DSP and rules of thumb for the number of bits needed in a filter implementation.
For audio DSP on the Cortex M4 I don't see any particular advantage to single precision floating point over 32 bit fixed point; SMLAL is a 64 bit accumulate while VFMA is a 32 bit accumulate. You might be able to save a few clocks with arm_biquad_cascade_df1_f32 compared to Q31 and maintain comparable precision at higher normalized frequencies. But it's probably not worth the additional scaling complexity and the CPU cycles for converting incoming samples to floating point and then back to fixed point for output. Best way to be precise about CPU requirements versus accuracy is to set up your desired filter bank in F32 and Q31, look at the assembly the compiler generates, run some test vectors through both, and compare the output streams to reference output data calculated using F64 or something in the vicinity of Q63. Last edited by twest820; 10th November 2012 at 11:49 PM. |
|
|
|
#373 |
|
diyAudio Member
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Blog Entries: 62
|
I finally got my LPC4330 dev board this week
This one, from Taobao, 388rmb (around $60) : LPC4300 LPC4330 Cortex-M4 ¿ª·¢°å NXP LPC M4-ÌÔ±¦ÍøThe seller has good English so if you have the requisite chat software installed, you can contact him. Incidentally another snippet of gossip for ARM-philes : TI looks to be making a move away from ARM. For example the older M3 Stellaris parts have an EOL announcement and the newer parts with ARM on-board look to be just marketing ploys to sell TI's proprietary CPU. Expect the Stellaris M4 range never to be fully released, its been absolutely ages...
__________________
When a measure becomes a target, it ceases to be a good measure. C.A.E. Goodhart Last edited by abraxalito; 12th January 2013 at 03:49 PM. |
|
|
|
#374 | |
|
diyAudio Member
Join Date: Mar 2008
|
Quote:
There will be a new era opening with silicon chips embedding ROM describing their internal architecture using spice netlists and an XML description of their registers. Human will become less and less needed, for setting up and programming silicon devices. Complexity and versatility (reconfigurable silicon) will rise to a level, so high that it will come beyond human undertstanding. All what we are doing, at the moment, is prehistoric electronic engineering. This helps me swallow the pill of an imminent USA silicon industry collapse. Come back in 20 years. A child, of course assisted by design tools, will be able to design, assemble and program a computer equivalent to our best current desktops. A child will be able to design a cross-compiler enabling a Sinclair Spectrum Pacman source code, to run on it. A specialized 3D printer will enable such computer to replicate at a very low cost. The fact that it took about 18 months for getting some kind of Cortex-M4 board executing IIRs (and I'm not even speaking about the fact that such board doesn't have audio ADCs and DACs), is an indication that electronics management, marketing, and engineering are outdated. Time has come for a radical new vertical integration. Only a few companies are on the right track. Those may survive. Last edited by steph_tsf; 12th January 2013 at 07:46 PM. |
|
|
|
|
#375 |
|
diyAudio Member
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Blog Entries: 62
|
I agree Steph - both TI and Intel are toast. The future belongs to the MediaTeks and Allwinners whose volumes are being ramped by sales of smartphones and tablets. TI's pulled out of where the real volumes are and Intel's only play-acting in mobile. The only question left in my mind is whether National (maybe in conjunction with BB) can be spun out once again before TI dies...
__________________
When a measure becomes a target, it ceases to be a good measure. C.A.E. Goodhart |
|
|
|
#376 | |
|
diyAudio Member
Join Date: Apr 2003
Location: Tampere Finland Europe
|
Quote:
Btw. Is it possible to have an external clock (MCLK or oscillator) to be used to clock the SGIOP on the LPC parts? I would like to have as little jitter as possible and put oscillator on DAC board with the DAC itself running as slave. |
|
|
|
|
#377 | |
|
diyAudio Member
Join Date: Apr 2003
Location: Tampere Finland Europe
|
XMC4500 seems to be support external clock. Strangely they call clock generation to baud rate generation in IIS context:
Quote:
Wondering how well this part is overclocking... |
|
|
|
|
#378 |
|
diyAudio Member
Join Date: Jun 2009
Location: Orygun
|
Depends on the biquad precision and the number of instructions required to drive the USICs, but 120MHz is probably enough for around 75 biquads for redbook, assuming a typical mix of 32 bit and 32x64 bit and that you're coding with the ARM CMSIS DSP library.
Yes, though I suppose an update to post 120 is in order. To summarize the LPC datasheet and manual, half of the SGPIO slices can be used as clocks for other slices. Additionally, there are two to four pins that can be used as inputs to the CGU (clock generation unit) and routed to the SGPIO peripheral. The number of pins depends on the package. |
|
|
|
#379 |
|
diyAudio Member
Join Date: Apr 2003
Location: Tampere Finland Europe
|
After studying the data sheet of XMC4500 better I realized that the external clock input is not for MCLK but for SCLK, or as they call it "shift clock" (=bit clock in I2S). If you divide the MCLK by 256/64 (MCLK/LRCLK ratio / frame length) =4 you get the proper frequency, but I'm not sure if XMC4500 can generate the LRCLK in slave mode. The data sheet is little bit void in some areas. The LPC4300 with SGIOP seems to be the M4F family best suited for 6 or more output channels.
Now has anyone designed his/her own boards yet? There were some posts regarding multiple multichannel DAC's that would be interchangeable. If this idea is still alive it would be nice if the pinout (and the physical connector, propably just a usual two-row 0.1" pin header with ground lines between the signal lines) for the multichannel DAC's would be published early. Regarding DAC's there is already one good quality multichannel DAC available from ASUS - ASUS Xonar H6 - it's meant for Xonar soundcard's surround channels but is quite good quality one (http://www.asus.com/Sound_Cards_and_...ters/Xonar_H6/). I have it's pinout somewhere, and if we sticked to that pinout then we don't need to build the DAC, only the processor board and power supplies + analog or digital input board (with or without SRC). H6 uses I2C (each of CODEC's has own address), and has one pin for mute relays. It's got also inputs for 3.3V, 5V and +/-12V (guess 12-18V is ok for the opamps) supplies. |
|
|
|
#380 | |
|
diyAudio Member
Join Date: Mar 2008
|
Quote:
|
|
|
![]() |
| 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? |