标题: [M2L31] Receiving Variable-Length Data and Keeping the Clock Enabled in Power... [打印本页] 作者: admin 时间: 12 小时前 标题: [M2L31] Receiving Variable-Length Data and Keeping the Clock Enabled in Power...
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.
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.