Ameba Arduino: [RTL8722CSM] [RTL8722DM] [RTL8722DM MINI] Power Save Tickless Mode
- AmebaD [RTL8722DM / RTL8722CSM / RTL8722DM MINI] x 1
Open “File” -> “Examples” -> “AmebaPowerSave” -> “TicklessMode”
Set condition values as picture below.
“TL_WAKEUP_SOURCE” is used to set the wake-up source, user can chose 3 wake up sources now,
RTC timer (SET_TL_RTC_WAKEUP);
AON pins (SET_TL_AON_WAKEPIN_WAKEUP);
When apply the LOGUART wakeup, KM4 “TL_Suspend_function” then enter sleep mode. KM0 keep alive 13s then enter sleep mode.
RTC timer wake-up system by set alarm. The alarm has 4 values, day, hour, min and sec. All 4 values can be set by TL_RTC_ALARM_DAY, TL_RTC_ALARM_HOUR, TL_RTC_ALARM_MIN, and TL_RTC_ALARM_SEC
There are 4 pins can be set as AON pins and active high for wake-up, D16, D17, D26 and D27. The AON pin can be set by SET_TL_AON_WAKEPIN_WAKEUP
TL_SYSACTIVE_TIME is for setting time duration of the system to keep alive. (unit ms)