Hello there, I am hoping somebody has some incite on this and can help me out.
I am trying to power down sleep with the lowest power drain possible. I am at 65uA but should be able to go lower according to the spec (leds and regulator are already gone).
I have managed to disable everything on the PRR0 and PRR1 except PRTIM4 the spec indicates that it should be possible (the text says it’s writable the figure shows R not R/W which is weird).
#define PRTIM4 4 PRR1 |= (uint8_t) (1 << PRTIM4) // disable more things Serial.println(PRR1, BIN); // Reads back 1001 binary so PRTIM3 and PRUSART1 are down but not PRTIM4
The value of PRTIM4 is always 0. I have tried disabling everything in TCCR4* but didn’t help. Has anyone been able to do this or knows what I might be doing wrong?