[EDIT: Old title "ATmega128RFA1 won't wake from deep-sleep using SymbolCounter."]
Ok, I'm totally confused.
I'm using ATmega128RFA1 as a microcontroller, sending it to deep-sleep and waking it with symbol counter interrupt (using an external 32.768kHz crystal/oscilator).
I have ~ 20 microcontrollers with the same code and all but two wake up after the configured time, now the question is why are there two that won't wake up?
I'm using the same components, two layout for PCBs (one microcontroller on each won't work), and can't see a difference between them.
I'm measuring the voltage on the crystal, and it's the same on all the microcontrollers (an oscillating signal of 32kHz, ~0.36V mean value)
EDIT: measured again and on the not-waking microcontroller I have no oscillating signal, I have just noise with mean value of ~0.36.
The crystal, 12.5pF, 35kOhm ESR, the capacitor are some 12pF ones.
So, ¿ideas?
I'll atach a picture with the layout of the microcontroller and crystal soon.