Are you still having trouble with this? Were you able to enter Deep Power Down Mode, and wake up via the WAKEUP pin?
Try this:
(Make sure WDLOCKDP bit is zero, or simply set WD MOD register to 0)
LPC_PMU->PCON |= 0x02; // set 2nd bit
SCB->SCR |= 0x04; // set 3rd bit
LPC_SYSCON->PDRUNCFG &= ~(0x03); // clear 1st and 2nd bit
__WFI(); // execute ARM wait for interrupt
This works on my LPC1227, and the board appears to enter DPD mode.
However, the problem I'm having is that my board still draws ~24mA. So something tells me that this isn't working as intended. Although, I see activity when I pull WAKEUP low. So I'm stumped.
Were you able to figure yours out? Does my code work for you?
Anyone else want to chime in on this?