Howdy all, Recently I've been working on a Silicon Labs C8051F132 and am trying to implement a simple averaging filter using it. Unfortunately the time the cpu takes making the necessary calculations seems excessive, and enabling the on-chip arithmetic gains me no performance improvement. I was wondering if perhaps something else had to be initialized for the MAC to work. I am using the Keil Compiler, uVision 3, and checking the box under the device settings, and see it add MDU_F120 to the Compiler control string. Unfortunately during the chip's operation from debug mode I can't witness the MAC doing anything. Thank you for any insight you can give me. As I am new to this line of micro, the compiler, and all this stuff in general heh, please let me know if you need some more information. Thanks!
That should read .8 us on the multiply of WORD * WORD. Darn decimals ;P That snippet of code above probably won't involve the MAC, seeing as how its primarily an ADD operation. However the rest of the function has several WORD * WORD operations I think the MAC would help a ton on. Just don't know why the compiler won't utilize it seeing as how there is a check box under the debugger options to enable its use. I'll see what the support from Keil can tell me and post back later tomorrow depending on how it goes.