Will you cut down the bullshit about ASICs, USB and nanoamperes. We are talking about interfacing the 3.3V CMOS input level from a flash card to
5V level input of a dsPIC. It is perfectly done with a simple 74HCT gate, and this solution you can find in any ABC book on electronics.
BTW, where did you get the 2.4V? JFYI: for 3.3V CMOS level and 5Vdd, the consumption is just 0.3mA. This is a perfectly documented mode of the operation, RTFM.
I don't care. It is absolutely irrelevant.
You see, grandpa, what you are doing is too old fashioned.
There is no such thing as Russia. There was, there is and there will always be the USSR. Unfortunately.
Very well could be. The jews of Israel are actually changing to arab-like nation.
Vladimir Vassilevsky
DSP and Mixed Signal Design Consultant
formatting link
Didn't find your answer? Ask the community — no account required.
P
PeteS
If you run into problems, then as I live near Cambridge (work near there too), I might be willing to help you out - think of it as a xmas gift or whatever.
Cheers
PeteS
J
Jim Thompson
There is no way to argue with a punk. Don't go away mad, just go away.
When your accumulated income exceeds $5 million, *perhaps* I'll deign to listen to you ;-)
...Jim Thompson
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |
I love to cook with wine. Sometimes I even put it in the food.
J
jasen
isn't High typically specced as anything above 2/3 VCC.... (that'd be 3.33v)
What voltage are they running the DSPIC ?
if you power the PIC from 3.3V it'll probably work just fine
Bye.
Jasen
J
Jim Granville
To give yourself some more margin, look at adding some parallel C to the series resistor (same peaking/matching princple as a scope probe), on those lines that need to do 5V to 3V.
What you are making is a capacitive divider (high frequency) that matches the resistive divider (low frequency), and it allows the resistor values to increase without a speed penalty (for lower power). eg If the total load shunt C is 20pF, you'll need appx 40pF.
Avoid transistors, they will be too slow.
-jg
J
Jim Granville
.. When driven to the rails ?
Interesting circuit; do you have the plots of Icc vs Vin, increasing and decreasing ? And also Icc into/out of 5V and 3.3V rails ?
Limits of Vcc delta's ?
-jg
R
rickman
There are a few other things you might want to consider. I don't know how many of these you plan to make or how they will be used. But anytime you have external signals, it is a good idea to protect them from ESD. If you can work with a real PCB design (made by a PCB maker), you can use a part that might be better. Here is one I found at TI.
formatting link
It provides 15 kV ESD protection and will do the level translation without the resistors and messy circuitry. It does not come in a 0.1" DIP, but it is available in SOIC which is 0.05" pin spacing, large by today's standards. You should be able to get a few as free samples. All things considered, something like this is the route I would take. I don't know how SD card I/Os are typically protected, but this is something you might want to take seriously.
If you want to have a PCB made for you inexpensively you can go to Olimex which I think is in Eastern Europe.
formatting link
Olimex will directly accept Eagle .BRD files without conversion to Gerber format, but I find Eagle a bit of a PITA to learn. FreePCB is a lot more user friendly. You can find it at
formatting link
with support available in the online forum or at
formatting link
I hope it catches on more widely.
Oh, be sure to use lots of power and ground plane area, flood fill if you go two sided. This provides a good high frequency capacitor that minimizes noise on the power planes.
Let us know how your design works out!
R
rickman
Maybe I don't undestand what you mean by "copperclad". To me that is the same as PCB. Are you talking about mouting components to a pre-etched general prototype board or a PCB that has *not* been etched at all, or something else?
J
Jim Thompson
Not quite to rails.
See (updated)....
formatting link
V1 = 5V, V2 = 3.3V
I don't know an answer for that. This presentation was just a lash-up. My actual ASIC implementation uses single-stage inverters instead of the 74HC04's, so my sizing ability allows very low overlaps... it's basically a form of hysteresis.
I'd guess that wildly disparate power supplies would present some slew issues and give more overlap current... but I'd hazard a guess that
1.2V -> 5V would be easy.
...Jim Thompson
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |
I love to cook with wine. Sometimes I even put it in the food.
L
langwadt
Maybe I'm dense but isn't that that pretty much the intended application for HCT parts? specified in the datasheet down to much extra current consumption when going to limits of Vi and Vcc
-Lasse
J
Jim Thompson
"HCT" parts were designed to receive signals from TTL parts also operating at VDD=5V.
The shifted threshold was done to minimize timing skew when making the translation.
Over time they've come to be misused as logic level translators, even though there are specific parts for such purposes.
Unfortunately many lurkers here presume that "getting away with it" is good engineering practice :-(
Me, I have to deliver good stuff every time... otherwise I'm unemployed.
...Jim Thompson
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |
I love to cook with wine. Sometimes I even put it in the food.
L
langwadt
look at olimex.com they are pretty cheap, 160x100mm two layer pcb with solderstop and silk for something like 33$
-Lasse
J
John B
The venerable Alison etched in runes:
. . .
Not at all. Have a look here:
formatting link
and go to the 'Plot & Go' service. They'll do one-off prototypes very cheap and good quality too.
John B
Y
Yuriy K.
RTFM and think. Give it a try.
HCT/AHCT is good only for unidirectional 3.3V->5V translation. In this case it is the most convenient and least expensive solution.
Specialized IC can be used for bidirectional level translation, when different voltage levels required, like 1.8 3.3V, etc.
WBR, Yuriy.
"Resistance is futile"
M
Mike Monett
Bare copper on fr4. You can usually get scraps from any pcb house for free. Only one side needs copper. You can cut it with a knife, hacksaw or tin snips to the required size.
There are many ways of mounting the components. I use plain hot glue most of the time, but also screw components such as heatsinks to the board if needed. You can cut the plane to isolate components if needed.
See Terry Ritter's page for an example of Manhattan style:
formatting link
Since the copper is not cut or etched, it makes a much better ground plane than a pcb, and you can get excellent analog and digital performance up to about 1GHz. However, fast risetimes do not do well with copper wire interconnections. For example, the Motorola EclInPs with 160ps risetime is a problem. You really need stripline or microstrip to handle these signals.
A big advantage is you can easily move parts around if needed to add new circuitry. But complex circuits with a wide data buss would be difficult to wire.
After a few days, you will see your fingerprints etched into the surface. The copper may eventually darken due to corrosion. Brasso may clean the oxides off, but I'd rinse the board carefully to remove any trace of acids.
The technique is ideal for testing new components or circuit concepts. People have made entire high-performance radio receivers using this method. Each circuit sits in its own shielded box for good isolation. When you want to try a different mixer or amplifier, it's easy to pop a new board in and test it under actual conditions.
Regards,
Mike Monett
Antiviral, Antibacterial Silver Solution:
formatting link
SPICE Analysis of Crystal Oscillators:
formatting link
Noise-Rejecting Wideband Sampler:
formatting link
J
jetmarc
Three things:
a) Vih is typically 0.7*VCC (that'd be 3.5V). Minor difference, but see..
b) A 3.3V 5V circuit contains two power supplies, each with its own tolerance. If 5V goes +5% (5.25V) and 3.3V goes -5% (3.135V) at the same time, the situation gets worse. Vih is now 0.7*5.25V = 3.675V, while the 3.3V sender can generate 3.135V max.
c) You're missing that a 1 generated by a 3.3V device is not 3.3V. It's Voh. Typically CMOS outputs tend to climb up to almost VCC, but not all do. And certainly some devices trade lower Voh for a faster timing spec (ie faster device without silicon change).
A fool who thinks that this might be related to the timing problems of the GP... ?!
Regards, Marc
R
rickman
I understand what you are saying, but your first few posts were not at all clear and only appeared to be attacks on others. I am not trying to place any blame for this flame war, as there is plenty of blame to go around. I would suggest that you might consider how your posts appear to a third party reading this. Take it from someone who knows, this is not the best way to promote yourself.
BTW, sort of like in the movie Chinatown, "Let it go Jack, it's just the Internet!"
R
rickman
Ok, this is not addressing my question. I know what copperclad is. I don't understand how you are using it.
Are you saying that you are just using the board as a mechanical mount and not to make connections? How do you make connections with point to point wires?
Ok, I guess this is a bit more clear.
This seems very difficult to me, but I do digital much more than analog and the number of connections with multi-pin packages is much higher.
J
Jim Thompson
One of my favorite movies... in my DVD collection ;-)
You're right, I should ignore the flack.
...Jim Thompson
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |
I love to cook with wine. Sometimes I even put it in the food.
V
Vladimir Vassilevsky
I have to admit that I didn't expect the cross conduction to be that high in the HCT at 3.3V input levels. Actually it made me rethink my position. The HCTs can be used as 3.3V -> 5V level translators, however the user must be aware of the power consumption.
BTW, the maximum of cross conduction appears to be at 0.9V input (5Vdd), and it is about 4mA.
VLV
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.