- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am developing a project with two processors and I'm just trying to send data from pc to master cpu through uart and then from master send that data to slave cpu and then back to pc though the uart. Do I need two different systems within quartus, should I be using subsystems, or would one system be functional with two cpu's and onchip-memory? Basically one processor should read and the other write. How can I do this without a mutex core. I've tried multiple methods without success. Any help is appreciated.Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think can useing dual-port RAM and one system be functional with two cpu's and onchip-memory.one processor read and the another write,building address map and through interrput inform another CPUs.I now used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the reply. Can you elaborate more on the dual-port RAM please. Also, with one system and having two cpu's along with two uarts and onchip memory all within the same qsys, shouldn't I be able to send data through the uart to cpu1 and then have cpu1 send that data to cpu2 and back to pc with the uart? That loop works with one cpu but when I add both I don't get anything back on pc. Within eclipse I can see that the letters are being transmitted when I'm sending using tera term but don't see anything back. And I believe the firmware within quartus is correct with my board. I'm using the uart registers to wait for character and then transmit.
Any help is appreciated.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved with using one system that contains two processors each with its own memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you are right!! Congratulation!
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page