---rtc--deepsleep= 9.8 ma---sleep=19.6 ma
--lptmr-deepsleep=14.4 ma---sleep=24.3 ma
ma? Are you sure?
---rtc--deepsleep= 9.8 ma---sleep=19.6 ma
--lptmr-deepsleep=14.4 ma---sleep=24.3 ma
ma? Are you sure?
A cold start (via a reset I assumes) is perfect for me. Ill have a need later on to log data but only when the CAN bus is active and the T4 is running.just remade the msmnts - they are good. if you look in IMXRT1060CEC.PDF which is the technical datasheet
111 pages 1.9 megabyte on page 26 table 13 they list some of the idle mode currents and if you assume that
on the T4 you are looking at the sum of the 3 currents they list for different pins (its all gotta ultimately come
from the 5v pin) they vary by mode from a handful of ma down to 20ua. only the power down modes are in
the ua's and keep in mind that there are other parts on the board - datasheet numbers are for 106x only.
so i think that if you need to retain data or status and only do a warm startup after snooze deepsleep or sleep
you are looking at 10-20 ma and if you can stand a total cold start each time the power down current (rtc
running so it knows when to "wake") you still need 220 ua.
so i think that if you need to retain data or status and only do a warm startup after snooze deepsleep or sleep
you are looking at 10-20 ma
Wow, that's BAD!
It would render the T4 unusable for most of my projects.
I had hoped for at least T3.6-level sleep currents (hoped for even better power saving, since the chip is newer and maybe built on thinner litography).
#include <Snooze.h>
// Load Snooze drivers
SnoozeUSBSerial usb;
SnoozeDigital digital;
// install drivers to a SnoozeBlock
SnoozeBlock config(usb, digital);
void setup(){
while (!Serial && millis() < 5000);
Serial.begin(115200);
digital.pinMode(20, INPUT, RISING); //pin, mode, type
}
const long SleepTimer = 30000; // Time to go to sleep
unsigned long startTime = 0;
void loop(){
int who;
if (millis() > startTime + SleepTimer){
Serial.println("...Time to Sleep....");
//who = Snooze.sleep( config );
//who = Snooze.deepSleep( config );
//who = Snooze.hibernate( config );
}
}
it it is any help, when i was testing T4 snooze i started with example code Duff had put in the Snooze library
such as some thing like DeepSleep_all_wakeups - you might compare your code with that - i was using
ARD 1.8.5,TD1.52
as i remember, as the lib is right now there are restrictions on hibernate but sleep and deepsleep will wake
up from many sources