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

8051 P0 Port

Folks,

May I ask you a simple question?

May I use P0 port as the I/O(with the pull-up resistors) and address line (address coming out before the pull-up resistors) at the same time?

Thank you.

Parents
  • May I ask you a simple question?

    May I use P0 port as the I/O(with the pull-up resistors) and address line (address coming out before the pull-up resistors) at the same time?


    The question is too simple I do not understand what you want.
    For all fetches from external program or data memory first the LSB of the address on P0 must be latched by ALE, then the data transfer takes place.

    If, however, you do not have any external memory, P0 is straight I/O

    Erik

Reply
  • May I ask you a simple question?

    May I use P0 port as the I/O(with the pull-up resistors) and address line (address coming out before the pull-up resistors) at the same time?


    The question is too simple I do not understand what you want.
    For all fetches from external program or data memory first the LSB of the address on P0 must be latched by ALE, then the data transfer takes place.

    If, however, you do not have any external memory, P0 is straight I/O

    Erik

Children
No data