Forum Discussion
Altera_Forum
Honored Contributor
12 years agonios UART RS232 Interrupt Mode settings
Hi, I'm using in nios the RS232 UART made from the sopc. I understand(maybe I'm wrong) that it has two modes: Polling and Interrupt. In the Interrupt mode a driver should run automatically ...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Are you sure about the abilty to recieve only one character even at Interrupt mode? --- Quote End --- yes, of course. But if you talk about FIFOed UART, it can receive only one character in interrupt mode, you can set a threshold. --- Quote Start --- it [FIFOed UART ?] has a 64 character buffer. what if then, the buffer is for? --- Quote End --- I don't understand (translation problems ?) First, if you employ The FIFOed UART (or an other component in QSYS), you have to regenerate the Qsys_component, of course. The FIFOed UART will create special memories to store the received character, you will set the connections and size somewhere in QSYS (or SOPC). All are explained in the supplied document (maybe some adaptation have to be done). If you write your own buffer : it is just a portion of memory that you index like FIFO (or what you want).