Open-source USB interface: Audio Widget - Page 149 - 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 21st April 2012, 01:50 PM   #1481
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
speaking of dollar-dacs, was the WM8524 ever considered?
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 21st April 2012, 01:57 PM   #1482
regal is offline regal  United States
diyAudio Member
 
Join Date: Jan 2004
Location: MD
Quote:
Originally Posted by borges View Post


Sounds interesting! But it was mainly to illustrate that NOS and 0th order CIC have mathematical similarities. For a DAC to be _easy_ to patch in it should accept standard I2S, 22/24MHz MCLK and a single <5V supply. If you have one of those it should be quite doable to patch it in on the AB-1.12 prototype board.

Børge
The problem is separating the data into 2 channels.
  Reply With Quote
Old 21st April 2012, 02:07 PM   #1483
Turbon is offline Turbon  Sweden
diyAudio Member
 
Turbon's Avatar
 
Join Date: Aug 2011
Location: South
Quote:
Originally Posted by linuxworks View Post
speaking of dollar-dacs, was the WM8524 ever considered?
Not by me anyway. Now sticking my cheek out - I just want USB - IS2 from the audio-widget, Börge has one, will George follow?

Börge - your pins seems to be fixed to fit whatever board the designer makes - he/she just have to comply to our design. I don't really like fixed stuff decided by someone else. Others do, so you have a market.

So, what do we have... George?

Brgds
__________________
These are my principles, and if you don't like them... well, I have others.
  Reply With Quote
Old 21st April 2012, 02:58 PM   #1484
1audio is online now 1audio  United States
diyAudio Member
 
Join Date: Mar 2004
Location: SF Bay Area
Blog Entries: 3
Quote:
Originally Posted by borges View Post
It is easy to design an input sequence which gives a worst-case FIR output. But the good news is that the worst-case output is limited for any given FIR filter.

If designers claim that the worst-case input needed is somewhat esoteric, they are correct. But the least thing they should do is make sure that the FIR output is clipped. In the ES9023 the FIR output doesn't clip, it overflows! As in 0x7F+0x01=0x80 (full positive + 1 = full negative).

Cheers,
Børge
Borge:
It looks like your on. Can you create the particular sequence to get the overflow condition as a test signal? And, of course, something that could have originated as music, not some impossible for the real world signal. I have tried even FS square waves on the 9023 and not seen real nasty's.

There are other limitations for the 9023. Its distortion meets spec, just. And there are higher order artifacts in the output.
__________________
Demian Martin
Product Design Services
  Reply With Quote
Old 21st April 2012, 02:59 PM   #1485
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Quote:
Originally Posted by 1audio View Post
AK4430 and you have already implemented it.
A better DAC will require a lot more stuff and it won't be a lot better.
Thanks for your opinion Demian. My main line of thought is to combine that DAC with your LDO suggestion. Looking forward to powering up such a solution on the AB-1.13 board.

Quote:
Originally Posted by linuxworks View Post
speaking of dollar-dacs, was the WM8524 ever considered?
Looks interesting. Anybody here familiar with it?

So the list of "buck-DACs" now include WM8524, ES9023, PCM5102, AK4430.

Børge
  Reply With Quote
Old 21st April 2012, 03:04 PM   #1486
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: santa clara, CA
I've had the 8524 in my mouser cart for a few weeks now so I'm planning on prototyping it and running it in hardware mode (not sure it even has a software mode).

initial searching has not found any online complaints about clipping on this dac chip, at least.
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 21st April 2012, 05:14 PM   #1487
Mjjg is offline Mjjg  Sweden
diyAudio Member
 
Join Date: Jan 2007
Default Fail to make dfu-programmer

Hey guys, I just dusted of my widget after a year in hiatus and thought I better upgrade the firmware. Trouble is I can't seem to make the custom dfu-programmer frmo the download section. Below is the output of configure and make:


Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB_1_0... yes
checking for ANSI C header files... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking stdlib.h usability... yes
checking stdlib.h presence... no
configure: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: stdlib.h: proceeding with the compiler's result
checking for stdlib.h... yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
configure: creating ./config.status
config.status: creating fedora/dfu-programmer.spec
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Code:
make  all-recursive
make[1]: Entering directory `/home/anders/Temp/Audio widget/dfu-programmer-0.5.4'
Making all in src
make[2]: Entering directory `/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src'
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -g -O2 -I/usr/include/libusb-1.0   -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -g -O2 -I/usr/include/libusb-1.0   -MT arguments.o -MD -MP -MF .deps/arguments.Tpo -c -o arguments.o arguments.c
mv -f .deps/arguments.Tpo .deps/arguments.Po
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -g -O2 -I/usr/include/libusb-1.0   -MT atmel.o -MD -MP -MF .deps/atmel.Tpo -c -o atmel.o atmel.c
mv -f .deps/atmel.Tpo .deps/atmel.Po
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -g -O2 -I/usr/include/libusb-1.0   -MT commands.o -MD -MP -MF .deps/commands.Tpo -c -o commands.o commands.c
commands.c: In function ‘execute_flash_eeprom’:
commands.c:73:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
commands.c: In function ‘execute_flash_user_page’:
commands.c:157:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
commands.c: In function ‘execute_dump_normal’:
commands.c:525:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
commands.c:536:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
commands.c: In function ‘execute_dump_eeprom’:
commands.c:572:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
commands.c:583:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
commands.c: In function ‘execute_dump_user_page’:
commands.c:612:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
commands.c:623:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
mv -f .deps/commands.Tpo .deps/commands.Po
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -g -O2 -I/usr/include/libusb-1.0   -MT dfu.o -MD -MP -MF .deps/dfu.Tpo -c -o dfu.o dfu.c
mv -f .deps/dfu.Tpo .deps/dfu.Po
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -g -O2 -I/usr/include/libusb-1.0   -MT intel_hex.o -MD -MP -MF .deps/intel_hex.Tpo -c -o intel_hex.o intel_hex.c
mv -f .deps/intel_hex.Tpo .deps/intel_hex.Po
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -g -O2 -I/usr/include/libusb-1.0   -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
gcc -Wall -g -O2 -I/usr/include/libusb-1.0    -lusb-1.0   -o dfu-programmer main.o arguments.o atmel.o commands.o dfu.o intel_hex.o util.o  
main.o: In function `main':
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/main.c:58: undefined reference to `libusb_init'
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/main.c:108: undefined reference to `libusb_release_interface'
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/main.c:121: undefined reference to `libusb_close'
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/main.c:131: undefined reference to `libusb_exit'
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/main.c:79: undefined reference to `libusb_set_debug'
dfu.o: In function `dfu_transfer_out':
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:836: undefined reference to `libusb_control_transfer'
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:836: undefined reference to `libusb_control_transfer'
dfu.o: In function `dfu_transfer_in':
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:863: undefined reference to `libusb_control_transfer'
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:863: undefined reference to `libusb_control_transfer'
dfu.o: In function `dfu_transfer_out':
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:836: undefined reference to `libusb_control_transfer'
dfu.o:/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:863: more undefined references to `libusb_control_transfer' follow
dfu.o: In function `dfu_device_init':
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:388: undefined reference to `libusb_get_device_list'
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:394: undefined reference to `libusb_get_device_descriptor'
dfu.o: In function `dfu_find_interface':
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:677: undefined reference to `libusb_get_config_descriptor'
dfu.o: In function `dfu_device_init':
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:415: undefined reference to `libusb_open'
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:417: undefined reference to `libusb_set_configuration'
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:445: undefined reference to `libusb_close'
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:451: undefined reference to `libusb_free_device_list'
dfu.o: In function `dfu_find_interface':
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:716: undefined reference to `libusb_free_config_descriptor'
dfu.o: In function `dfu_device_init':
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:419: undefined reference to `libusb_claim_interface'
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:436: undefined reference to `libusb_release_interface'
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:426: undefined reference to `libusb_free_device_list'
dfu.o: In function `dfu_make_idle':
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:814: undefined reference to `libusb_reset_device'
dfu.o: In function `dfu_device_init':
/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src/dfu.c:431: undefined reference to `libusb_free_device_list'
collect2: ld returned 1 exit status
make[2]: *** [dfu-programmer] Error 1
make[2]: Leaving directory `/home/anders/Temp/Audio widget/dfu-programmer-0.5.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/anders/Temp/Audio widget/dfu-programmer-0.5.4'
make: *** [all] Error 2
I have made sure that I have libusb-1.0-0-dev installed (also tried with libusb-dev). The configure script seems to identify libusb1 and the header file is there in /usr/include and it contains the functions referenced, but make still reports them as undefined.

I'm running ubuntu 11.10. Nothing special otherwise. Any ideas?
  Reply With Quote
Old 22nd April 2012, 10:56 AM   #1488
diyAudio Member
 
Join Date: Apr 2011
the linker cannot find the libusb.

Install the package without the -dev as well.

Do a

Check where the libusb...
Is and set LD_LIBRARY_PATH to it by

$export LD_LIBRARY_PATH=/usr/ ........
Then.

$sudo ldconf

You should read Linux books and google more :-)

Alex
  Reply With Quote
Old 22nd April 2012, 04:35 PM   #1489
Mjjg is offline Mjjg  Sweden
diyAudio Member
 
Join Date: Jan 2007
Quote:
Originally Posted by alexlee188 View Post
You should read Linux books and google more :-)
Silly me

All libusb packets are installed. I set LD_LIBRARY_PATH to where libusb-1.0.so is, and ran ldconfig. No luck anyway. Will google some more...
  Reply With Quote
Old 23rd April 2012, 12:31 AM   #1490
diyAudio Member
 
Join Date: Apr 2011
Alternativly, use windows :-)

Alex
  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
Async 192Khz USB - the SDR-Widget collaborative project SunRa PC Based 5 26th April 2011 06:38 PM
usb audio interface david12 Equipment & Tools 14 10th October 2010 02:58 AM
Cheap Audio Interface (USB?) to PC agm2003 Instruments and Amps 11 16th September 2007 07:48 AM
Open call for suggestions on Open Source DIY Audio Design gfergy Everything Else 1 15th April 2007 07:33 AM
USB Interface Perfect?- Computer Audio fmak Digital Source 3 4th December 2004 10:24 PM


New To Site? Need Help?

All times are GMT. The time now is 05:10 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