We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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!
Can i get your e-mail ID?
NO, the popurpose of a forum is that everybody learns
ANSWER THE QUESTION
what EEPROM?
Erik
ohk.. sorry!
Well.. This is the link which i was referring.
www.electronicsforu.com/.../view_article.asp
Here EEPROM is connected to Rx-Tx pins.. :o
That link is just 1 part of my project.
In 2nd part i am going to interface a GSM modem to controller. (Serially)..
So that Whenever bike exceeds a particular speed limit a message will be sent to predefined number..
in a way yes, but actually no
the pins, in this case are not used as Rx and Tx, but as regular port pins.
connect your EEPROM to two other pins, preferably those used for hardware I²C by a better chip than the one you have chosen. Based on the impression of your abilities your confusion gives me, I will not recommend that you tackle bit-banged I²C
ohk :)
a better chip than the one you have chosen
can you please suggest me a better one?
can you please suggest me a better one? sure, but why limit it to one
basically any chip that has been introduced the last 3 or more years from any '51 uC vendor (except AFAIK Arghmel) SILabs, NXP, ....
okay:)
but there are many chips and most of them are having some extra functionalities :o
can you please tell me which will be best suited for my requirements??
i.e. it should support I2C, 1 UART for GSM modem.. and 8051 features..
Here: http://www.keil.com/dd/search_parm.asp
It's pretty well hidden these days, but I found it here: http://www.keil.com/c51/chips.asp
I would strongly suggest that you get a chip with at least two UARTs - since one will be occupied by the GSM, you should have another free for debug purposes.
(The parametric search lists 104 with I2C + 2 UARTs)
And, if you're considering adding GPS at a later date (which is a very common next step), then get a chip with at least 3 UARTs...
... UARTs ...., you should have another free for debug purposes. unless you are smart and get a chip with JTAG debug
Is that a new alias you got mr Malund?
By the way - JTAG is nice. But a serial port for trace output can be invaluable anyway.
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.
yeah i agree:)
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.
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...
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.