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
  • 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...

Reply
  • 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...

Children