Hi,
I seem to be having some problems when I try to use DMA Timer 2 without interrupts. I simply configure DMA Timer 2 to count at a 1MHz rate as follows:
DTMR2 = (UINT16)0x3B03; // Config DMA Timer 2 used to count 1us
DTCN2 = 0; // Reset DMA Timer 2 count
When I include this code in my MCF52233 project, I end up with a default interrupt handler after a very short period of time. If I comment this code out, my code runs fine. I have tried DMA Timer 1, but got the same result. I tried deciphering how I got into the default interrupt handler using "undefined interrupt during startup" post, but was unable to decipher the problem. I also made sure this interrupt source was masked, but this didn't seem to help either.
Any suggestions would be greatly appreciated. I am working on a project which adds on to the uTaskerV1.3 application and have service pack 8 installed.
Thanks,
Rick