electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

max232 problem in mmc reaer circuit


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> max232 problem in mmc reaer circuit
Author Message
SPELTER



Joined: 17 Jun 2006
Posts: 27


Post03 Apr 2007 8:00   

max232 problem in mmc reaer circuit


I am building a mmc reader using the code provided at
h**p://elm-chan.org/fsw/ff/00index_e.html
i have used the code from ffsample file.
the problem i am facing is that my whole circuit will be working on 3.3 v(both atmega 128 and the mmc card) but the max232 datsheet specifies that it can work on 4.5 to 5.5 v .so should i give the max232 5v supply sperately or is there any other way out.

i am attaching the schematic file for reference



Sorry, but you need login in to view this attachment

Back to top
Encrypted



Joined: 28 May 2001
Posts: 154
Helped: 10


Post03 Apr 2007 8:12   

Re: max232 problem in mmc reaer circuit


Very simple solution - use MAX3232.

Works down to 3 volt.
Back to top
SPELTER



Joined: 17 Jun 2006
Posts: 27


Post03 Apr 2007 8:57   

Re: max232 problem in mmc reaer circuit


HI ENCRYPTED
Thanks for your suggestion but is there any way to use the max232 instead
Back to top
IanP



Joined: 05 Oct 2004
Posts: 6490
Helped: 1542
Location: West Coast


Post03 Apr 2007 9:08   

Re: max232 problem in mmc reaer circuit


MAX232 won't work with Vcc=3.3V ..

If you have a couple of BJTs you can try the following circuit:
http://www.petesworld.demon.co.uk/homebrew/PIC/simpleSIO/ssio.htm

Regards,
IanP
Back to top
kender



Joined: 19 Jun 2005
Posts: 1231
Helped: 88
Location: Stanford, SF Bay Peninsula, California, Earth, Solar System, Milky Way


Post03 Apr 2007 9:11   

Re: max232 problem in mmc reaer circuit


SPELTER wrote:
should i give the max232 5v supply sperately or is there any other way out [?]

SPELTER wrote:
Thanks for your suggestion but is there any way to use the max232 instead [of MAX3232 or similar]

The other way out have been mentioned already: use a RS-232 driver that works of +3.3V. That's the cleanest solution. IMHO clinging to MAX232 at the expense of setting up a whole separate power supply wouldn’t be well thought through (in other words - silly) engineering decision.
If you want to give MAX232 a separate +5V supply, that can work too. You need to check 2 things, though.
(1) +3.3V is above the logic threshold on the MAX232 side.
(2) The input on the AVR side is 5V-tolerant. In other words, make sure that 5V signal will not fry a microcontroller running of 3.3V.
Back to top
SPELTER



Joined: 17 Jun 2006
Posts: 27


Post03 Apr 2007 9:21   

Re: max232 problem in mmc reaer circuit


Regarding the second point ,the atmega128 can work between 2.7 -5.5v vcc.

But i could not understand your first point....can you please clarify it a little.
Back to top
Google
AdSense
Google Adsense




Post03 Apr 2007 9:21   

Ads




Back to top
kender



Joined: 19 Jun 2005
Posts: 1231
Helped: 88
Location: Stanford, SF Bay Peninsula, California, Earth, Solar System, Milky Way


Post03 Apr 2007 9:58   

Re: max232 problem in mmc reaer circuit


SPELTER wrote:
Regarding the second point ,the atmega128 can work between 2.7 -5.5v vcc.

I'm not an AVR expert, but generally speaking, Vcc=5V is not necessarily the same thing as 5V-tolerance. You can power a chip, which is rated for Vcc from 3.0V to 5.5V, with 3.3V, give it a 5.0V input and fry it. As a general rule, the input voltage shouldn't be greater than the power supply voltage. There is an exceprion to this rule dubbed "5V-tolerance". A logic input either has 5V-tolerance or doesn't. In the latter case, you need a 5V-tolerant buffer or an open-drain buffer with pullup or a voltage divider.

SPELTER wrote:
But i could not understand your first point....can you please clarify it a little.

If the logic-high threshold is above 3.3V, the logic high signall will not be seen. Luckily, this is not a problem, because MAX232 has a threshold at 2V. I've checked the datasheet (page 2, Input Logic Threshold High).
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> max232 problem in mmc reaer circuit
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
max232 problem (10)
MAX232 output problem? (solved) (8)
MAX232 voltage supply - need help in a circuit (6)
serial programming on proteus - max232 problem (4)
MMC reading problem (2)
MMC interface problem. (4)
mmc card writing problem (2)
MMC read problem help (1)
Problem: Using MultiMediaCard in MMC mode (7)
mmc card read block problem ? (4)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS