Forum Discussion
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.