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
  • Don't use the word "serial ports" like that.

    I2C is a serial interface. But a completely different type of serial interface than the UART you would use for interfacing with the GSM modem.

    There are lots of chips that have both UART and I2C in hardware. You can implement a I2C master in software quite easily too.

    What 8051 processor will not support "embedded c" or assembly?

Reply
  • Don't use the word "serial ports" like that.

    I2C is a serial interface. But a completely different type of serial interface than the UART you would use for interfacing with the GSM modem.

    There are lots of chips that have both UART and I2C in hardware. You can implement a I2C master in software quite easily too.

    What 8051 processor will not support "embedded c" or assembly?

Children