I have an application working using PPI to start a SPI master transaction from a GPIOTE event. Unfortunately, I currently have very high current consumption which I am led to believe is because the SPI peripheral is always enabled. Can the SPI peripheral turned on/off using PPI?
I'd like to do the following: On GPIOTE event:
- turn SPI peripheral on 2.Take Chip select low
- start SPI transaction
On SPI stop event:
- Take Chip Select High 2.Turn off SPI peripheral
I realise I can do this completely in software, but PPI seems like a very elegant and fast solution, so would like to use this if possible.