I'm using the SPI in slave mode and have a very high power draw: > 2 mA. The issue happens both in my application + custom board as well as with the dev-kit + SPIS example code in the SDK. I'm using SDK 12.3.
When the SPIS peripheral is initialized and enabled power is as expected: about 17 uA on the dev-kit. When the Chip select goes low, power jumps to about 2.15 mA. I'm not clocking in data, eg SCK is idle. The CPU is still sleeping the entire time.
I am guessing the HCLK is being enabled to max speed: when I switch to DCDC mode power is reduced to 1.1mA. However, the datasheet states power consumption is 45 uA typical run current.
No pullup on CS. I am using the default IOs in the SPIS example and use P0.31 as a GPIO to toggle the CS. Other than that, I am using the SPIS example in it's default form.
Enabling or disabling constant latency mode does not help.
What could this be?
Thanks,
Dirk