In PowerDown0 mode do I need to reinit SPI (and other digital) periphery after wakeup?
SYSCON->PMU_CTRL0 |= SYSCON_PMU_CTRL0_RETENTION_EN_MASK;
doesn't seem to retain SPI configuration, although the SPI configuration is in registers and this bit should retain registers.
Datasheet says: In power-down mode 0, the processor state and registers, and SRAM values can be maintained.
But it doesn't happen for SPI.