I cannot get our target board to wakeup from the RTC alarm. The code is working on the MB393B demoboard. So I think it's hardware related. But I cannot determine where the problem could be. I've verified the 32KHz clock and it is running...
On our board a 1µF ceramic capacitor is connected between V18BKP (pin 55) and VSSBKP. VSSBKP is connected to GND. And there is not an external power source is connected to the V18BKP pin.
I thought maybe the 32KHz crystal didnt function during standby mode, so I made a program where the RTC_CounterValue() is send to the PC trough the UART. And the result is that the RTC _is_ running during standby. So I cannot understand why the alarm function wont work.