Author Topic: DSP/FV-1 questions  (Read 5999 times)

scintillation

DSP/FV-1 questions
« on: December 28, 2014, 02:14:47 PM »
After extensively breadboarding a PT2399 circuit and never being 100% happy, I decided I should probably give a DSP based delay a go.

I'm happy programming in C for micro controllers and Verilog for FPGA's, but I didn't think these help too much with simple audio DSP chips. The Spin FV-1 seems to be discussed a lot. I've had a fair trawl through the web and this forum and it seems this could be a good option. Here are my questions (which I have tried searching for the answers for already):

- Before going down the FV-1 line, are there any other DSPs to consider with ADC/DAC built in that can be programmed in C rather than ASM?
- The FV-1 thread on this forum has a nice looking single sided PCB, this looks like a good starting point. What is the mechanism for downloading firmware to the 24LC32A Eeprom? Do I need programming hardware? What software?
- I would like to experiment with reverb and delay primarily. What length of delays should I be able to achieve with the chip?
- The eTap2hw looks great. However I can't quite figure out if this firmware can be downloaded free or has to be paid for?

Govmnt_Lacky

Re: DSP/FV-1 questions
« Reply #1 on: December 28, 2014, 02:22:37 PM »
- The FV-1 thread on this forum has a nice looking single sided PCB, this looks like a good starting point. What is the mechanism for downloading firmware to the 24LC32A Eeprom? Do I need programming hardware? What software?

I believe the PicKit2 programer has been used quite successfully in programing the EEPROM for the FV-1. A good person to ask would be slacker. He has pretty good knowledge on this.  ;)
A Veteran is someone who, at one point in his or her life, wrote a blank check made payable to The United States of America
for an amount of ‘up to and including my life.’

Digital Larry

Re: DSP/FV-1 questions
« Reply #2 on: December 28, 2014, 02:59:49 PM »
@scintillation, I noticed that you found your way over to my forum to get SpinCAD Designer.  I think you will have a blast creating delays with this tool.  I have made some really wild things with filtering in the feedback path, etc.

The FV-1 has 32768 memory locations, so at 32768 Hz sampling frequency, you get 1 second of delay.

There is a way through sample rate reduction to get up to 8 seconds of lo-fi delay.  I haven't made that into a SpinCAD block yet.  You could find it over at the Spin forum or knowledge base.
Digital Larry
DSP tinkerer and former transistor twister

Ice-9

Re: DSP/FV-1 questions
« Reply #3 on: December 29, 2014, 06:12:50 AM »
-The FV-1 running at the standard clock freq can have a delay of up to one second.
-The Eeprom can be programmed using a Pickit2 or if your pc has a serial port you can make your own programmer for a few pennies and use a free program called ponyprog or it could be ICProgram.
-The single sided PCB you mention has the Eeprom programming connections on the PCB so that the Eepromcan be programmed without removing the PCB or chip.
-The hex file for the eTap2HW can be distributed but the ASM files are not allowed.
« Last Edit: December 29, 2014, 06:43:57 AM by Ice-9 »
www.stanleyfx.co.uk

It's fairly straight forward, if you want to start it , press start. You can work out the rest of the controls for yourself !

SISKO

Re: DSP/FV-1 questions
« Reply #4 on: December 30, 2014, 01:28:49 AM »
- Before going down the FV-1 line, are there any other DSPs to consider with ADC/DAC built in that can be programmed in C rather than ASM?

No high grade adc/dac (altough its not impossible to get some good audio codec) but you can check:
This:
http://www.pjrc.com/teensy/td_libs_Audio.html
-333mS max, dont know if you can connect block in series.
Programmed in C and Arduino

And this:
http://www.diystompboxes.com/smfforum/index.php?topic=109314.0
Programmed in C and (if any) ASM
--Is there any body out there??--

slacker

Re: DSP/FV-1 questions
« Reply #5 on: December 30, 2014, 05:56:30 AM »
What is the mechanism for downloading firmware to the 24LC32A Eeprom? Do I need programming hardware? What software?

For a cheap way to program the EEPROM have a look at this thread http://www.diystompboxes.com/smfforum/index.php?topic=108891.0 one of those circuits and a cheap USB to serial cable is all you need, both will also work with a real serial port if your computer has one.

cloudscapes

Re: DSP/FV-1 questions
« Reply #6 on: December 30, 2014, 12:28:40 PM »
In principal, integrating an ADC/DAC into the DSP chip is a "bad" idea, since you can't decouple it properly, or ensure separate ground planes, etc. This is why the majority of DSP designs allow the designer to pick their own ADC/DAC/codec. It's not a "good" investment to design and manufacter a DSP chip that has it's own codec.

That said, spin semi saw a niche market where enough people wanted an all-in-one chip, and decided to take the risk with the FV-1 (custom chip design/fabbing is stupidly expensive!). It paid off I think! But because of how niche it is, and some of the disadvantages, I don't think we're gonna be seing more of these anytime soon. I may be wrong.

the FV-1 with spincad designer is probably your best bet for starters. If you really want to experiment with C, then you'll have to deal with external codecs/ADC/DAC.
~~~~~~~~~~~~~~~~~~~~~~
{DIY blog}
{www.dronecloud.org}