本文说明S32G3 M7核Standby MCAL demo 详细情况及定制,并在进入Standby之前调用QSPI 接口将QSPI NOR flash配置进入deep power down模式,以节省用电。
目录
1 参考资料说明... 2
2 G2和G3 Demo的区别... 2
3 G3 MCAL Demo的实现... 4
3.1 修改UART驱动... 4
3.2 实现时钟关闭代码... 4
3.3 配置电源模式切换驱动... 5
3.4 配置唤醒源... 5
3.5 加入PMIC驱动... 6
3.6 主函数逻辑实现... 7
3.7 运行测试... 7
3.8 未来开发计划... 8
4 将QSPI NOR设置进入Deep Power Down模式... 8
4.1 Fls层的修改... 10
4.2 中间层的修改... 10
4.3 QSPI_IP层的修改... 13
4.4 主测试函数调用... 16
4.5 Fls驱动的测试... 17
5 将Deep Power Down功能集成到STANDBY工程中并测试 18
5.1 EB配置... 18
5.2 主测试函数与编译修改... 20
5.3 运行测试... 21