Forum Discussion
Altera_Forum
Honored Contributor
10 years agoCyclone V HPS can’t read RS232 data
I can send RS232 data via HPS UART1 but unable to read data. The scope shows RS232 data on RX pin but test code can’t read any data from /dev/ttyS1 and nothing when I ‘cat /dev/ttyS1’ I can th...
Altera_Forum
Honored Contributor
10 years agoI have done something very similar, using UART0. It's routed to FPGA pins, and that's correct - I think the LoanIO is if you want to use HPS pins for an FPGA peripheral. One thing I notice from your pin connections is you've not applied anything to the rts, cts etc signals. I don't know if they matter, but default values I've used are: '1' for cts, dsr and dcd, and '0' for ri. The other signals are outputs so can be ignored. This works fine for me.