- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How would I code a RS232 communications between NIOS and a computer?
I would like to have a preable of the character '%' and end the message with '\r\n' How can i go about this?Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
E.g. using printf() ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes. the printf is pretty striaghtfoward, I just cant figure out how to use the scanf to recieve communications?
Should I do this polling round-robin, or interrupt based receive? Do i check the register to see if there is a message? Is there a software buffer for scanf?
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