STM32F750 uClinux的低功耗模式测试

2020-01-04 19:01发布

Linux是有低功耗模式的(Low Power Mode),emcraft的STM32F7也实现了这个功能,它支持suspend to RAM模式。也就是电脑上常说的挂起到内存。
在STM32F750开发板上可以通过命令行使系统挂起,使用SW3 button唤醒系统(wake up)。
1. 系统正常启动,测量5V输入端电流,大约210mA
wake up pin.png (702.38 KB, 下载次数: 0) 下载附件 2019-4-2 20:49 上传

  1. dwc2 50000000.usb: suspending usb gadget g_serial
  2. dwc2 50000000.usb: s3c_hsotg_ep_disable: called for ep0
  3. dwc2 50000000.usb: s3c_hsotg_ep_disable: called for ep0
  4. PM: suspend of devices complete after 5.553 msecs
  5. PM: late suspend of devices complete after 4.632 msecs
  6. PM: noirq suspend of devices complete after 2.482 msecs
  7. PM: noirq resume of devices complete after 1.748 msecs
  8. PM: early resume of devices complete after 2.316 msecs
  9. dwc2 50000000.usb: resuming usb gadget g_serial
  10. PM: resume of devices complete after 111.242 msecs
  11. Restarting tasks ... done.
  12. / #
复制代码此时系统电流重新回到210mA左右。
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
11条回答
hyf88
1楼-- · 2020-01-05 17:07
gui应该linux+qt方便吧,要是普通应用,跑个rtt、freertos等也很好,我自己很想知道uclinux现在的应用chang j
hyf88
2楼-- · 2020-01-05 20:11
应用场景,不好意思,写错字了
htjgdw
3楼-- · 2020-01-05 20:39
hyf88 发表于 2019-6-28 23:25
楼主,我想知道这只是个人随便玩玩,还是有其他的价值意义?

随着uClinux并入Linux主线以后,linux的特性、功能,uClinux差不多都有了。
低功耗模式也是Linux系统的基本功能,我看到了emcraft在uClinux系统上实现了,拿过来试验。
huy666
4楼-- · 2020-01-05 22:06
 精彩回答 2  元偷偷看……
htjgdw
5楼-- · 2020-01-05 22:11
huy666 发表于 2019-7-1 22:43
uClinux和标准的有什么区别?guo支持哪些?

建议上网搜。我说的和理解的不一定全面。

一周热门 更多>