I am using the Sitara processor on the Industrial Communications Engine v2 development board. I have the MicroSD card interface working, but I am encountering issues when other tasks are running concurrently. The starterware driver sits in a loop waiting for updates in the SD card state once a command is issued. I would like to convert this function to instead wake up in response to an interrupt, which I think should make the system more stable. It is my understanding that the interrupt MMCSDINT1 can be used to receive notification of events such as command completion, timeouts, and errors.
I am having trouble getting the processor to drive an interrupt on MMC/SD card events. I have tried all combinations of the following:
1. Registering interrupt #28 (MMCSD1INT) using the IntRegister and IntEnable methods.
2. Setting the registers in SD_IE and SD_ISE to interrupt for all message types.
3. Creating an interrupt for MMCSD1INT using the HWI_create method.
All of these attempts compile and run, but the processor is not executing the ISR. Even after reading a complete file from the card, the registered ISR is never executed. Are there any examples that show the MMC/SD interface interrupts being used with the Sitara processor? Are there any other registers that need to be initialized to enable this interrupt?