Running an SX on 3.3v for MMC/SD integration...
delboy
Posts: 6
Hi guys - quick noob question for you,
I'm researching how to integrate an MMC / SD or even CompactFlash card with my SX28. From everything I've read about MMC/SD (from links in these forums) I'll have to power both the storage card itself at 3.3v and also communicate with it at 3.3v. I also seem to remember reading that if I drop the SX voltage to 3.3v that the SX-Key won't work with the SX chip (i.e. programming and debugging would be impossible).
I realize similar questions have been asked in the past, but is there an easy way to work with the SX28 / SX-Key at a lower voltage? Alternatively are there any MMC / SD / CF storage devices out there that can interoperate with the SX at it's "native" 5v? I'd really like to get "stuck-in" to the programming side of integrating an MMC but am not sure how best to get going on the hardware side.
Thanks for any tips or pointers!
D.
I'm researching how to integrate an MMC / SD or even CompactFlash card with my SX28. From everything I've read about MMC/SD (from links in these forums) I'll have to power both the storage card itself at 3.3v and also communicate with it at 3.3v. I also seem to remember reading that if I drop the SX voltage to 3.3v that the SX-Key won't work with the SX chip (i.e. programming and debugging would be impossible).
I realize similar questions have been asked in the past, but is there an easy way to work with the SX28 / SX-Key at a lower voltage? Alternatively are there any MMC / SD / CF storage devices out there that can interoperate with the SX at it's "native" 5v? I'd really like to get "stuck-in" to the programming side of integrating an MMC but am not sure how best to get going on the hardware side.
Thanks for any tips or pointers!
D.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
http://www.sxlist.com/techref/parallax/sxkey.htm
William K Borsum of Dascor says:
There is a DC-DC on the board but they couldn't/wouldn't tell me specifically what it was for.
The outputs from the SX-Key (OSC1, 2) must NOT be clamped to anything. Apparently there is a higher voltage required on these pins to tell the target chip that it is in SX-Key/debug/program mode.
The higher voltage on OSC1 and OSC2 will NOT appear on any other pins of the target chip.
The five volt supply on the SX-key can be different from the target chip--i.e. the SXkey can run from a five volt supply (single 7805, caps and wall wart= SX-Key-Ring) while the target system runs from its own supply. Only common pins are GND, OSC1, OSC2. The power rails are NOT connected if a different voltage.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
---
James Newton, Host of SXList.com
james@sxlist.com 1-619-652-0593 fax:1-208-279-8767
SX FAQ / Code / Tutorials / Documentation:
http://www.sxlist.com Pick faster!
You're right - the Sx could work from 3.3V, but then you couldn't program it with the SX-Key. What I did was to make a separate 3.3V supply with zener diodes to power the memory card.
My Sx drove 3 discrete transistors to drive the card inputs, where the transistor collector resistor went to the 3.3V supply, the collector went to the card, and the Sx drove the base resistor. I sent the card output directly to a 74HCT14 Schmidt buffer; the card output was sufficient to trigger the Schmidt which fed the Sx.
So my hardware was just about as cheap and simple as possible but still worked.
David
Chris - you mention the SX-Key-Ring used to be available - does that mean it's no longer available to order? Do you still have any information on it? I think from what James is saying the Key-Ring is basically just 7805 regulator and a couple of capacitors?
DavidB - sounds like your approach might be simpler - from what I understand (and I'm very newbie here!) if I power the MMC seperately I should be fine (using the transistors you mention for input and a Schmidt buffer for the MMC output) - how would that kind of approach work in "production"? Once I've developed my application, would I simply drop the entire circuit down to 3.3v (and remove the transistors and Schmidt buffer) or would I require seperate batteries for the MMC's 3.3v power versus the SX?
Thanks again guys,
D.
A couple of the other posts suggest you could run the SX at a separate voltage from the SX-Key. Maybe you could drive the cards directly from the Sx, with both running from 3.3V, and power the SX-Key to 5V separately. I've never tried that, but that might be a simpler way to get your project started.
D.
From what I can tell in that link, all I need is a 3.3v regulator to power the MMC and a couple of resistors for SX -> MMC. This is a really newb question, but can I "feed' the 3.3v regulator and the SX from the same 5v source on the SX board (or do I need a seperate wall-wart?)?
Thanks for everyone's kind assistance!!
D.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com