Forum Discussion

aiedb's avatar
aiedb
Icon for Occasional Contributor rankOccasional Contributor
2 years ago

DE-10 PROJECT

HII i bought the DE-10 KIT

AND I WANT TO USE THE UART ON THE HPS SIDE TO RECIEVE A CHAR FROM THE PC

according to the char value to turn on a gpio on the fpga fabric side

that means that i there is have to be hps_to_fpga bride involved

is there an example that i can use or an application or a tutorial that can help me in this subject

4 Replies

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

    Hi aiedb,


    I think we dont have the complete example for your particular request.

    I will provide a brief idea on how I think the system can work.

    First thing is to have your system to boot up from Uboot and if required, to Linux kernel(can consider if required to run an application code using linux for your project ). Then make sure from there you can observed any logs through UART on the terminal(example using putty in windows ) on your PC. If you can observe the UART logs, you will be able to perform inputs from the terminal on your PC.

    You will have your FPGA design generated using Quartus which consider the bridge to control the register data used for the gpio on FPGA side.

    During Uboot boot up to Uboot user interface. Flash in your FPGA design(.sof file) and then execute "bridge enable" command.

    After that, Use "mw" command to write your data to the specific address which control the gpio in your design.


    Reference link which may help:

    https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10

    https://www.terasic.com.tw/wiki/index.php?title=DE10_Advance_Running_Linux_via_UART_Terminal:_Setting_Up_UART_Terminal&oldid=2880

    https://www.terasic.com.tw/wiki/DE10_Advance_revC_demo:_Develop_the_C_Code



    Thanks.

    Regards,

    Aik Eu


  • aiedb's avatar
    aiedb
    Icon for Occasional Contributor rankOccasional Contributor

    hii thanks for your reply , i will try to look in the links you gave me

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

    Hi aiedb,


    I will close the thread if no further question.


    Thanks.

    Regards,

    Aik Eu


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

    Hi aiedb,


    I will close the thread for now. Do consider to open a new thread if got further question.


    p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.


    Thanks.

    Regards,

    Aik Eu