Forum Discussion
Altera_Forum
Honored Contributor
21 years ago60 Uart's ?
I want to realize 60 Uart's on NIOS2 cpu I can add 60 in SOPC builder only 32 IRQ can be assingd What happen whit these other UART that have no IRQ? Can someone tell that? And how can i f...
Altera_Forum
Honored Contributor
21 years agoHi,
You can connect 32 of these irq signals to a PIO. Let the PIO generate an interrupt. And in the interrupt routine, read the pio to look what UART triggered it. If you do 2 of them, you can process 64 interrupts with 2 pins. You can do a bit better by making a user peripheral with 60 inputs for the IRQ's and one output to interrupt the processor. Reading from the custom hardware can give you directly the number of the uart that you want to process first (if you do some priority encoding). Stefaan.