- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, my question is the following: I have implmented a Nios processor with an UART interface by using the SOPC. Is it possible to use this uart to write and read the rx/tx data in a vhdl code outside the processor?
What I would like to do is to let the uart handle bauds, etc and somehow access the received data in vhdl, where my prog. has to read it and to put it back in the register of the code generated for the NIos Mp, so that the data can be available for the mp to work with it. When the micrpprocessor sends something through the uart i have first to get this data in vhdl, process it and then send it. If anyone can help me or have any ideas I will appreciate it.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I might have misunderstood your question, so correct me if I'm wrong.
You want to use the SOPC system to send data via UART to a VHDL logic block, which would process the data and send it back over the UART to the SOPC system? UART is not the best way to do this, but if you are using it to prototype something that has to communicate with a separate UART device, your method will work. You just have to implement the UART protocol in your VHDL, or instantiate an existing one and interface to it via an Avalon/Wishbone interface.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page