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

How to set Uart2 ?

Please tell me how to use Uart2 to exchange data?

I Use C51 development and ST uPSD3234A chip.

Parents
  • Alan,

    Thanks for your suggestion.

    I found the key to my problem. There are no fault with my code. But the hardware didn't set the RI2 and TI2 with 1 after receive and transmit a char. So the chip are waiting for set. So it had no result from uart2.

    Do you have some suggestion about this question.

    Thank you again.

Reply
  • Alan,

    Thanks for your suggestion.

    I found the key to my problem. There are no fault with my code. But the hardware didn't set the RI2 and TI2 with 1 after receive and transmit a char. So the chip are waiting for set. So it had no result from uart2.

    Do you have some suggestion about this question.

    Thank you again.

Children