I am working with my new ARTY, and am completely new to Vivado. I am attempting to add multiple 4+ uarts to a project and send them out to external 422 converters. TX and RX on the uart ports will be controlled by my software via TCP packet commands sent from a desktop application. My intent is to start with a networking demo and then add the 4+ uarts to the Vivado design then modify the network demo code. I have built and run both a networking demo, and uart hello world demo. Folks on this form here aided me in getting my tx and rx routed to the header and away from the standard usb uart.
I am sort of lost when it comes to how to proceed with talking to the uarts via the SDK program. I see lots of "hello worlds" for serial stuff, but these circumvent the whole setup process for the code/project. They use a print() that is magically mapped by SDK to the singular uart. Xilinx generates a bunch of libs/code for me, but I am not sure how to go about using the included libraries to talk to the individual. I understand that there is a memory mapping on the AXI bus, but am not sure how to individually address each uart or setup interrupts upon rx.
My Questions:
This seems very complicated knowing little about Xilinx SDK, Is this easier than it seems? Is there a good tutorial on this that I am missing in my internet dredging?
Is starting with a networking demo and adding my uarts and code a good approach, or should I start a project form scratch?
Can someone who has done something similar give me a rough explanation of how to proceed?
Question
pdm
I am working with my new ARTY, and am completely new to Vivado. I am attempting to add multiple 4+ uarts to a project and send them out to external 422 converters. TX and RX on the uart ports will be controlled by my software via TCP packet commands sent from a desktop application. My intent is to start with a networking demo and then add the 4+ uarts to the Vivado design then modify the network demo code. I have built and run both a networking demo, and uart hello world demo. Folks on this form here aided me in getting my tx and rx routed to the header and away from the standard usb uart.
I am sort of lost when it comes to how to proceed with talking to the uarts via the SDK program. I see lots of "hello worlds" for serial stuff, but these circumvent the whole setup process for the code/project. They use a print() that is magically mapped by SDK to the singular uart. Xilinx generates a bunch of libs/code for me, but I am not sure how to go about using the included libraries to talk to the individual. I understand that there is a memory mapping on the AXI bus, but am not sure how to individually address each uart or setup interrupts upon rx.
My Questions:
This seems very complicated knowing little about Xilinx SDK, Is this easier than it seems? Is there a good tutorial on this that I am missing in my internet dredging?
Is starting with a networking demo and adding my uarts and code a good approach, or should I start a project form scratch?
Can someone who has done something similar give me a rough explanation of how to proceed?
Thanks in advance,
Paul
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.