This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3359: Routing McASP0 interrupts to PRU INTC

Part Number: AM3359

Hi there,

I'm working on real-time audio system based on the BeagleBone via PRUSS.

I'm trying to receive the McASP transmit and receive start of frame interrupts via PRU register r31 bit 30 and bit 31 respectively.

What I did:

  • Enabled McASP interrupts in RINTCTL and XINTCTL
  • Mapped PRU system events 54 (mcasp_r_intr_pend) and 55 (mcasp_x_intr_pend) to interrupt channel 0 and 1 via PRU INTC register CMR13
  • Enabled host interrupt outputs 0 and 1 in PRU INTC register HIEISR
  • Enabled system events 54 and 55 in PRU INTC register ESR1
  • Enabled host interrupts 0 and 1 in PRU INTC register HIER
  • Globally enabled PRU interrupts in PRU INTC register GER

The interrupt channels are mapped to hosts with the same channels (e.g. channel 0 is mapped to host 0).

Unfortunately, no system events of the McASP arrive at the PRU.

Do I need to configure the ARM interrupts controller as well or is there a direct connection between the McASP and the PRU?

Could you give me a step-by-step guide to correctly set up those interrupts?

Thanks!