I am constantly searching on connect two Pmods into one port. I have tried on "IOXP method" and "Daisy Chain Method", but I failed to achieve these two. After that, I found this post to tell me how to connect my two Pmods into one port.
The link is here:
I followed the post instruction carefully. And I successfully create the Vivado Block Design, as well as generate the bistream. I wrote my C code based on the demo code of Pmod AQS and Pmod ALS.
Here is the block diagram and the xdc file
After exporting to Vitis, I can successfully build my code. But the Vitis Serial Terminal said "Init Started" only, I think the new code failed to initialize two Pmods. I will place my code below.
I also tried to place two different Pmod into two different ports, it works smoothly as the real data can be seen in the Vitis serial terminal.
I wish anyone can help to troubleshoot my code and correct me if one of my step is wrongly done. Thanks in advance.
Question
helloworld1029
Hi to everyone here.
I am constantly searching on connect two Pmods into one port. I have tried on "IOXP method" and "Daisy Chain Method", but I failed to achieve these two. After that, I found this post to tell me how to connect my two Pmods into one port.
The link is here:
I followed the post instruction carefully. And I successfully create the Vivado Block Design, as well as generate the bistream. I wrote my C code based on the demo code of Pmod AQS and Pmod ALS.
Here is the block diagram and the xdc file
After exporting to Vitis, I can successfully build my code. But the Vitis Serial Terminal said "Init Started" only, I think the new code failed to initialize two Pmods. I will place my code below.
I also tried to place two different Pmod into two different ports, it works smoothly as the real data can be seen in the Vitis serial terminal.
I wish anyone can help to troubleshoot my code and correct me if one of my step is wrongly done. Thanks in advance.
Combine Test Code.txt
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now