Forum Discussion

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

UART core

hello,

I have used the nios 2 uart core to send info from the nios to the computer (with rs-232). I have used the Hterm software to see the receive info from the rs232 and no matter what I have sent to the computer, the Hterm presented the values 00 or 0f.

what could be the problem?

thank's!

6 Replies

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

    You should connect an oscilloscope (or Signaltap probes) and look at the serial signal, to check if it is as expected.

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

    I have a question for you: How you connected the PC to the Board? I have Cyclone III starter board, and the HSMC is occupied, the only "wires" available are the BoundaryScan or JTAG pins.

    How I can connect the PC to the Nios UART?

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

    You can't... there isn't any rs232 connection on the kit. You would need to get some signals from the HSMC connector and use a LVTTL to RS232 transceiver.

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

    for quick cheque use microsoft "hyperterminal " utility where you can edit boud rate start/ stop bit etc and make sure disable hardware control tab to none in hyperterminal control setting window.