Forum Discussion

CAlex's avatar
CAlex
Icon for Contributor rankContributor
11 months ago

Using Uart IP with HPS(Cyclone V soc dev board)

Hi

I'm using HPS and want to use the UART IP to create a FPGA module to make a connection between the host and the board.

Here is the system

HPS : Buffer ====> | FPGA: Uart module ====> | TTL to RS232 module ====> | Host

I've read the example of the RS232 Max Baurd rate example and the IP guide.

I don't know if the HPS support this example for I DID NOT USE THE NOIS II. Instead I'm using the HPS with HWLIB.

In HWLIB there is a 16550 uart API. Is that related to the RS232 IP?

Is there an example for HPS?

Is it allowed to reach the 921600 baud rate?

thank you for your time

Best Wishes

Alex

5 Replies

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi Alex


    The difference between the UART Core IP and the 16550 UART IP is that the UART Core is just the basic RS232 functionality where as the 16550 UART consist of FIFO Buffer incorporated.


    However for your usage, the HPS has its own UART peripheral and do not need to use the FPGA IP.

    In the HPS you could enable the UART and route the UART pins to the FPGA.

    https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/an/an706.pdf


    Regards

    Jingyang, Teh


    • CAlex's avatar
      CAlex
      Icon for Contributor rankContributor

      Hi,

      I've read the API for the 16550 UART port, is there some ways to change the baud rate to 921600? For the fastest speed for the API is 115200.

      Thank you.

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    Unfortunately the IP the maximum supported baudrate is up to 115200.


    Regards

    Jingyang, Teh


  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.



    Regards

    Jingyang, Teh