Hi, I followed the "demo" example in Starterware to program the 1ms DMTIMER as follows -
/* Initialize the ARM Interrupt Controller */
IntAINTCInit();
IntMasterIRQEnable();
IntSystemEnable(SYS_INT_TINT1_1MS);
// IntPrioritySet(SYS_INT_TINT1_1MS, 0, AINTC_HOSTINT_ROUTE_IRQ);
IntRegister(SYS_INT_TINT1_1MS,clearTimerInt);
initializeTimer1();
However, I dont see the interrupt generate. The execution is stuck in enableModule() call in clock.c
/* Wait till the module is fully functional */
while(((moduleClk->idleStatusMask) & (~moduleClk->idleStatusMask))!=
(HWREG(moduleClk->clockCtrlReg) & (moduleClk->idleStatusMask)));
}
I am using beaglebone.
Could somebody give some hints ?
Is there a document (apart from the TRM ) that indicates the clock domains to be enabled for 1ms Timer ?
Kind Regards,
Sreekumar