ultimate source

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
USB mass storage for Ultimate Source project - brainstorming end

I found two devices that could act as an USB Host, stream data through SPI and meet the speed criteria of minimum 200KB/sec needed for 44.1/16

1. Vinculum's FTDI-VDRIVE2
Pros: is always SPI Slave, has relative simple command set for FAT32 accessing, dev time seems low. It's cheap, ~25euro
Cons: support says it can read continuous 200KB/sec, only 10% more from the required transfer rate might not be enough. It could be possible with low fragmentation drives and very optimized code. This transfer rate would be enough for 44.1/16 only

2. FEZ Domino
Pros: supports says the SPI can give ideally 3MB/sec, so we could expect to handle ~700KB/sec enough for 96/24. It runs .NetMF, so development is easy
Cons: it acts as SPI master always thus the data clocking is difficult; some kind of protocol should be implemented between the slave dsPIC33 and FEZ and extensive buffering on the dsPIC side... development time needed unknown

These are just information. I'm still researching FEZ Domino as it would be nice to have 96/24. If I decide on one I will open a new thread for it.
Anyway, Koon's board will be needed for any of the above, however, in case of 48/96Khz a second XO is needed (easily solvable with a piggy back board and a relay)

Cheers, Zsolt
 
Last edited:
Looks like an interesting project. Might try "porting" it to dsPIC33FJ64GP802 that I'm working with at the moment, see if I can get it to drive the onboard DACs direct. We also have UDA1355 S/PDIF codecs at work, can do I2S in for analog and/or S/PDIF out. Sounds like an interesting combo to play with.
 
Hi Patrick,
I'm waiting 32GB SDHC card from Amazon....

an interval I'm thinking about next board, after FAT32 implementation.

4in x 5in 4 layer (ExpressPCB 4 layer ProtoPro spec)
ExpressPCB - Free PCB layout software - Low cost circuit boards - Top quality PCB manufacturing
16x2 display, 3.3V
Lithium Battery 860mAh for portability
USB-miniB for CHARGE ONLY (note)
SD card holder, dsPIC 100pin (30KB memory)
11.288MHz, dedicated regulator, MCLK buffer
I2S output
Toslink SPDIF optical output
pad for COAX SPDIF output
Play/Pause/Stop/FF/PREV CD(folder)FF / Prev keys

Note: There are no USB2.0 - SDHC writer chip on sale at Digikey etc,
so I will not try USB file management at this version.
Just pull SDHC - and use PC's SD slot or SD reader.

how much it costs and I am in Indonesia where I can buy?
 
you cannot buy afaik, you can only make it, i presume you followed my link. why have you made 3 posts above saying the same thing? we understood the first time

it is a DIY project with the emphasis on the Yourself part, there is not, nor has there ever been a kit or commercial PCB, formal instruction manual or forfmal support network, if you are looking for this, i'm afraid you will be disappointed
 
Last edited:
Thank you Patrick. I suppose I can build everything on a proto board with SMT adapters for the chips, and then I'd have to design an S/PDIF transmitter, and hope the firmware and building everything actually works! Ideally, an SD card player seems like the best transport nowadays. With parts becoming hard to find for broken CD transports, this solution only makes sense.

Looking at the schematic, it looks pretty simple, and not too difficult to accomplish. The issue is that as well as the dsPIC33, some other parts I won't be able to get through hole, and I'll need to get a programmer or build one myself. For the S/PDIF transmitter, I was thinking of using the DIT4096.
 
Last edited:
I found a microSD breakout board with an activity LED, which I think it would be neat to have such an LED. Attached is a picture and a schematic.
 

Attachments

  • adafruit-microsd-card-breakout-board-B.jpg
    adafruit-microsd-card-breakout-board-B.jpg
    29.7 KB · Views: 555
  • usdbreakout.png
    usdbreakout.png
    15.5 KB · Views: 553
I received the breakout boards for all of the chips and soldered them on. Even after all these years I can still do it. None of them are aligned perfectly, but there are no bridges and no damage.
An externally hosted image should be here but it was not working when we last tested it.

The chips are the dsPIC33 on the red board, a DIT4096 on the green board, and a 74VHC125 on the dark one.
 
I've started assembling the main board.
An externally hosted image should be here but it was not working when we last tested it.

The pin header where the button is, is the programming header. I connected all power and ground to each other and PICkit software detected it. The two DIP 14 sockets are for the oscillator and the 74VHC125 and the DIP 16 socket is for the 74HC173. The DIP 28 socket is for the DIT4096, and I'm using a TOTX173 toslink transmitter. I can't get the software to build in MPLAB though.
 
Here is the perf board almost completed:
An externally hosted image should be here but it was not working when we last tested it.

On the bottom left is the LCD header (I'm using instead a blue OLED), on the top right is the SD card header (I'm using a micro SD card instead). Only things that are not finished are the bypass capacitors of the 5V regulator, the wiring of the DIT4096, and the coax S/PDIF driving circuit. Also, the dsPIC33 has to be programmed. Has anyone been able to build the source?
 
I've made some progress. To build the firmware, use the version here. I programmed the dsPIC33, fixed an open between the reclocking section and main ground, and got this:
An externally hosted image should be here but it was not working when we last tested it.

I'm not exactly sure the OLED display is jumpered properly for the right format, or something else is screwed up. I'm waiting for the micro SD card to arrive to see if I can get something to look like it's playing.
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.