Forum Discussion
Altera_Forum
Honored Contributor
21 years agoRead from UART
Good morning! I´m a NIOSII starter and trying to get first results. My question: Why can´t i read anything from the UART? I can write to it, but i don´t receive anything or i receive and don´t ...
Altera_Forum
Honored Contributor
21 years agoHi guys,
Make sure that the baud rate of the PC serial port and the port on the fpga is the same. the same goes for the stop bits, parity and data bits We experienced data corruption at the standard speed (115200) over here, when using the serial cable that was supplied with our stratix II kit. So we lowered the speed to a save 9600 I successfully use here: Baud: 9600 Databits: 8 Stopbit: 1: Parity: None Flowcontrol: none The speed of the port on the board can be set in the SOPC builder by doublicking on the UART item. You can choose to make it reconfigurable at runtime, but I haven't used that yet. Good luck! Jos