Forum Discussion

Toanatron's avatar
Toanatron
Icon for New Contributor rankNew Contributor
6 days ago

Unable to transmit out of 16550 Compatible UART

Hi I am following the example of the 16550 Compatible UART in the Embedded peripherals IP User Guide and using the provided code I am not seeing any data in the loopback configuration. 

Software is Quartus Prime Lite 18.1

Any idea or suggestions is greatly appreciated. I'm not sure if I need to configure any registers?

 

4 Replies

  • Toanatron's avatar
    Toanatron
    Icon for New Contributor rankNew Contributor

    Hi I was able to resolve my issue, the device name was not configured correctly for altera_16550_uart_open().

  • KianHinT_altera's avatar
    KianHinT_altera
    Icon for Frequent Contributor rankFrequent Contributor

    Hi Toanatron​ ,

    Just to clarify, you're testing UART loopback between Uart 0 and Uart 1 as the example below

    Could you also let me know what FPGA platform you're usng?

    Thanks

    Regards

    Kian

    • KianHinT_altera's avatar
      KianHinT_altera
      Icon for Frequent Contributor rankFrequent Contributor

      Forgot to mentioned, did you try running the c code  example which configures the uart ports and test the  UART0<->UART1

      Thanks

      Regards

      kian