Hi,
I'm currently porting FreeRTOS to the BeagleBone Black (AM3358), however i'm not able to get DMTIMER1 to fire interrupts to run the schedular.
Setup:
In the CM_DPLL_REG, set the CLKSEL_TIMER1MS=0x4 to use the 32Khz source
In the CM_WKUP_REG, set CM_WKUP_TIMER1_CLKCTRL =0x2 to enable module
Unmask interrupt 67 for DMTIMER1, bit 0x8 int INTC_MIR_CLEAR2
Register my interrupt handler at IRQ reg 0x4030CE38
Reset interface: TIOCP_CFG = 0x2;
initialize counter: TCRR = 0;
Set compare match: TMAR = var;
Clear pending int: TISR = 0x1;
Enable matching interrupt: TIER = 0x1;
TCLR = 0x43; Start timer, auto reload, enable comapre
TTGR = 0xFF; Force reload
-------------
Completly stuck on why the handler is not firing, any suggestions would be most appriciated.
Henrik