This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

is this possible to use same serial port of 89s52 for different purposes?

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!

Parents
  • yeah but the problem is that if i use 89s52, then i shall be connecting EEPROM (I2C based) to Rx-Tx pins.. and data will be continuously read and written from and to respectively EEPROM.
    But i need to connect a GSM Modem also which will also need Rx-Tx pins..

    So better i should use a controller with 2 UARTs..

    Am i making any mistake?

Reply
  • yeah but the problem is that if i use 89s52, then i shall be connecting EEPROM (I2C based) to Rx-Tx pins.. and data will be continuously read and written from and to respectively EEPROM.
    But i need to connect a GSM Modem also which will also need Rx-Tx pins..

    So better i should use a controller with 2 UARTs..

    Am i making any mistake?

Children