Part Number:MSP432E411Y
尊敬的工程师:
您好,Sleep\ Deep Sleep mode时外设是否工作的设置在哪里,比如M4F的CPU sleep后,我还想保持QEI这个模块继续工作,是不是不受影响,谢谢!
祝您好心情。
Susan Yang:
您可以看一下TRM的 1.8 Power Management
https://www.ti.com.cn/cn/lit/ug/slau723a/slau723a.pdf
The Cortex-M4F processor sleep modes reduce power consumption:
• Sleep mode stops the processor clock.
• Deep-sleep mode stops the system clock and switches off the PLL and flash memory.
以及 4.1.6 System Control Four levels of operation are defined for the microcontroller:
• Sleep mode (see Section 4.1.6.2)
• Deep-sleep mode (see Section 4.1.6.3)
Peripherals are clocked if enabled in the peripheral-specific SCGC registers when automatic clock gating is enabled or in the peripheral-specific RCGC registers when automatic clock gating is disabled
如 4.2.121 SCGCQEI Register (Offset = 0x744) [reset = 0x0]
QEI Module 0 Sleep Mode Clock Gating Control
0x0 = QEI module 0 is disabled in sleep mode.
0x1 = Enable and provide a clock to QEI module 0 in sleep mode.
您可以查找下对应外设的SCGC寄存器
,
yongtao ma59:
谢谢Yang工的解答,非常感谢!
,
Susan Yang:
很高兴能帮到您