Forum Discussion
Altera_Forum
Honored Contributor
15 years agohow to create a user interface using nios ii , rs232 of DE2 board
hello , i'm working on a student project using the nios ii processor and i need to build a user interface in a PC . i have the DE2 board. i'm a beginner with the nios ii and i really don't know to in...
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- all that i know that i can use the RS232 module in SOPC but how to use it and program it in assembly --- Quote End --- Why assembly? Almost everyone uses C. Nios dev tools provide the driver for the rs232 module with the basic functions to send/receive data. Browse the forum and Altera website: you'll find a lot of code samples. On the PC side the simplest solution is using Hyperterminal or a similar program to send commands and receive answers with a ASCII protocol. If you need something more complex, like file transfer, you must write a specific client program which manages serial port data according to your needs.