In my project i want to interface a GSM modem and 24c02C i.e EEPROM (I2C based)to microcontroller. so now i am not understanding whether can i use same Rx-Tx pins to interface microcontroller (89s52) to EEPROM and GSM modem as well?? if not then is there any other microcontroller of AT89cxx/AT89sxx family with 2 serial ports? and which will support embedded c and assembly too!
In case of gsm modem, i meant "UART" only.. :)
Nice explanation... :)
i got this link..
" href= "http://www.engineersgarage.com/microcontroller/8051projects/interface-serial-eeprom-24c02-AT89C51-circuit"> www.engineersgarage.com/.../interface-serial-eeprom-24c02-AT89C51-circuit
This is what i wanted to say.. Hope its right :) What you say sir?
This has nothing to do with Keil, and is not specific to the 8051:
"can we use any PINS to interface EEPROM to controller using I2C"
No, you can't just use any pins - you must check the microcontroller's datasheet to determine what pins are suitable to use for I2C. In particular, note that I2C requires open-drain (or equivalent) drivers.
Preferably, if you need to use I2C, you would select a chip with I2C hardware built-in. In that case, the pins for I2C use would be clearly defined - in the datasheet.
But you can not use a UART for I2C!
"He can interface his GSM modem using serial port"
There are many different types of "serial port" - I2C, SPI, UART, etc. So you need to be clear what type of "serial port", specifically, you are talking about.
For a GSM modem, a UART would almost certainly be required - but, as ever, you must check the datasheet to be sure.
"he can use other pins to interface EEPROM"
As above.
"and in that case he can use burner kits to burn his IC"
Sorry - that seems an entirely unrelated comment!
Hello sir, I have the same confusion.. i.e. can we use any PINS to interface EEPROM to controller using I2C. If it is possible then he can do it with AT89C51 also, can't he? i.e. He can interface his gsm modem using serial port available an he can use other pins to interface EEPROM and in that case he can use burner kits to burn his IC.
Please correct me if i am wrong..
Thank you :)
So you think that other chips have the RAM dis-abled?!
RE means RAM EMABLED
The manufacturer's datasheet will explain the part numbering scheme
what does RE mean in case of 89C51RE2 ??
The best processor in the world is the CM630P
male cow manure, it could possibly be
The best processor in the world for the project I happen to be doing is the CM630P.
if the was such a thing as "The best processor in the world" why would there be thousands different ones
Erik
The best processor in the world is the CM630P.
Oh yeah.
ok ok:)
no u getting me in the wrong way..:o that is between you and micro (u)
in previous comments i had got a reply that "u should choose the microcontroller better than the one u have chosen.." NO, YOU DID NOT, the responders here so not use Stupid Monkey Shit, you got You should choose the microcontroller better than the one you have chosen.
thats why i am asking... I can't tell what is the problem with 89c51re2?? without reading the dayasheet, do that yourself. The requirements were revealed to you above.
no u getting me in the wrong way..:o in previous comments i had got a reply that "u should choose the microcontroller better than the one u have chosen.." thats why i am asking...
what is the problem with 89c51re2??
Read rhe datasheet, maybe there is a 'problem', maybe not.
If you want me to read the datsheet for you, send me a check.
yeah i agree:)
Is that a new alias you got mr Malund? Nope, sometimes the wonderful product from Mr. Gates land up in strange places when returning to a window.
fixed
a serial port for trace output can be invaluable anyway I have had more trouble than benefit from printf cebugging, it creates havoc on the timing. I have no doubt that thise that are more into 'processing' that I/O can find some value.
View all questions in Keil forum