Forum Discussion
Altera_Forum
Honored Contributor
20 years agoand another uart problem.
hello guys, i'm having a problem with my FIFOED UART, The only thing im trying to do i send a big file over the uart and show on the Nios 2 Console that the data actually is being received...
Altera_Forum
Honored Contributor
19 years agoafter a long day of trying and trying and trying.. it still doesn't work.
i tried to implement a while loop based on the extra registers created by the FIFOED UART: FIFOED_AVALON_UART_RX_FIFO_USED also tried to use the RRDY bit. But I am not entirely sure which flags to use. in its current state( most working code the one posted here ) i get strange behaviour. I made an spreadsheet where the number of bytes is layed out against the fifo index. http://img88.imageshack.us/img88/3426/strangebehaviourbc7.th.png (http://img88.imageshack.us/my.php?image=strangebehaviourbc7.png) As you can see there isn't any logic to be seen in the results @ cfavreau: I've written in another topic that you were able to get 2mb/s with this uart. Maybe you can give a piece of your code? maybe the piece with the while loop in it? Also I am trying to use the signaltap to figure some things out. But again I am not quite sure which signals to use. maybe someone can point them out? thanks for all the efforts of you guys. as a student i really appreciate it