Other Parts Discussed in Thread: MSP430FG4618
Is it correct to use in c code _BIS_SR(LPM4_bits) instruction to set low-power mode on msp430fg4618 ? What is required for this mode too ?
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.
Other Parts Discussed in Thread: MSP430FG4618
Is it correct to use in c code _BIS_SR(LPM4_bits) instruction to set low-power mode on msp430fg4618 ? What is required for this mode too ?
You should also set GIE, either within this instruction or before. Or else no interrupt can be served and the MSP will be dormant forever.Ivan Ivanov5 said:Is it correct to use in c code _BIS_SR(LPM4_bits)
To really enter LPM4, no module may request ACLK or SMCLK or MCLK anymore. Either by deactivating all modules, or, in case of conditional request (only available on F5x and FR5x family) if conditional clock requests have been disabled n the power management module.Ivan Ivanov5 said:What is required for this mode too ?
if any hardware is still in need of ACLK or SMCLK, the clock, and its oscillation source, will remain active, independently of the LPM. Also, an active debugger connection will partially prevent deeper LPMs than LPM0.
**Attention** This is a public forum