FAQ休眠唤醒流程中,pad keeping无法正常工作

如题目表述,按照顺序,在休眠前对休眠期间的引脚保持状态进行设置,以串口为例,唤醒后串口TX脚出现一个低脉冲,同时串口输出0x00,可见pad keeping未能够正常工作
更新时间:2022.03.07 浏览量:0

       Configure SIUL2's MSCRn register to control the pad state prior to Standby mode entry (for example, writing 0 to SIUL2's MSCRn[OBE], MSCRn[IBE], and MSCR[PUE] fields tristates the corresponding I/O).

       Configure SIUL2's MSCRn[PKE] field as needed for an I/O pad keeping state during Standby mode.

       Write 0 to DCM's DCMRWF1[STANDBY_IO_CONFIG]. The application core executes WFI, and Standby mode sequence starts.

       Write 1 to DCM's DCMRWF1[STANDBY_IO_CONFIG] field on Standby mode exit to disable pad keeping. This configures SIUL2 according to its previous settings.

        除了上述流程对引脚进行设置,并进入休眠外,还需要在引脚设置中,打开引脚保持使能,也即使能pins->pad keep enable.

  • 上一篇:WakeUp例程中,启动文件为什么有两个SRAM初始化函数
  • 下一篇:ASB模式下,Secure Boot启动后,如何查看SMR验证失败?