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

About SBUF

Hi, in a serial communication program, do I have to "SETB P3.0" in order to receive from the serial port ??

Parents
  • THanks for replies guys,
    - I am using AT89C51 device which uses P3.0 as serial RxD bit.
    - My program tries to receive a byte from Hyperterminal (PC), but it does not.
    - But it successfully sends bytes
    - I just coulnt understand that much the link you gave, because I'm not that familiar with circuits, transistors.
    - So, my question is a software one: We are making a port bit HIGH whenever I want to get an input, Do I need to do this when using RxD pin. Because I dont remember so(I programmed these devices more than 3 years ago), and couldnt find a quick solution in internet.

    I appreciate any help

Reply
  • THanks for replies guys,
    - I am using AT89C51 device which uses P3.0 as serial RxD bit.
    - My program tries to receive a byte from Hyperterminal (PC), but it does not.
    - But it successfully sends bytes
    - I just coulnt understand that much the link you gave, because I'm not that familiar with circuits, transistors.
    - So, my question is a software one: We are making a port bit HIGH whenever I want to get an input, Do I need to do this when using RxD pin. Because I dont remember so(I programmed these devices more than 3 years ago), and couldnt find a quick solution in internet.

    I appreciate any help

Children