Altera_Forum
Honored Contributor
8 years agoFPGA to NIOS connection : counter value from FPGA print in NIOS
Hello,
I have a counter which updates at clock edge of 50Mhz frequency, which I send to Nios via PIO and print the value. But the print output is not expected, it is random, where as it suppose to be 1,2,3,....256 but it appears to be any number between 1 to 256 i.e. not in sequence. Is there a problem in sync? Secondly, I want to send this counter value on RS232, but it can be sent bit wise bit, does that implies I need to stop transmitting when RS232 is busy? But the counter is incrementing in every 50 Mhz so how to handle it? Please let me know how to proceed? Thank you