Forum Discussion

snehal_p's avatar
snehal_p
Icon for Contributor rankContributor
2 years ago

Mapping Uart hps periperal as two configurations simultaneously

Hello,

Can I configure UART0 HPS peripheral as HPS I/O set1 and HPS I/O set2 in the platform designer at the same time.

Hope to hear from you soon

Thanks,

snehal_p

5 Replies

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

    Hi Snehal_P


    Nice to hear from you!

    I am assuming you are working on the CycloneV Devkit.

    Yes, you could enable two uart hps periperal simultaneously.

    You would need to enable them in the HPS configuration in the Platform Designer.

    However you would need to make sure there are no errors in the pin mux.


    Regards

    Jingyang, Teh


    • snehal_p's avatar
      snehal_p
      Icon for Contributor rankContributor

      Hello Jingyang,

      Actually I was trying to use same peripheral uart0 for 2 different uarts.

      I used loanio and uart0 in fpga mode, this solved my issue.

      Thanks,

      snehal_p

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

    Hi Snehal_p


    Thats great to hear.

    Just to understand more about the problem you have.

    You are using one uart to communicate with 2 devices with separate uart configuration?

    I believe the loan io is used to detect which uart configuration to be used?


    Regards

    Jingyang, Teh


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

    Hi


    Since a solution have been provided and no feedback was received, I shall set this thread to close pending. If you still need further assistance, you are welcome reopen this thread within 20days or open a new thread, some one will be right with you. Please login to ‘https://supporttickets.intel.com’, 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.


    If you happened to close this thread you might receive a survey. If you think you would rank your support experience less than 10 out of 10, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.


    Regards

    Jingyang, Teh