Forum Discussion
Altera_Forum
Honored Contributor
15 years agousing altera_up_avalon_rs232.h to set up rs232 communication
Hello. I've found this header file and I have been trying to use it to communicate back and forth between a PC and my development board, Altera DE1. To use functions that read and write charact...
Altera_Forum
Honored Contributor
15 years agoI don't know about those rs232 specific functions, but the driver should be integrated in the general HAL and you should be able to use standard input/output functions to read and write to the serial port instead of those functions.
Have a look at this document (http://www.altera.com/literature/hb/nios2/n2sw_nii52004.pdf) to learn about the HAL, and especially the section about character mode devices, pages 6-8 and over.