TRAXMOD
Digital Audio Player

TRAXMOD
Developer's Area (schematics, firmware, etc.)

FAQ
Support Forum

Project Background
YouTube Demonstration

Resistor/PWM Hybrid DAC
SD Cache Methodology
SD Theoretical Limits
SD Card Interface

Nectarine Demoscene Radio
United Trackers
MODs in Memorium
The Mod Archive
Amiga Music Preservation
TRAXMOD is a small digital audio player using the Microchip PIC32MX340F512H high speed microcontroller chip (previous versions used NXP LPC2103 ARM7TDMI microcontrollers). Currently, TRAXMOD can play raw wave audio streaming off of a FAT formatted MMC/SD Card at 44100Hz, 16 bits, stereo.

Finding a microcontroller chip that can do back-to-back SPI data transfers correctly and at high speeds hasn't been easy. Previously, our breadboarded LPC2103 player could only get up to about 17MHz before reading data from our SD Cards started producing incorrect data. Maybe that's because of our use a breadboarded circuit, or maybe its because of LPC2103 errata, we don't really know for sure.

When we started using the PIC32MX340F512H, we wanted to see just how fast we could clock the SPI port and still be able to read correct data from the SD Card. What we found was that some SD cards could be clocked even faster than the 25MHz SD Card specification and the PIC32 could still read data correctly enough to play some raw wave audio off of them. At this point, it seems apparent that maximum speed is dictated by the SD Card used, not by our circuit or the microcontroller chip being used.

Worked at 30.1056MHz
32MBKingstonJapan
128MBKingstonTaiwan
1GBKingmax Platinum 50X (not 100% good)Unknown
2GBToshiba (not 100% good)Japan
Worked at 28.224MHz
256MBSanDiskChina
1GBCrucial (Micro SD)Taiwan
1GBLexarKorea
2GBDane-ElecJapan
2GBKingston Patriotic MultipackKorea
2GBA-Data 150X TurboUnknown
Failed at 28.224MHz
1GBKingston 50X Elite ProTaiwan
4GBA-Data SDHC Class 6 TurboUnknown

Interestingly, the A-Data SDHC Class 6 card could not even get past 28.224MHz. Supposedly, the SDHC specification allows up to 50MHz clock rates, twice the 25MHz SD Card specification. However, from this card, it appears that just being labeled SDHC isn't enough to tell you that the card will be able to be clocked any higher than it's SD Card brethren. Doh!

Copyright © 2008, K9spud LLC.