找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[M2L31] Receiving Variable-Length Data and Keeping the Clock Enabled in Power...

[复制链接]
跳转到指定楼层
楼主
admin 发表于 12 小时前 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
  • Application: This example code implements receiving data of variable length through LPUART and keeping the clock enabled in Power-down mode, and then wakes up the MCU for data processing. This realizes the operating characteristics of M2L31 low power LPUART.
  • BSP Version: M2L31_Series_BSP_CMSIS_V3.00.000
    • Hardware: NuMaker-M2L31SG V2.1

      This example code demonstrates how to use the M2L31 LPUART and LPPDMA to receive variable-length data in Power-down mode and then wake up the MCU. It also shows how to change the baud rate to 115200 and keep the LPUART clock enabled in Power-down mode. After the MCU processes the received data, it enters Power-down mode again, and the cycle repeats. This approach reduces overall system power consumption.

      You can refer to the code in  main.c
      The above main.c is based on the example code provided in the Nuvoton official forum
      (https://forum.nuvoton.com/en/mcu-nudeveloper-ecosystem/bsp-example-code/11279) and has been modified accordingly.

      The following is the current test result.
      1. This is the average power consumption in low-power mode while maintaining a baud rate of 115200 and keeping the clock enabled.


                       2. This period represents the duration during which LPUART receives data in low-power mode.




分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶顶 踩踩
牛卧堂
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

新唐MCU