Hello,
I'm trying to optimize for power consumption using ZStack on an otherwise perfectly working custom CC2538 board.
The device has right now an average of 300uA@3V consumption and ~120uA in PM2
While trying to optimize an off-mode for a few more uA savings i noticed different readings on the currents drawn:
Whenever the light in my office was turned on, the consumption was a few uA higher. Testing each component on the board by shielding it from the light I notized this raisecomes from the ollowing LEDs:
The pin's configuration registers are 0 and their direction is set to input. So that they should be input pins without pull-up or -down and no sampling. So basically the pins should be floating on the CC2538 side.
When I have this board running in pitch-black dark in PM2, I have a power consumption of ~18uA (Measured with an HP34401A @ 3.0V Supply). In the office with blinds down and light on, this raises to 120-125uA
With a LED Flashlight pointed to the LEDs, this raises further to 350uA.
I understand that the LEDs are subject to the photoeffect and generates a voltage (measured directly at the LED, i was able to read ~+1.5V facing the CC2538), which might cause a current through the series resistors and the IO Pin. On the other hand, there is a RTC running with an IRQ line connected to PB2, which is constantly at 3.3V (VCC) and does not seem to generate any current/loss.
Is there a way to prevent the current through the IO Pin to fight this loss?
What could cause this effect?
Thanks in advance.
With kind regards,
Tim Seidel

