I am experimenting with NPI/SPI on my CC2640R2 launchpad boards. I have an STM32 chip sending data over SPI (using the NPI framework) to the BLE board. Once the BLE board gets the data, I use power_shutdown(0,0) to put the BLE chip to sleep. Once it is asleep I wanted to test sending another SPI packet even though the chip is sleeping (obviously it should ignore the incoming data because the chip is shutdown). But I notice as soon as the STM32 lowers the MRDY pin, the CC2640R2 wakes up from shutdown.
I have setup the wakeup pin as a different GPIO than the MRDY, and the wakeup pin does work too. But somehow the MRDY line is also acting as a wakeup. Is this something to do with NPI setting its own wakeup pins or something? How do I keep the chip asleep until I want to wake it up later?