Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

UART related problem

hello everyone

I am new to using NIOSII processor. I am trying out a simple program as a beginning to my project. I am using UP3 board and am trying to send and receive data through UART port. From the other side i am checking the result through hyperterminal of another PC. I am not able to receive or transmit any data. This might be a problem of pins i have assigned to the UART rx and tx. I have assigned them pins 42 and 47. Is that correct ??

plz help me out.

thnx

sourabh

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi sourabh,

    > i have assigned to the UART rx and tx. I have assigned them pins 42 and 47. Is that correct ??

    This is correct for the UP3 Rev. 2 (1C6).

    > i am checking the result through hyperterminal

    For your initial testing, make sure flow-control is disabled and check your cable. On the UP3, the

    DB-9 connector is wired as DCE (e.g. RXD on pin2 and TXD on pin3, etc). Your PC RS-232 port is

    also DCE ... so you'll need a NULL modem.

    Regards,

    --Scott