We are using the Concerto F28M36 family of parts. We are using SYS BIOS as well as TI-RTOS. In the C28x core, we have a small inlined assembly routine that performs an RMS calculation that we need to protect from getting interupted. It's only about 10-12 CPU cycles. We cannot afford to use Task_disable() / restore() functions as they take too much time to execute (about 1uS).
Is it permissible to surround the function with the following:
asm(" SETC INTM ");
other asm() statements to perform sum of squares
asm(" CLRC INTM ");
what are the possible ramifications if we do this?