Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Avalon master and IRQ's

Hi,

I’m trying to create a bridge between a TI TMS320F2812 DSP data bus and the Avalon bus. The idea is to use Avalon peripherals and connect them to an TI DSP.

I created a Avalon master interface and this allows me to read and write to the peripherals on the Avalon bus. The problem I have is that I can use only one interrupt. When I add for example a second UART I can not set the IRQ number. SOPC builder only allows choosing "0" but this one is already used.

Any tips?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    I had a similar situation. Workaround was to utilize such a UART where you can use it's interrupt line as an output to the SOPC design, thus combining more than one INT. In the Top Level of your design - you could build some small logic which would cascade these INT lines (whatever No. of INT you have) into one common int line after a simple logic AND (and whatever logic level you need) - out to your DSP.

    For reading the statuse (the INT source):

    These lines can be routed back to you SOPC Design as inputs to a PIO module (mapped as a register), so you can later read it's content's by the Master, anytime.

    Hope that helps..

    Haim