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.

McASP on C6747 using interrupts

Hi,

I'd like to set McASP using interrupt service when data is received in RBUF0. I've checked http://tiexpressdsp.com/index.php/Setting_up_interrupts_in_DSP_BIOS and set 61 as interrupt selection number (McASP0, 1 and 2). The problem is isr_mcasp is executed only 1 time as McASP runs continuously.

Any suggest?

Gaston

  • Are you writing to the EVTCLR1 register (bit 29) EC61 in your interrupt service routine? See  the DSP Megamodule reference guide SPRUFK5.pdf.

     

  • Yes,after isr I executed

    IntcRegs->EVTCLR[1] = 0x20000000u;

    but only enters one time...I'm wondering if my PSC configuration is ok. I paste this for clarification purposes

        // power on the Mcasp 1 instance in the PSC
        Psc_ModuleClkCtrl(Psc_DevId_1, CSL_PSC_MCASP1, TRUE);

        // call the function to configure the evm specific options
        // Enable write access to PINMUX and CFG registers in KICK0R and KICK1R
        sysRegs->KICK0R = KICK0_ENABLE_KEY;
        sysRegs->KICK1R = KICK1_ENABLE_KEY;

        // write to the pinmux registers to enable the mcasp1
        sysRegs->PINMUX8 = 0x01100000u;  // Mcasp1
        sysRegs->PINMUX11 = 0x11100000u;  // Mcasp1
        sysRegs->PINMUX12 = 0x11111111u;  // Mcasp1
        sysRegs->PINMUX13 = 0x00111111u;  // Mcasp1

    regards,

    Gaston