Other Parts Discussed in Thread: HALCOGEN
Tool/software: TI C/C++ Compiler
There is file sys_core.h from TI's library (some layer, may be HalCoGen generated?), and it declares this method : _gotoCPUIdle_
From dissassembly, I see that method basically calls __wfi, followed by 4 nop's. Basically this:
_gotoCPUIdle_ WFI nop nop nop nop bx lr .endasmfunc
I'm a bit puzzled, why nop's are needed here, and why 4? ( Was trying to relate this to pipline length/stages, but doens't match on this MCU).