Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHow to use the Uart driver with interrupts
Hi, I'm kind of confused, I'm more of an embedded guy, I rarely used drivers before except for the XMEGA and the drivers were much simpler, with better examples. I was wondering, how can I use ...
Altera_Forum
Honored Contributor
14 years agoTo make printf non-blocking needs a fifo somewhere - this could be software (using interrupts) or could be hardware. Both need the memory somewhere, and when the fifo is full will block.
With a small hardware fifo and a larger sw fifo you don't necessarily need interrupts - the embeded schedule loop could refill the hw fifo. Dunno what the altera library code you might be using actually tries to do though!