Hi,
How many clock cycles does it take to shift from active mode to LPM0 when the CPU is operating at 8MHz?
Best Regards,
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
How many clock cycles does it take to shift from active mode to LPM0 when the CPU is operating at 8MHz?
Best Regards,
Hi,
To shift from active mode to LPM0, C code "__bis_SR_register(LPM0_bits)" is needed. assembly code is "bis.w #0x10, SR".
The number of CPU clock cycles required for an instruction depends on the instruction format and the addressing modes used– not the instruction itself.
according to CPUx of UG. "bis.w #0x10, SR" is ~5 machine cycles. it is ~0.625 uS.
Thanks!
**Attention** This is a public forum