找回密码
 立即注册

QQ登录

只需一步,快速开始

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

[M2L31] Waking up MCU Only When LPADC Data Exceeded

[复制链接]
跳转到指定楼层
楼主
admin 发表于 2024-8-8 11:20:51 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

  • Application: LPADC in the M2L31 series microcontroller (MCU) can work itself, regularly sampling and comparing with threshold, and waking up MCU only when the data exceeds the threshold.
  • BSP Version: M2L31_Series_BSP_CMSIS_V3.01.000
  • Hardware: NuMaker-M2L31KI V2.1
Some peripherals in the M2L31 series microcontroller (MCU) can still work in sleep mode, such as LPTimer, LPADC, LPUART and so on. In this example code, LPADC is triggered by LPTimer periodically. If the result of LPADC exceeds the threshold, the MCU will be woken up to deal with the subsequent matters. If the conversion result does not exceed the threshold, the MCU remains in sleep mode.

This code can be used to monitor sensor at the lowest power consumption.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 3006394762
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU