I am trying to use PIO0_4 as output on a LPC824, but I am missing something. There are no problems with other pins.
There is a statement in the datasheet rev 1.3 on page 10 - note 3 in Table 3, pin description - "The wake-up pin function can be disabled and the pin can be used for other purposes, if the WKT low-power oscillator is enabled for waking up the part from Deep power-down mode."
ADC11 is switched off in PINENABLE
I have tried to put value 2 in DPDCTRL, but that doesn't make any difference.
Pin seems to be input with pullup.