Question
Reset bus power
Posted on February 15, 2013 at 20:48
I use my STM32F0 to communicate with an SPI slave device, which is powered by the 3V bus on the STM32F0.
My problem is that when I reset the STM32F0, the bus power is not interrupted, which leaves the SPI device in an unrecoverable state. I need to drop power to the device momentarily in order to re-initialize it.Is there a way to forcibly disable the 3V power of the STM32F0 momentarily? If not, can you suggest an alternative solution? I tried powering the device from an I/O pin but it behaved erratically- it looked like the I/O pin was only outputting 500 mV.